Sfoglia il codice sorgente

PDFForm(iOS) - 表单模块初始化

chenyu 1 anno fa
parent
commit
e22014ed6b
21 ha cambiato i file con 1028 aggiunte e 0 eliminazioni
  1. 12 0
      Edit-Ctrl-Demo/Edit-Ctrl-Demo.xcodeproj/project.pbxproj
  2. 0 0
      Edit-Ctrl-Demo/Edit-Ctrl-Demo/PDFSound/CPDFMediaManager.h
  3. 0 0
      Edit-Ctrl-Demo/Edit-Ctrl-Demo/PDFSound/CPDFMediaManager.m
  4. 470 0
      Form-Ctrl-Demo/Form-Ctrl-Demo.xcodeproj/project.pbxproj
  5. 7 0
      Form-Ctrl-Demo/Form-Ctrl-Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  6. 8 0
      Form-Ctrl-Demo/Form-Ctrl-Demo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
  7. 24 0
      Form-Ctrl-Demo/Form-Ctrl-Demo/AppDelegate.h
  8. 101 0
      Form-Ctrl-Demo/Form-Ctrl-Demo/AppDelegate.m
  9. 11 0
      Form-Ctrl-Demo/Form-Ctrl-Demo/Assets.xcassets/AccentColor.colorset/Contents.json
  10. 14 0
      Form-Ctrl-Demo/Form-Ctrl-Demo/Assets.xcassets/AppIcon.appiconset/Contents.json
  11. BIN
      Form-Ctrl-Demo/Form-Ctrl-Demo/Assets.xcassets/AppIcon.appiconset/icon-1024.png
  12. 6 0
      Form-Ctrl-Demo/Form-Ctrl-Demo/Assets.xcassets/Contents.json
  13. 25 0
      Form-Ctrl-Demo/Form-Ctrl-Demo/Assets.xcassets/syasarrow.imageset/Contents.json
  14. 83 0
      Form-Ctrl-Demo/Form-Ctrl-Demo/Assets.xcassets/syasarrow.imageset/syasarrow.pdf
  15. 83 0
      Form-Ctrl-Demo/Form-Ctrl-Demo/Assets.xcassets/syasarrow.imageset/syasarrowl.pdf
  16. 25 0
      Form-Ctrl-Demo/Form-Ctrl-Demo/Base.lproj/LaunchScreen.storyboard
  17. 33 0
      Form-Ctrl-Demo/Form-Ctrl-Demo/Base.lproj/Main.storyboard
  18. 25 0
      Form-Ctrl-Demo/Form-Ctrl-Demo/Info.plist
  19. 20 0
      Form-Ctrl-Demo/Form-Ctrl-Demo/SceneDelegate.h
  20. 63 0
      Form-Ctrl-Demo/Form-Ctrl-Demo/SceneDelegate.m
  21. 18 0
      Form-Ctrl-Demo/Form-Ctrl-Demo/main.m

+ 12 - 0
Edit-Ctrl-Demo/Edit-Ctrl-Demo.xcodeproj/project.pbxproj

@@ -43,6 +43,8 @@
 
 /* Begin PBXFileReference section */
 		4F06AB5829F67A5E007797E4 /* compdfkit_tools.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = compdfkit_tools.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+		4F1151962A1DAD2D00EC433D /* CPDFMediaManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CPDFMediaManager.h; sourceTree = "<group>"; };
+		4F1151972A1DAD2D00EC433D /* CPDFMediaManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CPDFMediaManager.m; sourceTree = "<group>"; };
 		4F17C06129F4FBFD00445550 /* Edit-Ctrl-Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Edit-Ctrl-Demo.app"; sourceTree = BUILT_PRODUCTS_DIR; };
 		4F17C06429F4FBFD00445550 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
 		4F17C06529F4FBFD00445550 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
@@ -80,6 +82,15 @@
 /* End PBXFrameworksBuildPhase section */
 
 /* Begin PBXGroup section */
+		4F1151982A1DAD2D00EC433D /* PDFSound */ = {
+			isa = PBXGroup;
+			children = (
+				4F1151962A1DAD2D00EC433D /* CPDFMediaManager.h */,
+				4F1151972A1DAD2D00EC433D /* CPDFMediaManager.m */,
+			);
+			path = PDFSound;
+			sourceTree = "<group>";
+		};
 		4F17C05829F4FBFD00445550 = {
 			isa = PBXGroup;
 			children = (
@@ -103,6 +114,7 @@
 				4F17C09D29F5079500445550 /* TestFile */,
 				4F17C08B29F4FEE800445550 /* Lib */,
 				4F17C08029F4FEE800445550 /* SDKLicense */,
+				4F1151982A1DAD2D00EC433D /* PDFSound */,
 				4F17C06429F4FBFD00445550 /* AppDelegate.h */,
 				4F17C06529F4FBFD00445550 /* AppDelegate.m */,
 				4F17C06729F4FBFD00445550 /* SceneDelegate.h */,

Annotation-Ctrl-Demo/Annotation-Ctrl-Demo/PDFSound/CPDFMediaManager.h → Edit-Ctrl-Demo/Edit-Ctrl-Demo/PDFSound/CPDFMediaManager.h


Annotation-Ctrl-Demo/Annotation-Ctrl-Demo/PDFSound/CPDFMediaManager.m → Edit-Ctrl-Demo/Edit-Ctrl-Demo/PDFSound/CPDFMediaManager.m


+ 470 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo.xcodeproj/project.pbxproj

@@ -0,0 +1,470 @@
+// !$*UTF8*$!
+{
+	archiveVersion = 1;
+	classes = {
+	};
+	objectVersion = 56;
+	objects = {
+
+/* Begin PBXBuildFile section */
+		4F1151582A1D989700EC433D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1151572A1D989700EC433D /* AppDelegate.m */; };
+		4F11515B2A1D989700EC433D /* SceneDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F11515A2A1D989700EC433D /* SceneDelegate.m */; };
+		4F1151612A1D989700EC433D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4F11515F2A1D989700EC433D /* Main.storyboard */; };
+		4F1151632A1D989800EC433D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4F1151622A1D989800EC433D /* Assets.xcassets */; };
+		4F1151662A1D989800EC433D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4F1151642A1D989800EC433D /* LaunchScreen.storyboard */; };
+		4F1151692A1D989800EC433D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1151682A1D989800EC433D /* main.m */; };
+		4F11517B2A1D99E700EC433D /* Form_Widgets_Test.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 4F1151702A1D99E700EC433D /* Form_Widgets_Test.pdf */; };
+		4F11517C2A1D99E700EC433D /* PDF32000_2008.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 4F1151712A1D99E700EC433D /* PDF32000_2008.pdf */; };
+		4F11517D2A1D99E700EC433D /* Quick Start Guide.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 4F1151722A1D99E700EC433D /* Quick Start Guide.pdf */; };
+		4F11517E2A1D99E700EC433D /* SDKLicense.xml in Resources */ = {isa = PBXBuildFile; fileRef = 4F1151762A1D99E700EC433D /* SDKLicense.xml */; };
+		4F11517F2A1D99E700EC433D /* XPDXMLElement.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1151772A1D99E700EC433D /* XPDXMLElement.m */; };
+		4F1151802A1D99E700EC433D /* XMLParseManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1151782A1D99E700EC433D /* XMLParseManager.m */; };
+		4F1151842A1D9A7600EC433D /* CPDFViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1151822A1D9A7600EC433D /* CPDFViewController.m */; };
+		4F1151852A1D9B2800EC433D /* ComPDFKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F11517A2A1D99E700EC433D /* ComPDFKit.xcframework */; };
+		4F1151862A1D9B2800EC433D /* ComPDFKit.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4F11517A2A1D99E700EC433D /* ComPDFKit.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
+		4F11518A2A1D9B3000EC433D /* compdfkit_tools.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1151892A1D9B3000EC433D /* compdfkit_tools.framework */; };
+		4F11518B2A1D9B3000EC433D /* compdfkit_tools.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4F1151892A1D9B3000EC433D /* compdfkit_tools.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
+		4F1151922A1DACF600EC433D /* CPDFMediaManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F1151902A1DACE300EC433D /* CPDFMediaManager.m */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+		4F1151872A1D9B2800EC433D /* Embed Frameworks */ = {
+			isa = PBXCopyFilesBuildPhase;
+			buildActionMask = 2147483647;
+			dstPath = "";
+			dstSubfolderSpec = 10;
+			files = (
+				4F11518B2A1D9B3000EC433D /* compdfkit_tools.framework in Embed Frameworks */,
+				4F1151862A1D9B2800EC433D /* ComPDFKit.xcframework in Embed Frameworks */,
+			);
+			name = "Embed Frameworks";
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+		4F1151532A1D989700EC433D /* Form-Ctrl-Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Form-Ctrl-Demo.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+		4F1151562A1D989700EC433D /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
+		4F1151572A1D989700EC433D /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
+		4F1151592A1D989700EC433D /* SceneDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SceneDelegate.h; sourceTree = "<group>"; };
+		4F11515A2A1D989700EC433D /* SceneDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SceneDelegate.m; sourceTree = "<group>"; };
+		4F1151602A1D989700EC433D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
+		4F1151622A1D989800EC433D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
+		4F1151652A1D989800EC433D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
+		4F1151672A1D989800EC433D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+		4F1151682A1D989800EC433D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+		4F1151702A1D99E700EC433D /* Form_Widgets_Test.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; path = Form_Widgets_Test.pdf; sourceTree = "<group>"; };
+		4F1151712A1D99E700EC433D /* PDF32000_2008.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; path = PDF32000_2008.pdf; sourceTree = "<group>"; };
+		4F1151722A1D99E700EC433D /* Quick Start Guide.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; path = "Quick Start Guide.pdf"; sourceTree = "<group>"; };
+		4F1151742A1D99E700EC433D /* XPDXMLElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XPDXMLElement.h; sourceTree = "<group>"; };
+		4F1151752A1D99E700EC433D /* XMLParseManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLParseManager.h; sourceTree = "<group>"; };
+		4F1151762A1D99E700EC433D /* SDKLicense.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = SDKLicense.xml; sourceTree = "<group>"; };
+		4F1151772A1D99E700EC433D /* XPDXMLElement.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XPDXMLElement.m; sourceTree = "<group>"; };
+		4F1151782A1D99E700EC433D /* XMLParseManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XMLParseManager.m; sourceTree = "<group>"; };
+		4F11517A2A1D99E700EC433D /* ComPDFKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = ComPDFKit.xcframework; sourceTree = "<group>"; };
+		4F1151822A1D9A7600EC433D /* CPDFViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CPDFViewController.m; path = "../../viewer-ctrl-demo/viewer-ctrl-demo/CPDFViewController.m"; sourceTree = "<group>"; };
+		4F1151832A1D9A7600EC433D /* CPDFViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CPDFViewController.h; path = "../../viewer-ctrl-demo/viewer-ctrl-demo/CPDFViewController.h"; sourceTree = "<group>"; };
+		4F1151892A1D9B3000EC433D /* compdfkit_tools.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = compdfkit_tools.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+		4F11518F2A1DACE300EC433D /* CPDFMediaManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CPDFMediaManager.h; sourceTree = "<group>"; };
+		4F1151902A1DACE300EC433D /* CPDFMediaManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CPDFMediaManager.m; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+		4F1151502A1D989700EC433D /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4F11518A2A1D9B3000EC433D /* compdfkit_tools.framework in Frameworks */,
+				4F1151852A1D9B2800EC433D /* ComPDFKit.xcframework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+		4F11514A2A1D989600EC433D = {
+			isa = PBXGroup;
+			children = (
+				4F1151552A1D989700EC433D /* Form-Ctrl-Demo */,
+				4F1151542A1D989700EC433D /* Products */,
+				4F1151882A1D9B3000EC433D /* Frameworks */,
+			);
+			sourceTree = "<group>";
+		};
+		4F1151542A1D989700EC433D /* Products */ = {
+			isa = PBXGroup;
+			children = (
+				4F1151532A1D989700EC433D /* Form-Ctrl-Demo.app */,
+			);
+			name = Products;
+			sourceTree = "<group>";
+		};
+		4F1151552A1D989700EC433D /* Form-Ctrl-Demo */ = {
+			isa = PBXGroup;
+			children = (
+				4F1151912A1DACE300EC433D /* PDFSound */,
+				4F1151792A1D99E700EC433D /* Lib */,
+				4F1151732A1D99E700EC433D /* SDKLicense */,
+				4F11516F2A1D99E700EC433D /* TestFile */,
+				4F1151562A1D989700EC433D /* AppDelegate.h */,
+				4F1151572A1D989700EC433D /* AppDelegate.m */,
+				4F1151592A1D989700EC433D /* SceneDelegate.h */,
+				4F11515A2A1D989700EC433D /* SceneDelegate.m */,
+				4F1151832A1D9A7600EC433D /* CPDFViewController.h */,
+				4F1151822A1D9A7600EC433D /* CPDFViewController.m */,
+				4F11515F2A1D989700EC433D /* Main.storyboard */,
+				4F1151622A1D989800EC433D /* Assets.xcassets */,
+				4F1151642A1D989800EC433D /* LaunchScreen.storyboard */,
+				4F1151672A1D989800EC433D /* Info.plist */,
+				4F1151682A1D989800EC433D /* main.m */,
+			);
+			path = "Form-Ctrl-Demo";
+			sourceTree = "<group>";
+		};
+		4F11516F2A1D99E700EC433D /* TestFile */ = {
+			isa = PBXGroup;
+			children = (
+				4F1151702A1D99E700EC433D /* Form_Widgets_Test.pdf */,
+				4F1151712A1D99E700EC433D /* PDF32000_2008.pdf */,
+				4F1151722A1D99E700EC433D /* Quick Start Guide.pdf */,
+			);
+			name = TestFile;
+			path = ../../TestFile;
+			sourceTree = "<group>";
+		};
+		4F1151732A1D99E700EC433D /* SDKLicense */ = {
+			isa = PBXGroup;
+			children = (
+				4F1151742A1D99E700EC433D /* XPDXMLElement.h */,
+				4F1151752A1D99E700EC433D /* XMLParseManager.h */,
+				4F1151762A1D99E700EC433D /* SDKLicense.xml */,
+				4F1151772A1D99E700EC433D /* XPDXMLElement.m */,
+				4F1151782A1D99E700EC433D /* XMLParseManager.m */,
+			);
+			name = SDKLicense;
+			path = ../../SDKLicense;
+			sourceTree = "<group>";
+		};
+		4F1151792A1D99E700EC433D /* Lib */ = {
+			isa = PBXGroup;
+			children = (
+				4F11517A2A1D99E700EC433D /* ComPDFKit.xcframework */,
+			);
+			name = Lib;
+			path = ../../Lib;
+			sourceTree = "<group>";
+		};
+		4F1151882A1D9B3000EC433D /* Frameworks */ = {
+			isa = PBXGroup;
+			children = (
+				4F1151892A1D9B3000EC433D /* compdfkit_tools.framework */,
+			);
+			name = Frameworks;
+			sourceTree = "<group>";
+		};
+		4F1151912A1DACE300EC433D /* PDFSound */ = {
+			isa = PBXGroup;
+			children = (
+				4F11518F2A1DACE300EC433D /* CPDFMediaManager.h */,
+				4F1151902A1DACE300EC433D /* CPDFMediaManager.m */,
+			);
+			name = PDFSound;
+			path = "../../Edit-Ctrl-Demo/Edit-Ctrl-Demo/PDFSound";
+			sourceTree = "<group>";
+		};
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+		4F1151522A1D989700EC433D /* Form-Ctrl-Demo */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 4F11516C2A1D989800EC433D /* Build configuration list for PBXNativeTarget "Form-Ctrl-Demo" */;
+			buildPhases = (
+				4F11514F2A1D989700EC433D /* Sources */,
+				4F1151502A1D989700EC433D /* Frameworks */,
+				4F1151512A1D989700EC433D /* Resources */,
+				4F1151872A1D9B2800EC433D /* Embed Frameworks */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = "Form-Ctrl-Demo";
+			productName = "Form-Ctrl-Demo";
+			productReference = 4F1151532A1D989700EC433D /* Form-Ctrl-Demo.app */;
+			productType = "com.apple.product-type.application";
+		};
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+		4F11514B2A1D989600EC433D /* Project object */ = {
+			isa = PBXProject;
+			attributes = {
+				BuildIndependentTargetsInParallel = 1;
+				LastUpgradeCheck = 1420;
+				TargetAttributes = {
+					4F1151522A1D989700EC433D = {
+						CreatedOnToolsVersion = 14.2;
+					};
+				};
+			};
+			buildConfigurationList = 4F11514E2A1D989700EC433D /* Build configuration list for PBXProject "Form-Ctrl-Demo" */;
+			compatibilityVersion = "Xcode 14.0";
+			developmentRegion = en;
+			hasScannedForEncodings = 0;
+			knownRegions = (
+				en,
+				Base,
+			);
+			mainGroup = 4F11514A2A1D989600EC433D;
+			productRefGroup = 4F1151542A1D989700EC433D /* Products */;
+			projectDirPath = "";
+			projectRoot = "";
+			targets = (
+				4F1151522A1D989700EC433D /* Form-Ctrl-Demo */,
+			);
+		};
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+		4F1151512A1D989700EC433D /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4F11517D2A1D99E700EC433D /* Quick Start Guide.pdf in Resources */,
+				4F1151662A1D989800EC433D /* LaunchScreen.storyboard in Resources */,
+				4F1151632A1D989800EC433D /* Assets.xcassets in Resources */,
+				4F11517E2A1D99E700EC433D /* SDKLicense.xml in Resources */,
+				4F11517C2A1D99E700EC433D /* PDF32000_2008.pdf in Resources */,
+				4F11517B2A1D99E700EC433D /* Form_Widgets_Test.pdf in Resources */,
+				4F1151612A1D989700EC433D /* Main.storyboard in Resources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+		4F11514F2A1D989700EC433D /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4F1151842A1D9A7600EC433D /* CPDFViewController.m in Sources */,
+				4F11517F2A1D99E700EC433D /* XPDXMLElement.m in Sources */,
+				4F1151582A1D989700EC433D /* AppDelegate.m in Sources */,
+				4F1151802A1D99E700EC433D /* XMLParseManager.m in Sources */,
+				4F1151692A1D989800EC433D /* main.m in Sources */,
+				4F1151922A1DACF600EC433D /* CPDFMediaManager.m in Sources */,
+				4F11515B2A1D989700EC433D /* SceneDelegate.m in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+		4F11515F2A1D989700EC433D /* Main.storyboard */ = {
+			isa = PBXVariantGroup;
+			children = (
+				4F1151602A1D989700EC433D /* Base */,
+			);
+			name = Main.storyboard;
+			sourceTree = "<group>";
+		};
+		4F1151642A1D989800EC433D /* LaunchScreen.storyboard */ = {
+			isa = PBXVariantGroup;
+			children = (
+				4F1151652A1D989800EC433D /* Base */,
+			);
+			name = LaunchScreen.storyboard;
+			sourceTree = "<group>";
+		};
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+		4F11516A2A1D989800EC433D /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_ANALYZER_NONNULL = YES;
+				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
+				CLANG_ENABLE_MODULES = YES;
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_ENABLE_OBJC_WEAK = YES;
+				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+				CLANG_WARN_BOOL_CONVERSION = YES;
+				CLANG_WARN_COMMA = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INFINITE_RECURSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+				CLANG_WARN_STRICT_PROTOTYPES = YES;
+				CLANG_WARN_SUSPICIOUS_MOVE = YES;
+				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+				CLANG_WARN_UNREACHABLE_CODE = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				COPY_PHASE_STRIP = NO;
+				DEBUG_INFORMATION_FORMAT = dwarf;
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				ENABLE_TESTABILITY = YES;
+				GCC_C_LANGUAGE_STANDARD = gnu11;
+				GCC_DYNAMIC_NO_PIC = NO;
+				GCC_NO_COMMON_BLOCKS = YES;
+				GCC_OPTIMIZATION_LEVEL = 0;
+				GCC_PREPROCESSOR_DEFINITIONS = (
+					"DEBUG=1",
+					"$(inherited)",
+				);
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+				GCC_WARN_UNUSED_FUNCTION = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 16.2;
+				MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
+				MTL_FAST_MATH = YES;
+				ONLY_ACTIVE_ARCH = YES;
+				SDKROOT = iphoneos;
+			};
+			name = Debug;
+		};
+		4F11516B2A1D989800EC433D /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_ANALYZER_NONNULL = YES;
+				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
+				CLANG_ENABLE_MODULES = YES;
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_ENABLE_OBJC_WEAK = YES;
+				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+				CLANG_WARN_BOOL_CONVERSION = YES;
+				CLANG_WARN_COMMA = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INFINITE_RECURSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
+				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+				CLANG_WARN_STRICT_PROTOTYPES = YES;
+				CLANG_WARN_SUSPICIOUS_MOVE = YES;
+				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+				CLANG_WARN_UNREACHABLE_CODE = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				COPY_PHASE_STRIP = NO;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				ENABLE_NS_ASSERTIONS = NO;
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				GCC_C_LANGUAGE_STANDARD = gnu11;
+				GCC_NO_COMMON_BLOCKS = YES;
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+				GCC_WARN_UNUSED_FUNCTION = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 16.2;
+				MTL_ENABLE_DEBUG_INFO = NO;
+				MTL_FAST_MATH = YES;
+				SDKROOT = iphoneos;
+				VALIDATE_PRODUCT = YES;
+			};
+			name = Release;
+		};
+		4F11516D2A1D989800EC433D /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
+				CODE_SIGN_STYLE = Automatic;
+				CURRENT_PROJECT_VERSION = 1;
+				DEVELOPMENT_TEAM = 4GGQPGRTSV;
+				GENERATE_INFOPLIST_FILE = YES;
+				INFOPLIST_FILE = "Form-Ctrl-Demo/Info.plist";
+				INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
+				INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
+				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
+				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
+				IPHONEOS_DEPLOYMENT_TARGET = 11.0;
+				LD_RUNPATH_SEARCH_PATHS = (
+					"$(inherited)",
+					"@executable_path/Frameworks",
+				);
+				MARKETING_VERSION = 1.0;
+				PRODUCT_BUNDLE_IDENTIFIER = com.compdfkit.demo.form;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SWIFT_EMIT_LOC_STRINGS = YES;
+				TARGETED_DEVICE_FAMILY = "1,2";
+			};
+			name = Debug;
+		};
+		4F11516E2A1D989800EC433D /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
+				CODE_SIGN_STYLE = Automatic;
+				CURRENT_PROJECT_VERSION = 1;
+				DEVELOPMENT_TEAM = 4GGQPGRTSV;
+				GENERATE_INFOPLIST_FILE = YES;
+				INFOPLIST_FILE = "Form-Ctrl-Demo/Info.plist";
+				INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
+				INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
+				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
+				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
+				IPHONEOS_DEPLOYMENT_TARGET = 11.0;
+				LD_RUNPATH_SEARCH_PATHS = (
+					"$(inherited)",
+					"@executable_path/Frameworks",
+				);
+				MARKETING_VERSION = 1.0;
+				PRODUCT_BUNDLE_IDENTIFIER = com.compdfkit.demo.form;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SWIFT_EMIT_LOC_STRINGS = YES;
+				TARGETED_DEVICE_FAMILY = "1,2";
+			};
+			name = Release;
+		};
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+		4F11514E2A1D989700EC433D /* Build configuration list for PBXProject "Form-Ctrl-Demo" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				4F11516A2A1D989800EC433D /* Debug */,
+				4F11516B2A1D989800EC433D /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		4F11516C2A1D989800EC433D /* Build configuration list for PBXNativeTarget "Form-Ctrl-Demo" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				4F11516D2A1D989800EC433D /* Debug */,
+				4F11516E2A1D989800EC433D /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+/* End XCConfigurationList section */
+	};
+	rootObject = 4F11514B2A1D989600EC433D /* Project object */;
+}

+ 7 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+   version = "1.0">
+   <FileRef
+      location = "self:">
+   </FileRef>
+</Workspace>

+ 8 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>IDEDidComputeMac32BitWarning</key>
+	<true/>
+</dict>
+</plist>

+ 24 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo/AppDelegate.h

@@ -0,0 +1,24 @@
+//
+//  AppDelegate.h
+//  Form-Ctrl-Demo
+//
+//  Copyright © 2014-2023 PDF Technologies, Inc. All Rights Reserved.
+//
+//  THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
+//  AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
+//  UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
+//  This notice may not be removed from this file.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface AppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (nonatomic, readonly) UIWindow *window;
+
++ (AppDelegate *)sharedAppDelegate;
+
+- (void)configWindow:(UIWindow *)window;
+
+@end
+

+ 101 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo/AppDelegate.m

@@ -0,0 +1,101 @@
+//
+//  AppDelegate.m
+//  Form-Ctrl-Demo
+//
+//  Copyright © 2014-2023 PDF Technologies, Inc. All Rights Reserved.
+//
+//  THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
+//  AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
+//  UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
+//  This notice may not be removed from this file.
+//
+
+#import "AppDelegate.h"
+
+#import <ComPDFKit/ComPDFKit.h>
+#import <compdfkit_tools/compdfkit_tools.h>
+
+#import "CPDFViewController.h"
+#import "XMLParseManager.h"
+
+static AppDelegate *appDelegate = NULL;
+
+@interface AppDelegate ()
+
+@property (nonatomic, strong) UIWindow *window;
+
+@property (nonatomic, strong) XMLParseManager *manager;
+
+@end
+
+@implementation AppDelegate
+
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
+    // Override point for customization after application launch.
+    NSString *path = [[NSBundle mainBundle]pathForResource:@"SDKLicense" ofType:@"xml"];
+    NSURL *url = [NSURL fileURLWithPath:path];
+    _manager = [[XMLParseManager alloc]init];
+    [_manager parseXMLWithURL:url completion:^(BOOL SUC, XPDXMLElement *data,NSError *error) {
+        if (SUC) {
+            NSDictionary * attribute = data.attribute;
+            NSString * key = attribute[@"key"];
+            NSString * secret = attribute[@"secret"];
+            [CPDFKit setLicenseKey:key secret:secret];
+            
+            if (@available(iOS 13.0, *)) {
+                
+            } else {
+                UIWindow *windows = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
+                [self configWindow:windows];
+
+            }
+            
+        }else{
+            NSLog(@"error = %@",error);
+        }
+    }];
+
+    return YES;
+}
+
+- (void)configWindow:(UIWindow *)window {
+    self.window = window;
+    self.window.backgroundColor = [UIColor whiteColor];
+    
+    NSString *filePath = [[NSBundle mainBundle] pathForResource:@"Quick Start Guide" ofType:@"pdf"];
+        
+    CPDFViewController *pdfViewController = [[CPDFViewController alloc] initWithFilePath:filePath];
+    CNavigationController *navController = [[CNavigationController alloc]initWithRootViewController:pdfViewController];
+
+    self.window.rootViewController = navController;
+    
+    [self.window makeKeyAndVisible];
+
+}
+
++ (AppDelegate *)sharedAppDelegate {
+    if (!appDelegate)
+        appDelegate = [[AppDelegate alloc] init];
+    
+    return appDelegate;
+}
+
+#pragma mark - UISceneSession lifecycle
+
+
+- (UISceneConfiguration *)application:(UIApplication *)application configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession options:(UISceneConnectionOptions *)options {
+    // Called when a new scene session is being created.
+    // Use this method to select a configuration to create the new scene with.
+    return [[UISceneConfiguration alloc] initWithName:@"Default Configuration" sessionRole:connectingSceneSession.role];
+}
+
+
+- (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet<UISceneSession *> *)sceneSessions {
+    // Called when the user discards a scene session.
+    // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
+    // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
+}
+
+
+@end

+ 11 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo/Assets.xcassets/AccentColor.colorset/Contents.json

@@ -0,0 +1,11 @@
+{
+  "colors" : [
+    {
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 14 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo/Assets.xcassets/AppIcon.appiconset/Contents.json

@@ -0,0 +1,14 @@
+{
+  "images" : [
+    {
+      "filename" : "icon-1024.png",
+      "idiom" : "universal",
+      "platform" : "ios",
+      "size" : "1024x1024"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
Form-Ctrl-Demo/Form-Ctrl-Demo/Assets.xcassets/AppIcon.appiconset/icon-1024.png


+ 6 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo/Assets.xcassets/Contents.json

@@ -0,0 +1,6 @@
+{
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 25 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo/Assets.xcassets/syasarrow.imageset/Contents.json

@@ -0,0 +1,25 @@
+{
+  "images" : [
+    {
+      "filename" : "syasarrow.pdf",
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "filename" : "syasarrowl.pdf",
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  },
+  "properties" : {
+    "template-rendering-intent" : "original"
+  }
+}

+ 83 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo/Assets.xcassets/syasarrow.imageset/syasarrow.pdf

@@ -0,0 +1,83 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+-0.707096 0.707117 0.707096 0.707117 6.693624 3.764573 cm
+0.262745 0.278431 0.301961 scn
+0.000000 4.575516 m
+-0.750000 4.575516 l
+-0.750000 3.825516 l
+0.000000 3.825516 l
+0.000000 4.575516 l
+h
+8.485153 5.325516 m
+0.000000 5.325516 l
+0.000000 3.825516 l
+8.485153 3.825516 l
+8.485153 5.325516 l
+h
+0.750000 4.575516 m
+0.750000 13.060669 l
+-0.750000 13.060669 l
+-0.750000 4.575516 l
+0.750000 4.575516 l
+h
+f
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  437
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 20.000000 20.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000000527 00000 n
+0000000549 00000 n
+0000000722 00000 n
+0000000796 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+855
+%%EOF

+ 83 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo/Assets.xcassets/syasarrow.imageset/syasarrowl.pdf

@@ -0,0 +1,83 @@
+%PDF-1.7
+
+1 0 obj
+  << >>
+endobj
+
+2 0 obj
+  << /Length 3 0 R >>
+stream
+/DeviceRGB CS
+/DeviceRGB cs
+q
+-0.707096 0.707117 0.707096 0.707117 6.693563 3.764573 cm
+1.000000 1.000000 1.000000 scn
+0.000000 4.575516 m
+-0.750000 4.575516 l
+-0.750000 3.825516 l
+0.000000 3.825516 l
+0.000000 4.575516 l
+h
+8.485153 5.325516 m
+0.000000 5.325516 l
+0.000000 3.825516 l
+8.485153 3.825516 l
+8.485153 5.325516 l
+h
+0.750000 4.575516 m
+0.750000 13.060669 l
+-0.750000 13.060669 l
+-0.750000 4.575516 l
+0.750000 4.575516 l
+h
+f
+n
+Q
+
+endstream
+endobj
+
+3 0 obj
+  437
+endobj
+
+4 0 obj
+  << /Annots []
+     /Type /Page
+     /MediaBox [ 0.000000 0.000000 20.000000 20.000000 ]
+     /Resources 1 0 R
+     /Contents 2 0 R
+     /Parent 5 0 R
+  >>
+endobj
+
+5 0 obj
+  << /Kids [ 4 0 R ]
+     /Count 1
+     /Type /Pages
+  >>
+endobj
+
+6 0 obj
+  << /Pages 5 0 R
+     /Type /Catalog
+  >>
+endobj
+
+xref
+0 7
+0000000000 65535 f
+0000000010 00000 n
+0000000034 00000 n
+0000000527 00000 n
+0000000549 00000 n
+0000000722 00000 n
+0000000796 00000 n
+trailer
+<< /ID [ (some) (id) ]
+   /Root 6 0 R
+   /Size 7
+>>
+startxref
+855
+%%EOF

+ 25 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo/Base.lproj/LaunchScreen.storyboard

@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
+    <dependencies>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
+        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+    </dependencies>
+    <scenes>
+        <!--View Controller-->
+        <scene sceneID="EHf-IW-A2E">
+            <objects>
+                <viewController id="01J-lp-oVM" sceneMemberID="viewController">
+                    <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
+                        <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
+                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                        <color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
+                        <viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
+                    </view>
+                </viewController>
+                <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
+            </objects>
+            <point key="canvasLocation" x="53" y="375"/>
+        </scene>
+    </scenes>
+</document>

+ 33 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo/Base.lproj/Main.storyboard

@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
+    <device id="retina6_12" orientation="portrait" appearance="light"/>
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
+        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
+        <capability name="System colors in document resources" minToolsVersion="11.0"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+    </dependencies>
+    <scenes>
+        <!--View Controller-->
+        <scene sceneID="tne-QT-ifu">
+            <objects>
+                <viewController id="BYZ-38-t0r" customClass="ViewController" sceneMemberID="viewController">
+                    <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
+                        <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
+                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                        <viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
+                        <color key="backgroundColor" systemColor="systemBackgroundColor"/>
+                    </view>
+                </viewController>
+                <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
+            </objects>
+            <point key="canvasLocation" x="29" y="-34"/>
+        </scene>
+    </scenes>
+    <resources>
+        <systemColor name="systemBackgroundColor">
+            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+        </systemColor>
+    </resources>
+</document>

+ 25 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo/Info.plist

@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>UIApplicationSceneManifest</key>
+	<dict>
+		<key>UIApplicationSupportsMultipleScenes</key>
+		<false/>
+		<key>UISceneConfigurations</key>
+		<dict>
+			<key>UIWindowSceneSessionRoleApplication</key>
+			<array>
+				<dict>
+					<key>UISceneConfigurationName</key>
+					<string>Default Configuration</string>
+					<key>UISceneDelegateClassName</key>
+					<string>SceneDelegate</string>
+					<key>UISceneStoryboardFile</key>
+					<string>Main</string>
+				</dict>
+			</array>
+		</dict>
+	</dict>
+</dict>
+</plist>

+ 20 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo/SceneDelegate.h

@@ -0,0 +1,20 @@
+//
+//  SceneDelegate.h
+//  Form-Ctrl-Demo
+//
+//  Copyright © 2014-2023 PDF Technologies, Inc. All Rights Reserved.
+//
+//  THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
+//  AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
+//  UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
+//  This notice may not be removed from this file.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface SceneDelegate : UIResponder <UIWindowSceneDelegate>
+
+@property (strong, nonatomic) UIWindow * window;
+
+@end
+

+ 63 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo/SceneDelegate.m

@@ -0,0 +1,63 @@
+//
+//  SceneDelegate.m
+//  Form-Ctrl-Demo
+//
+//  Copyright © 2014-2023 PDF Technologies, Inc. All Rights Reserved.
+//
+//  THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
+//  AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
+//  UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
+//  This notice may not be removed from this file.
+//
+
+#import "SceneDelegate.h"
+#import "AppDelegate.h"
+
+@interface SceneDelegate ()
+
+@end
+
+@implementation SceneDelegate
+
+
+- (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)connectionOptions API_AVAILABLE(ios(13.0)){
+    UIWindow * window = [[UIWindow alloc] initWithWindowScene:scene];
+    
+    [[AppDelegate sharedAppDelegate] configWindow:window];
+}
+
+
+- (void)sceneDidDisconnect:(UIScene *)scene {
+    // Called as the scene is being released by the system.
+    // This occurs shortly after the scene enters the background, or when its session is discarded.
+    // Release any resources associated with this scene that can be re-created the next time the scene connects.
+    // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead).
+}
+
+
+- (void)sceneDidBecomeActive:(UIScene *)scene {
+    // Called when the scene has moved from an inactive state to an active state.
+    // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive.
+}
+
+
+- (void)sceneWillResignActive:(UIScene *)scene {
+    // Called when the scene will move from an active state to an inactive state.
+    // This may occur due to temporary interruptions (ex. an incoming phone call).
+}
+
+
+- (void)sceneWillEnterForeground:(UIScene *)scene {
+    // Called as the scene transitions from the background to the foreground.
+    // Use this method to undo the changes made on entering the background.
+}
+
+
+- (void)sceneDidEnterBackground:(UIScene *)scene {
+    // Called as the scene transitions from the foreground to the background.
+    // Use this method to save data, release shared resources, and store enough scene-specific state information
+    // to restore the scene back to its current state.
+}
+
+
+@end

+ 18 - 0
Form-Ctrl-Demo/Form-Ctrl-Demo/main.m

@@ -0,0 +1,18 @@
+//
+//  main.m
+//  Form-Ctrl-Demo
+//
+//  Created by chenyu on 2023/5/24.
+//
+
+#import <UIKit/UIKit.h>
+#import "AppDelegate.h"
+
+int main(int argc, char * argv[]) {
+    NSString * appDelegateClassName;
+    @autoreleasepool {
+        // Setup code that might create autoreleased objects goes here.
+        appDelegateClassName = NSStringFromClass([AppDelegate class]);
+    }
+    return UIApplicationMain(argc, argv, nil, appDelegateClassName);
+}