Forráskód Böngészése

ComPDFKit(flutter) - ios插件修改为swift版本

liuxiaolong 1 éve
szülő
commit
ef499bc6e7
52 módosított fájl, 0 hozzáadás és 2298 törlés
  1. 0 34
      example/ios/.gitignore
  2. 0 26
      example/ios/Flutter/AppFrameworkInfo.plist
  3. 0 2
      example/ios/Flutter/Debug.xcconfig
  4. 0 2
      example/ios/Flutter/Release.xcconfig
  5. 0 45
      example/ios/Podfile
  6. 0 40
      example/ios/Podfile.lock
  7. 0 706
      example/ios/Runner.xcodeproj/project.pbxproj
  8. 0 7
      example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  9. 0 8
      example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
  10. 0 8
      example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
  11. 0 98
      example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
  12. 0 10
      example/ios/Runner.xcworkspace/contents.xcworkspacedata
  13. 0 8
      example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
  14. 0 6
      example/ios/Runner/AppDelegate.h
  15. 0 22
      example/ios/Runner/AppDelegate.m
  16. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon1024x1024.png
  17. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon20x20.png
  18. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon20x20@2x 1.png
  19. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon20x20@2x.png
  20. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon20x20@3x.png
  21. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon29x29.png
  22. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon29x29@2x 1.png
  23. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon29x29@2x.png
  24. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon29x29@3x.png
  25. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon40x40.png
  26. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon40x40@2x 1.png
  27. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon40x40@2x.png
  28. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon40x40@3x.png
  29. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon60x60@2x.png
  30. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon60x60@3x.png
  31. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon76x76.png
  32. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon76x76@2x.png
  33. BIN
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon83.5x83.5@2x.png
  34. 0 116
      example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
  35. 0 6
      example/ios/Runner/Assets.xcassets/Contents.json
  36. 0 23
      example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
  37. BIN
      example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
  38. BIN
      example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
  39. BIN
      example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
  40. 0 5
      example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
  41. 0 37
      example/ios/Runner/Base.lproj/LaunchScreen.storyboard
  42. 0 26
      example/ios/Runner/Base.lproj/Main.storyboard
  43. 0 51
      example/ios/Runner/Info.plist
  44. 0 9
      example/ios/Runner/main.m
  45. 0 33
      example/ios/RunnerTests/RunnerTests.m
  46. 0 38
      ios/.gitignore
  47. 0 0
      ios/Assets/.gitkeep
  48. 0 21
      ios/Classes/CPDFViewController.h
  49. 0 808
      ios/Classes/CPDFViewController.m
  50. 0 4
      ios/Classes/CompdfkitFlutterPlugin.h
  51. 0 74
      ios/Classes/CompdfkitFlutterPlugin.m
  52. 0 25
      ios/compdfkit_flutter.podspec

+ 0 - 34
example/ios/.gitignore

@@ -1,34 +0,0 @@
-**/dgph
-*.mode1v3
-*.mode2v3
-*.moved-aside
-*.pbxuser
-*.perspectivev3
-**/*sync/
-.sconsign.dblite
-.tags*
-**/.vagrant/
-**/DerivedData/
-Icon?
-**/Pods/
-**/.symlinks/
-profile
-xcuserdata
-**/.generated/
-Flutter/App.framework
-Flutter/Flutter.framework
-Flutter/Flutter.podspec
-Flutter/Generated.xcconfig
-Flutter/ephemeral/
-Flutter/app.flx
-Flutter/app.zip
-Flutter/flutter_assets/
-Flutter/flutter_export_environment.sh
-ServiceDefinitions.json
-Runner/GeneratedPluginRegistrant.*
-
-# Exceptions to above rules.
-!default.mode1v3
-!default.mode2v3
-!default.pbxuser
-!default.perspectivev3

+ 0 - 26
example/ios/Flutter/AppFrameworkInfo.plist

@@ -1,26 +0,0 @@
-<?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>CFBundleDevelopmentRegion</key>
-  <string>en</string>
-  <key>CFBundleExecutable</key>
-  <string>App</string>
-  <key>CFBundleIdentifier</key>
-  <string>io.flutter.flutter.app</string>
-  <key>CFBundleInfoDictionaryVersion</key>
-  <string>6.0</string>
-  <key>CFBundleName</key>
-  <string>App</string>
-  <key>CFBundlePackageType</key>
-  <string>FMWK</string>
-  <key>CFBundleShortVersionString</key>
-  <string>1.0</string>
-  <key>CFBundleSignature</key>
-  <string>????</string>
-  <key>CFBundleVersion</key>
-  <string>1.0</string>
-  <key>MinimumOSVersion</key>
-  <string>11.0</string>
-</dict>
-</plist>

+ 0 - 2
example/ios/Flutter/Debug.xcconfig

@@ -1,2 +0,0 @@
-#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
-#include "Generated.xcconfig"

+ 0 - 2
example/ios/Flutter/Release.xcconfig

@@ -1,2 +0,0 @@
-#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
-#include "Generated.xcconfig"

+ 0 - 45
example/ios/Podfile

@@ -1,45 +0,0 @@
-# Uncomment this line to define a global platform for your project
-platform :ios, '11.0'
-
-# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
-ENV['COCOAPODS_DISABLE_STATS'] = 'true'
-
-project 'Runner', {
-  'Debug' => :debug,
-  'Profile' => :release,
-  'Release' => :release,
-}
-
-def flutter_root
-  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
-  unless File.exist?(generated_xcode_build_settings_path)
-    raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
-  end
-
-  File.foreach(generated_xcode_build_settings_path) do |line|
-    matches = line.match(/FLUTTER_ROOT\=(.*)/)
-    return matches[1].strip if matches
-  end
-  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
-end
-
-require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
-
-flutter_ios_podfile_setup
-
-target 'Runner' do
-  use_modular_headers!
-  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
-  pod 'ComPDFKit_Tools', podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit_tools/1.9.0.podspec'
-  pod 'ComPDFKit', podspec:'https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit/1.9.0.podspec'
-
-  target 'RunnerTests' do
-    inherit! :search_paths
-  end
-end
-
-post_install do |installer|
-  installer.pods_project.targets.each do |target|
-    flutter_additional_ios_build_settings(target)
-  end
-end

+ 0 - 40
example/ios/Podfile.lock

@@ -1,40 +0,0 @@
-PODS:
-  - ComPDFKit (1.9.0)
-  - compdfkit_flutter (1.0.0):
-    - ComPDFKit
-    - ComPDFKit_Tools
-    - Flutter
-  - ComPDFKit_Tools (1.9.0)
-  - Flutter (1.0.0)
-  - integration_test (0.0.1):
-    - Flutter
-
-DEPENDENCIES:
-  - ComPDFKit (from `https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit/1.9.0.podspec`)
-  - compdfkit_flutter (from `.symlinks/plugins/compdfkit_flutter/ios`)
-  - ComPDFKit_Tools (from `https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit_tools/1.9.0.podspec`)
-  - Flutter (from `Flutter`)
-  - integration_test (from `.symlinks/plugins/integration_test/ios`)
-
-EXTERNAL SOURCES:
-  ComPDFKit:
-    :podspec: https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit/1.9.0.podspec
-  compdfkit_flutter:
-    :path: ".symlinks/plugins/compdfkit_flutter/ios"
-  ComPDFKit_Tools:
-    :podspec: https://www.compdf.com/download/ios/cocoapods/xcframeworks/compdfkit_tools/1.9.0.podspec
-  Flutter:
-    :path: Flutter
-  integration_test:
-    :path: ".symlinks/plugins/integration_test/ios"
-
-SPEC CHECKSUMS:
-  ComPDFKit: c3b4f3dd5a996a3c73583d7a0fd2fa2a6eb065d8
-  compdfkit_flutter: f0658982317c93b525faec8b2eb867c77795ff39
-  ComPDFKit_Tools: 5a0e314145bd7f26286497e884e2c657acb16fcd
-  Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
-  integration_test: 13825b8a9334a850581300559b8839134b124670
-
-PODFILE CHECKSUM: e95f5f2b1feed08b894cc8d3eb65b723ea4a3b01
-
-COCOAPODS: 1.11.3

+ 0 - 706
example/ios/Runner.xcodeproj/project.pbxproj

@@ -1,706 +0,0 @@
-// !$*UTF8*$!
-{
-	archiveVersion = 1;
-	classes = {
-	};
-	objectVersion = 54;
-	objects = {
-
-/* Begin PBXBuildFile section */
-		1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
-		331C80F4294D02FB00263BE5 /* RunnerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 331C80F3294D02FB00263BE5 /* RunnerTests.m */; };
-		39ACF3E8BDFB69B9DC6D0418 /* libPods-RunnerTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BD70583CC423FE53C522AB4B /* libPods-RunnerTests.a */; };
-		3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
-		978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; };
-		97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; };
-		97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
-		97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
-		97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
-		B7723309450AF7EF0977FF66 /* libPods-Runner.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FF6F95A09A114B49C73592DE /* libPods-Runner.a */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
-		331C80F5294D02FB00263BE5 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = 97C146E61CF9000F007C117D /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 97C146ED1CF9000F007C117D;
-			remoteInfo = Runner;
-		};
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
-		1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
-		1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
-		2F4D3F9F744EDFFF5CBB3DD1 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
-		3109B9D063B26A3C00483BD8 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
-		331C80F1294D02FB00263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
-		331C80F3294D02FB00263BE5 /* RunnerTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RunnerTests.m; sourceTree = "<group>"; };
-		3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
-		5475CE6F6361F208A8ED5374 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
-		7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
-		7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
-		7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
-		92267114E579C9D7363D5208 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
-		9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
-		9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
-		97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
-		97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
-		97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
-		97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
-		97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
-		97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		BD70583CC423FE53C522AB4B /* libPods-RunnerTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RunnerTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
-		C5DF19B0C6B78F87D0F6650A /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
-		DD24D00DEA1F277B11C7AE0D /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
-		FF6F95A09A114B49C73592DE /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
-		331C80EE294D02FB00263BE5 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				39ACF3E8BDFB69B9DC6D0418 /* libPods-RunnerTests.a in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		97C146EB1CF9000F007C117D /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				B7723309450AF7EF0977FF66 /* libPods-Runner.a in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
-		331C80F2294D02FB00263BE5 /* RunnerTests */ = {
-			isa = PBXGroup;
-			children = (
-				331C80F3294D02FB00263BE5 /* RunnerTests.m */,
-			);
-			path = RunnerTests;
-			sourceTree = "<group>";
-		};
-		638F44698ADE83F43545F983 /* Pods */ = {
-			isa = PBXGroup;
-			children = (
-				3109B9D063B26A3C00483BD8 /* Pods-Runner.debug.xcconfig */,
-				5475CE6F6361F208A8ED5374 /* Pods-Runner.release.xcconfig */,
-				2F4D3F9F744EDFFF5CBB3DD1 /* Pods-Runner.profile.xcconfig */,
-				C5DF19B0C6B78F87D0F6650A /* Pods-RunnerTests.debug.xcconfig */,
-				92267114E579C9D7363D5208 /* Pods-RunnerTests.release.xcconfig */,
-				DD24D00DEA1F277B11C7AE0D /* Pods-RunnerTests.profile.xcconfig */,
-			);
-			path = Pods;
-			sourceTree = "<group>";
-		};
-		9740EEB11CF90186004384FC /* Flutter */ = {
-			isa = PBXGroup;
-			children = (
-				3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
-				9740EEB21CF90195004384FC /* Debug.xcconfig */,
-				7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
-				9740EEB31CF90195004384FC /* Generated.xcconfig */,
-			);
-			name = Flutter;
-			sourceTree = "<group>";
-		};
-		97C146E51CF9000F007C117D = {
-			isa = PBXGroup;
-			children = (
-				9740EEB11CF90186004384FC /* Flutter */,
-				97C146F01CF9000F007C117D /* Runner */,
-				331C80F2294D02FB00263BE5 /* RunnerTests */,
-				97C146EF1CF9000F007C117D /* Products */,
-				638F44698ADE83F43545F983 /* Pods */,
-				F4153698990E6525704E215E /* Frameworks */,
-			);
-			sourceTree = "<group>";
-		};
-		97C146EF1CF9000F007C117D /* Products */ = {
-			isa = PBXGroup;
-			children = (
-				97C146EE1CF9000F007C117D /* Runner.app */,
-				331C80F1294D02FB00263BE5 /* RunnerTests.xctest */,
-			);
-			name = Products;
-			sourceTree = "<group>";
-		};
-		97C146F01CF9000F007C117D /* Runner */ = {
-			isa = PBXGroup;
-			children = (
-				7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */,
-				7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */,
-				97C146FA1CF9000F007C117D /* Main.storyboard */,
-				97C146FD1CF9000F007C117D /* Assets.xcassets */,
-				97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
-				97C147021CF9000F007C117D /* Info.plist */,
-				97C146F11CF9000F007C117D /* Supporting Files */,
-				1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
-				1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
-			);
-			path = Runner;
-			sourceTree = "<group>";
-		};
-		97C146F11CF9000F007C117D /* Supporting Files */ = {
-			isa = PBXGroup;
-			children = (
-				97C146F21CF9000F007C117D /* main.m */,
-			);
-			name = "Supporting Files";
-			sourceTree = "<group>";
-		};
-		F4153698990E6525704E215E /* Frameworks */ = {
-			isa = PBXGroup;
-			children = (
-				FF6F95A09A114B49C73592DE /* libPods-Runner.a */,
-				BD70583CC423FE53C522AB4B /* libPods-RunnerTests.a */,
-			);
-			name = Frameworks;
-			sourceTree = "<group>";
-		};
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
-		331C80F0294D02FB00263BE5 /* RunnerTests */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 331C80F7294D02FB00263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
-			buildPhases = (
-				0F6A4B36479457D48DF4508D /* [CP] Check Pods Manifest.lock */,
-				331C80ED294D02FB00263BE5 /* Sources */,
-				331C80EE294D02FB00263BE5 /* Frameworks */,
-				331C80EF294D02FB00263BE5 /* Resources */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				331C80F6294D02FB00263BE5 /* PBXTargetDependency */,
-			);
-			name = RunnerTests;
-			productName = RunnerTests;
-			productReference = 331C80F1294D02FB00263BE5 /* RunnerTests.xctest */;
-			productType = "com.apple.product-type.bundle.unit-test";
-		};
-		97C146ED1CF9000F007C117D /* Runner */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
-			buildPhases = (
-				CA173C363A042A90C8DC9FEF /* [CP] Check Pods Manifest.lock */,
-				9740EEB61CF901F6004384FC /* Run Script */,
-				97C146EA1CF9000F007C117D /* Sources */,
-				97C146EB1CF9000F007C117D /* Frameworks */,
-				97C146EC1CF9000F007C117D /* Resources */,
-				3B06AD1E1E4923F5004D2608 /* Thin Binary */,
-				C42D8B54855FE995C8B37AEB /* [CP] Embed Pods Frameworks */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-			);
-			name = Runner;
-			productName = Runner;
-			productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
-			productType = "com.apple.product-type.application";
-		};
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
-		97C146E61CF9000F007C117D /* Project object */ = {
-			isa = PBXProject;
-			attributes = {
-				LastUpgradeCheck = 1300;
-				ORGANIZATIONNAME = "";
-				TargetAttributes = {
-					331C80F0294D02FB00263BE5 = {
-						CreatedOnToolsVersion = 14.0;
-						TestTargetID = 97C146ED1CF9000F007C117D;
-					};
-					97C146ED1CF9000F007C117D = {
-						CreatedOnToolsVersion = 7.3.1;
-					};
-				};
-			};
-			buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
-			compatibilityVersion = "Xcode 9.3";
-			developmentRegion = en;
-			hasScannedForEncodings = 0;
-			knownRegions = (
-				en,
-				Base,
-			);
-			mainGroup = 97C146E51CF9000F007C117D;
-			productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
-			projectDirPath = "";
-			projectRoot = "";
-			targets = (
-				97C146ED1CF9000F007C117D /* Runner */,
-				331C80F0294D02FB00263BE5 /* RunnerTests */,
-			);
-		};
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
-		331C80EF294D02FB00263BE5 /* Resources */ = {
-			isa = PBXResourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		97C146EC1CF9000F007C117D /* Resources */ = {
-			isa = PBXResourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
-				3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
-				97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
-				97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
-		0F6A4B36479457D48DF4508D /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputFileListPaths = (
-			);
-			inputPaths = (
-				"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
-				"${PODS_ROOT}/Manifest.lock",
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputFileListPaths = (
-			);
-			outputPaths = (
-				"$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n    # print error to STDERR\n    echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n    exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
-			showEnvVarsInLog = 0;
-		};
-		3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
-			isa = PBXShellScriptBuildPhase;
-			alwaysOutOfDate = 1;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-				"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
-			);
-			name = "Thin Binary";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
-		};
-		9740EEB61CF901F6004384FC /* Run Script */ = {
-			isa = PBXShellScriptBuildPhase;
-			alwaysOutOfDate = 1;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "Run Script";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
-		};
-		C42D8B54855FE995C8B37AEB /* [CP] Embed Pods Frameworks */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputFileListPaths = (
-				"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
-			);
-			name = "[CP] Embed Pods Frameworks";
-			outputFileListPaths = (
-				"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-		CA173C363A042A90C8DC9FEF /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputFileListPaths = (
-			);
-			inputPaths = (
-				"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
-				"${PODS_ROOT}/Manifest.lock",
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputFileListPaths = (
-			);
-			outputPaths = (
-				"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n    # print error to STDERR\n    echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n    exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
-			showEnvVarsInLog = 0;
-		};
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
-		331C80ED294D02FB00263BE5 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				331C80F4294D02FB00263BE5 /* RunnerTests.m in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		97C146EA1CF9000F007C117D /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */,
-				97C146F31CF9000F007C117D /* main.m in Sources */,
-				1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
-		331C80F6294D02FB00263BE5 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			target = 97C146ED1CF9000F007C117D /* Runner */;
-			targetProxy = 331C80F5294D02FB00263BE5 /* PBXContainerItemProxy */;
-		};
-/* End PBXTargetDependency section */
-
-/* Begin PBXVariantGroup section */
-		97C146FA1CF9000F007C117D /* Main.storyboard */ = {
-			isa = PBXVariantGroup;
-			children = (
-				97C146FB1CF9000F007C117D /* Base */,
-			);
-			name = Main.storyboard;
-			sourceTree = "<group>";
-		};
-		97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
-			isa = PBXVariantGroup;
-			children = (
-				97C147001CF9000F007C117D /* Base */,
-			);
-			name = LaunchScreen.storyboard;
-			sourceTree = "<group>";
-		};
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
-		249021D3217E4FDB00AE95B9 /* Profile */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_ANALYZER_NONNULL = YES;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = 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_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_RANGE_LOOP_ANALYSIS = YES;
-				CLANG_WARN_STRICT_PROTOTYPES = YES;
-				CLANG_WARN_SUSPICIOUS_MOVE = YES;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				ENABLE_NS_ASSERTIONS = NO;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				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 = 11.0;
-				MTL_ENABLE_DEBUG_INFO = NO;
-				PRODUCT_NAME = ComPDFKit_Flutter;
-				SDKROOT = iphoneos;
-				SUPPORTED_PLATFORMS = iphoneos;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-			};
-			name = Profile;
-		};
-		249021D4217E4FDB00AE95B9 /* Profile */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
-			buildSettings = {
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
-				DEVELOPMENT_TEAM = 59AC9PMNH2;
-				ENABLE_BITCODE = NO;
-				INFOPLIST_FILE = Runner/Info.plist;
-				INFOPLIST_KEY_CFBundleDisplayName = ComPDFKit_Flutter;
-				LD_RUNPATH_SEARCH_PATHS = (
-					"$(inherited)",
-					"@executable_path/Frameworks",
-				);
-				PRODUCT_BUNDLE_IDENTIFIER = com.compdfkit.flutter.example;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				VERSIONING_SYSTEM = "apple-generic";
-			};
-			name = Profile;
-		};
-		331C80F8294D02FB00263BE5 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = C5DF19B0C6B78F87D0F6650A /* Pods-RunnerTests.debug.xcconfig */;
-			buildSettings = {
-				BUNDLE_LOADER = "$(TEST_HOST)";
-				CURRENT_PROJECT_VERSION = 1;
-				GENERATE_INFOPLIST_FILE = YES;
-				MARKETING_VERSION = 1.0;
-				PRODUCT_BUNDLE_IDENTIFIER = com.compdfkit.flutter.compdfkitFlutterExample.RunnerTests;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
-			};
-			name = Debug;
-		};
-		331C80F9294D02FB00263BE5 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 92267114E579C9D7363D5208 /* Pods-RunnerTests.release.xcconfig */;
-			buildSettings = {
-				BUNDLE_LOADER = "$(TEST_HOST)";
-				CURRENT_PROJECT_VERSION = 1;
-				GENERATE_INFOPLIST_FILE = YES;
-				MARKETING_VERSION = 1.0;
-				PRODUCT_BUNDLE_IDENTIFIER = com.compdfkit.flutter.compdfkitFlutterExample.RunnerTests;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
-			};
-			name = Release;
-		};
-		331C80FA294D02FB00263BE5 /* Profile */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = DD24D00DEA1F277B11C7AE0D /* Pods-RunnerTests.profile.xcconfig */;
-			buildSettings = {
-				BUNDLE_LOADER = "$(TEST_HOST)";
-				CURRENT_PROJECT_VERSION = 1;
-				GENERATE_INFOPLIST_FILE = YES;
-				MARKETING_VERSION = 1.0;
-				PRODUCT_BUNDLE_IDENTIFIER = com.compdfkit.flutter.compdfkitFlutterExample.RunnerTests;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
-			};
-			name = Profile;
-		};
-		97C147031CF9000F007C117D /* Debug */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_ANALYZER_NONNULL = YES;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = 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_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_RANGE_LOOP_ANALYSIS = YES;
-				CLANG_WARN_STRICT_PROTOTYPES = YES;
-				CLANG_WARN_SUSPICIOUS_MOVE = YES;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = dwarf;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				ENABLE_TESTABILITY = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				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 = 11.0;
-				MTL_ENABLE_DEBUG_INFO = YES;
-				ONLY_ACTIVE_ARCH = YES;
-				PRODUCT_NAME = ComPDFKit_Flutter;
-				SDKROOT = iphoneos;
-				TARGETED_DEVICE_FAMILY = "1,2";
-			};
-			name = Debug;
-		};
-		97C147041CF9000F007C117D /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_ANALYZER_NONNULL = YES;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = 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_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_RANGE_LOOP_ANALYSIS = YES;
-				CLANG_WARN_STRICT_PROTOTYPES = YES;
-				CLANG_WARN_SUSPICIOUS_MOVE = YES;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				ENABLE_NS_ASSERTIONS = NO;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				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 = 11.0;
-				MTL_ENABLE_DEBUG_INFO = NO;
-				PRODUCT_NAME = ComPDFKit_Flutter;
-				SDKROOT = iphoneos;
-				SUPPORTED_PLATFORMS = iphoneos;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-			};
-			name = Release;
-		};
-		97C147061CF9000F007C117D /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
-			buildSettings = {
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
-				DEVELOPMENT_TEAM = 4GGQPGRTSV;
-				ENABLE_BITCODE = NO;
-				INFOPLIST_FILE = Runner/Info.plist;
-				INFOPLIST_KEY_CFBundleDisplayName = ComPDFKit_Flutter;
-				LD_RUNPATH_SEARCH_PATHS = (
-					"$(inherited)",
-					"@executable_path/Frameworks",
-				);
-				PRODUCT_BUNDLE_IDENTIFIER = com.compdfkit.flutter.example;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				VERSIONING_SYSTEM = "apple-generic";
-			};
-			name = Debug;
-		};
-		97C147071CF9000F007C117D /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
-			buildSettings = {
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
-				DEVELOPMENT_TEAM = 59AC9PMNH2;
-				ENABLE_BITCODE = NO;
-				INFOPLIST_FILE = Runner/Info.plist;
-				INFOPLIST_KEY_CFBundleDisplayName = ComPDFKit_Flutter;
-				LD_RUNPATH_SEARCH_PATHS = (
-					"$(inherited)",
-					"@executable_path/Frameworks",
-				);
-				PRODUCT_BUNDLE_IDENTIFIER = com.compdfkit.flutter.example;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				VERSIONING_SYSTEM = "apple-generic";
-			};
-			name = Release;
-		};
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
-		331C80F7294D02FB00263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				331C80F8294D02FB00263BE5 /* Debug */,
-				331C80F9294D02FB00263BE5 /* Release */,
-				331C80FA294D02FB00263BE5 /* Profile */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				97C147031CF9000F007C117D /* Debug */,
-				97C147041CF9000F007C117D /* Release */,
-				249021D3217E4FDB00AE95B9 /* Profile */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				97C147061CF9000F007C117D /* Debug */,
-				97C147071CF9000F007C117D /* Release */,
-				249021D4217E4FDB00AE95B9 /* Profile */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-/* End XCConfigurationList section */
-	};
-	rootObject = 97C146E61CF9000F007C117D /* Project object */;
-}

+ 0 - 7
example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata

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

+ 0 - 8
example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

@@ -1,8 +0,0 @@
-<?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>

+ 0 - 8
example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings

@@ -1,8 +0,0 @@
-<?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>PreviewsEnabled</key>
-	<false/>
-</dict>
-</plist>

+ 0 - 98
example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

@@ -1,98 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
-   LastUpgradeVersion = "1300"
-   version = "1.3">
-   <BuildAction
-      parallelizeBuildables = "YES"
-      buildImplicitDependencies = "YES">
-      <BuildActionEntries>
-         <BuildActionEntry
-            buildForTesting = "YES"
-            buildForRunning = "YES"
-            buildForProfiling = "YES"
-            buildForArchiving = "YES"
-            buildForAnalyzing = "YES">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "97C146ED1CF9000F007C117D"
-               BuildableName = "Runner.app"
-               BlueprintName = "Runner"
-               ReferencedContainer = "container:Runner.xcodeproj">
-            </BuildableReference>
-         </BuildActionEntry>
-      </BuildActionEntries>
-   </BuildAction>
-   <TestAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      shouldUseLaunchSchemeArgsEnv = "YES">
-      <MacroExpansion>
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "97C146ED1CF9000F007C117D"
-            BuildableName = "Runner.app"
-            BlueprintName = "Runner"
-            ReferencedContainer = "container:Runner.xcodeproj">
-         </BuildableReference>
-      </MacroExpansion>
-      <Testables>
-         <TestableReference
-            skipped = "NO"
-            parallelizable = "YES">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "331C80F0294D02FB00263BE5"
-               BuildableName = "RunnerTests.xctest"
-               BlueprintName = "RunnerTests"
-               ReferencedContainer = "container:Runner.xcodeproj">
-            </BuildableReference>
-         </TestableReference>
-      </Testables>
-   </TestAction>
-   <LaunchAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      launchStyle = "0"
-      useCustomWorkingDirectory = "NO"
-      ignoresPersistentStateOnLaunch = "NO"
-      debugDocumentVersioning = "YES"
-      debugServiceExtension = "internal"
-      allowLocationSimulation = "YES">
-      <BuildableProductRunnable
-         runnableDebuggingMode = "0">
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "97C146ED1CF9000F007C117D"
-            BuildableName = "Runner.app"
-            BlueprintName = "Runner"
-            ReferencedContainer = "container:Runner.xcodeproj">
-         </BuildableReference>
-      </BuildableProductRunnable>
-   </LaunchAction>
-   <ProfileAction
-      buildConfiguration = "Profile"
-      shouldUseLaunchSchemeArgsEnv = "YES"
-      savedToolIdentifier = ""
-      useCustomWorkingDirectory = "NO"
-      debugDocumentVersioning = "YES">
-      <BuildableProductRunnable
-         runnableDebuggingMode = "0">
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "97C146ED1CF9000F007C117D"
-            BuildableName = "Runner.app"
-            BlueprintName = "Runner"
-            ReferencedContainer = "container:Runner.xcodeproj">
-         </BuildableReference>
-      </BuildableProductRunnable>
-   </ProfileAction>
-   <AnalyzeAction
-      buildConfiguration = "Debug">
-   </AnalyzeAction>
-   <ArchiveAction
-      buildConfiguration = "Release"
-      revealArchiveInOrganizer = "YES">
-   </ArchiveAction>
-</Scheme>

+ 0 - 10
example/ios/Runner.xcworkspace/contents.xcworkspacedata

@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
-   version = "1.0">
-   <FileRef
-      location = "group:Runner.xcodeproj">
-   </FileRef>
-   <FileRef
-      location = "group:Pods/Pods.xcodeproj">
-   </FileRef>
-</Workspace>

+ 0 - 8
example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

@@ -1,8 +0,0 @@
-<?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>

+ 0 - 6
example/ios/Runner/AppDelegate.h

@@ -1,6 +0,0 @@
-#import <Flutter/Flutter.h>
-#import <UIKit/UIKit.h>
-
-@interface AppDelegate : FlutterAppDelegate
-
-@end

+ 0 - 22
example/ios/Runner/AppDelegate.m

@@ -1,22 +0,0 @@
-#import "AppDelegate.h"
-#import "GeneratedPluginRegistrant.h"
-
-@implementation AppDelegate
-
-- (BOOL)application:(UIApplication *)application
-    didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
-  [GeneratedPluginRegistrant registerWithRegistry:self];
-  // Override point for customization after application launch.
-    NSString *filePath = [[NSBundle mainBundle] pathForResource:@"developer_guide_ios" ofType:@"pdf"];
-    NSString *documentFolder = [NSHomeDirectory() stringByAppendingFormat:@"/%@/%@", @"Documents",@"Samples"];
-
-    if (![[NSFileManager defaultManager] fileExistsAtPath:documentFolder])
-        [[NSFileManager defaultManager] createDirectoryAtURL:[NSURL fileURLWithPath:documentFolder] withIntermediateDirectories:YES attributes:nil error:nil];
-
-    NSString * documentPath = [documentFolder stringByAppendingPathComponent:filePath.lastPathComponent];
-    if (![[NSFileManager defaultManager] fileExistsAtPath:documentPath])
-        [[NSFileManager defaultManager] copyItemAtURL:[NSURL fileURLWithPath:filePath] toURL:[NSURL fileURLWithPath:documentPath] error:nil];
-  return [super application:application didFinishLaunchingWithOptions:launchOptions];
-}
-
-@end

BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon1024x1024.png


BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon20x20.png


BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon20x20@2x 1.png


BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon20x20@2x.png


BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon20x20@3x.png


BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon29x29.png


BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon29x29@2x 1.png


BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon29x29@2x.png


BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon29x29@3x.png


BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon40x40.png


BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon40x40@2x 1.png


BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon40x40@2x.png


BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon40x40@3x.png


BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon60x60@2x.png


BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon60x60@3x.png


BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon76x76.png


BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon76x76@2x.png


BIN
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/AppIcon83.5x83.5@2x.png


+ 0 - 116
example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json

@@ -1,116 +0,0 @@
-{
-  "images" : [
-    {
-      "filename" : "AppIcon20x20@2x.png",
-      "idiom" : "iphone",
-      "scale" : "2x",
-      "size" : "20x20"
-    },
-    {
-      "filename" : "AppIcon20x20@3x.png",
-      "idiom" : "iphone",
-      "scale" : "3x",
-      "size" : "20x20"
-    },
-    {
-      "filename" : "AppIcon29x29@2x.png",
-      "idiom" : "iphone",
-      "scale" : "2x",
-      "size" : "29x29"
-    },
-    {
-      "filename" : "AppIcon29x29@3x.png",
-      "idiom" : "iphone",
-      "scale" : "3x",
-      "size" : "29x29"
-    },
-    {
-      "filename" : "AppIcon40x40@2x.png",
-      "idiom" : "iphone",
-      "scale" : "2x",
-      "size" : "40x40"
-    },
-    {
-      "filename" : "AppIcon40x40@3x.png",
-      "idiom" : "iphone",
-      "scale" : "3x",
-      "size" : "40x40"
-    },
-    {
-      "filename" : "AppIcon60x60@2x.png",
-      "idiom" : "iphone",
-      "scale" : "2x",
-      "size" : "60x60"
-    },
-    {
-      "filename" : "AppIcon60x60@3x.png",
-      "idiom" : "iphone",
-      "scale" : "3x",
-      "size" : "60x60"
-    },
-    {
-      "filename" : "AppIcon20x20.png",
-      "idiom" : "ipad",
-      "scale" : "1x",
-      "size" : "20x20"
-    },
-    {
-      "filename" : "AppIcon20x20@2x 1.png",
-      "idiom" : "ipad",
-      "scale" : "2x",
-      "size" : "20x20"
-    },
-    {
-      "filename" : "AppIcon29x29.png",
-      "idiom" : "ipad",
-      "scale" : "1x",
-      "size" : "29x29"
-    },
-    {
-      "filename" : "AppIcon29x29@2x 1.png",
-      "idiom" : "ipad",
-      "scale" : "2x",
-      "size" : "29x29"
-    },
-    {
-      "filename" : "AppIcon40x40.png",
-      "idiom" : "ipad",
-      "scale" : "1x",
-      "size" : "40x40"
-    },
-    {
-      "filename" : "AppIcon40x40@2x 1.png",
-      "idiom" : "ipad",
-      "scale" : "2x",
-      "size" : "40x40"
-    },
-    {
-      "filename" : "AppIcon76x76.png",
-      "idiom" : "ipad",
-      "scale" : "1x",
-      "size" : "76x76"
-    },
-    {
-      "filename" : "AppIcon76x76@2x.png",
-      "idiom" : "ipad",
-      "scale" : "2x",
-      "size" : "76x76"
-    },
-    {
-      "filename" : "AppIcon83.5x83.5@2x.png",
-      "idiom" : "ipad",
-      "scale" : "2x",
-      "size" : "83.5x83.5"
-    },
-    {
-      "filename" : "AppIcon1024x1024.png",
-      "idiom" : "ios-marketing",
-      "scale" : "1x",
-      "size" : "1024x1024"
-    }
-  ],
-  "info" : {
-    "author" : "xcode",
-    "version" : 1
-  }
-}

+ 0 - 6
example/ios/Runner/Assets.xcassets/Contents.json

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

+ 0 - 23
example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json

@@ -1,23 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "filename" : "LaunchImage.png",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "LaunchImage@2x.png",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "LaunchImage@3x.png",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

BIN
example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png


BIN
example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png


BIN
example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png


+ 0 - 5
example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md

@@ -1,5 +0,0 @@
-# Launch Screen Assets
-
-You can customize the launch screen with your own desired assets by replacing the image files in this directory.
-
-You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.

+ 0 - 37
example/ios/Runner/Base.lproj/LaunchScreen.storyboard

@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12121" systemVersion="16G29" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12089"/>
-    </dependencies>
-    <scenes>
-        <!--View Controller-->
-        <scene sceneID="EHf-IW-A2E">
-            <objects>
-                <viewController id="01J-lp-oVM" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="Ydg-fD-yQy"/>
-                        <viewControllerLayoutGuide type="bottom" id="xbc-2k-c8Z"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <subviews>
-                            <imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" image="LaunchImage" translatesAutoresizingMaskIntoConstraints="NO" id="YRO-k0-Ey4">
-                            </imageView>
-                        </subviews>
-                        <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                        <constraints>
-                            <constraint firstItem="YRO-k0-Ey4" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="1a2-6s-vTC"/>
-                            <constraint firstItem="YRO-k0-Ey4" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="4X2-HB-R7a"/>
-                        </constraints>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="53" y="375"/>
-        </scene>
-    </scenes>
-    <resources>
-        <image name="LaunchImage" width="168" height="185"/>
-    </resources>
-</document>

+ 0 - 26
example/ios/Runner/Base.lproj/Main.storyboard

@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
-    </dependencies>
-    <scenes>
-        <!--Flutter View Controller-->
-        <scene sceneID="tne-QT-ifu">
-            <objects>
-                <viewController id="BYZ-38-t0r" customClass="FlutterViewController" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
-                        <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
-                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
-            </objects>
-        </scene>
-    </scenes>
-</document>

+ 0 - 51
example/ios/Runner/Info.plist

@@ -1,51 +0,0 @@
-<?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>CADisableMinimumFrameDurationOnPhone</key>
-	<true/>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>$(DEVELOPMENT_LANGUAGE)</string>
-	<key>CFBundleDisplayName</key>
-	<string>ComPDFKit_Flutter</string>
-	<key>CFBundleExecutable</key>
-	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIdentifier</key>
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>compdfkit_flutter_example</string>
-	<key>CFBundlePackageType</key>
-	<string>APPL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>$(FLUTTER_BUILD_NAME)</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>$(FLUTTER_BUILD_NUMBER)</string>
-	<key>LSRequiresIPhoneOS</key>
-	<true/>
-	<key>UIApplicationSupportsIndirectInputEvents</key>
-	<true/>
-	<key>UILaunchStoryboardName</key>
-	<string>LaunchScreen</string>
-	<key>UIMainStoryboardFile</key>
-	<string>Main</string>
-	<key>UISupportedInterfaceOrientations</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-	<key>UISupportedInterfaceOrientations~ipad</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationPortraitUpsideDown</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-	<key>UIViewControllerBasedStatusBarAppearance</key>
-	<false/>
-</dict>
-</plist>

+ 0 - 9
example/ios/Runner/main.m

@@ -1,9 +0,0 @@
-#import <Flutter/Flutter.h>
-#import <UIKit/UIKit.h>
-#import "AppDelegate.h"
-
-int main(int argc, char* argv[]) {
-  @autoreleasepool {
-    return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
-  }
-}

+ 0 - 33
example/ios/RunnerTests/RunnerTests.m

@@ -1,33 +0,0 @@
-#import <Flutter/Flutter.h>
-#import <UIKit/UIKit.h>
-#import <XCTest/XCTest.h>
-
-@import compdfkit_flutter;
-
-// This demonstrates a simple unit test of the Objective-C portion of this plugin's implementation.
-//
-// See https://developer.apple.com/documentation/xctest for more information about using XCTest.
-
-@interface RunnerTests : XCTestCase
-
-@end
-
-@implementation RunnerTests
-
-- (void)testExample {
-  CompdfkitFlutterPlugin *plugin = [[CompdfkitFlutterPlugin alloc] init];
-
-  FlutterMethodCall *call = [FlutterMethodCall methodCallWithMethodName:@"getPlatformVersion"
-                                                              arguments:nil];
-  XCTestExpectation *expectation = [self expectationWithDescription:@"result block must be called"];
-  [plugin handleMethodCall:call
-                    result:^(id result) {
-                      NSString *expected = [NSString
-                          stringWithFormat:@"iOS %@", UIDevice.currentDevice.systemVersion];
-                      XCTAssertEqualObjects(result, expected);
-                      [expectation fulfill];
-                    }];
-  [self waitForExpectationsWithTimeout:1 handler:nil];
-}
-
-@end

+ 0 - 38
ios/.gitignore

@@ -1,38 +0,0 @@
-.idea/
-.vagrant/
-.sconsign.dblite
-.svn/
-
-.DS_Store
-*.swp
-profile
-
-DerivedData/
-build/
-GeneratedPluginRegistrant.h
-GeneratedPluginRegistrant.m
-
-.generated/
-
-*.pbxuser
-*.mode1v3
-*.mode2v3
-*.perspectivev3
-
-!default.pbxuser
-!default.mode1v3
-!default.mode2v3
-!default.perspectivev3
-
-xcuserdata
-
-*.moved-aside
-
-*.pyc
-*sync/
-Icon?
-.tags*
-
-/Flutter/Generated.xcconfig
-/Flutter/ephemeral/
-/Flutter/flutter_export_environment.sh

+ 0 - 0
ios/Assets/.gitkeep


+ 0 - 21
ios/Classes/CPDFViewController.h

@@ -1,21 +0,0 @@
-//
-//  ViewController.h
-//   PDFView_RN
-//
-//  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 <ComPDFKit/ComPDFKit.h>
-#import <ComPDFKit_Tools/ComPDFKit_Tools.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface CPDFViewController : CPDFViewBaseController <CPDFFormBarDelegate>
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 808
ios/Classes/CPDFViewController.m

@@ -1,808 +0,0 @@
-//
-//  CPDFViewController.m
-//   PDFView_RN
-//
-//  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 "CPDFViewController.h"
-
-#import <ComPDFKit/ComPDFKit.h>
-#import <ComPDFKit_Tools/ComPDFKit_Tools.h>
-#import <AVFAudio/AVFAudio.h>
-#import <AVFoundation/AVFoundation.h>
-
-@interface CPDFViewController () <CPDFSoundPlayBarDelegate,CPDFAnnotationBarDelegate,CPDFToolsViewControllerDelegate,CPDFNoteOpenViewControllerDelegate,CPDFBOTAViewControllerDelegate,CPDFEditToolBarDelegate,CPDFFormBarDelegate,CPDFListViewDelegate,CPDFSignatureViewControllerDelegate,CPDFPageEditViewControllerDelegate,CPDFKeyboardToolbarDelegate>
-
-@property(nonatomic, strong) CPDFAnnotationToolBar *annotationBar;
-
-@property (nonatomic, strong) CPDFFormToolBar *formBar;
-
-@property(nonatomic, strong) CPDFSoundPlayBar *soundPlayBar;
-
-@property(nonatomic, strong) CAnnotationManage *annotationManage;
-
-@property(nonatomic, strong) CPDFEditToolBar * toolBar;
-
-@property(nonatomic, strong) CPDFEditViewController *baseVC;
-
-@property(nonatomic, assign) CPDFEditMode editMode;
-
-@property(nonatomic, strong) CPDFSignatureWidgetAnnotation * signatureAnnotation;
-
-@property(nonatomic, strong) CPDFConfiguration *configuration;
-
-@end
-
-@implementation CPDFViewController
-
-
-- (void)viewDidLoad {
-    [super viewDidLoad];
-    
-   self.pdfListView.toolModel = CToolModelViewer;
-    
-    CPDFEditingConfig *editingConfig = [[CPDFEditingConfig alloc]init];
-    editingConfig.editingBorderWidth = 1.0;
-    editingConfig.editingOffsetGap = 5;
-    self.pdfListView.editingConfig = editingConfig;
-    
-    [self initAnnotationBar];
-    [self initWithEditTool];
-    [self initWithFormTool];
-
-    [self enterViewerMode];
-    
-    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(PDFPageDidRemoveAnnotationNotification:) name:CPDFPageDidRemoveAnnotationNotification object:nil];
-}
-
-- (void)initAnnotationBar {
-    self.annotationManage = [[CAnnotationManage alloc] initWithPDFView:self.pdfListView];
-        
-    self.annotationBar = [[CPDFAnnotationToolBar alloc] initAnnotationManage:self.annotationManage];
-    
-    CGFloat height = 44.0;
-    if (@available(iOS 11.0, *))
-        height += self.view.safeAreaInsets.bottom;
-    
-    self.annotationBar.frame = CGRectMake(0, self.view.frame.size.height - height, self.view.frame.size.width, height);
-    self.annotationBar.delegate = self;
-    [self.annotationBar setParentVC:self];
-    [self.view addSubview:self.annotationBar];
-}
-
-- (void)initWithEditTool {
-    if(!self.toolBar){
-        self.toolBar = [[CPDFEditToolBar alloc] initWithPDFView:self.pdfListView];
-    }
-    
-    self.toolBar.delegate = self;
-    [self.view addSubview:self.toolBar];
-}
-
-- (void)initWithFormTool {
-    if(!self.formBar){
-        self.formBar = [[CPDFFormToolBar  alloc] initAnnotationManage:self.annotationManage];
-    }
-    self.formBar.delegate = self;
-    self.formBar.parentVC = self;
-    [self.view addSubview:self.formBar];
-}
-
-- (void)viewWillLayoutSubviews {
-    [super viewWillLayoutSubviews];
-    if([self.popMenu superview]) {
-        if (@available(iOS 11.0, *)) {
-            [self.popMenu showMenuInRect:CGRectMake(self.view.frame.size.width - self.view.safeAreaInsets.right - 250, CGRectGetMaxY(self.navigationController.navigationBar.frame), 250, 250)];
-        } else {
-            // Fallback on earlier versions
-            [self.popMenu showMenuInRect:CGRectMake(self.view.frame.size.width - 250, CGRectGetMaxY(self.navigationController.navigationBar.frame), 250, 250)];
-        }
-    }
-    
-    CGFloat height = 44.0;
-    
-    if (@available(iOS 11.0, *))
-        height += self.view.safeAreaInsets.bottom;
-
-    CGFloat bottomHeight = 0;
-    if(CToolModelAnnotation == self.pdfListView.toolModel) {
-        self.annotationBar.frame = CGRectMake(0, self.view.frame.size.height - height, self.view.frame.size.width, height);
-        bottomHeight = self.self.annotationBar.frame.size.height;
-    } else if(CToolModelEdit == self.pdfListView.toolModel){
-        self.toolBar.frame = CGRectMake(0, self.view.frame.size.height - height, self.view.frame.size.width, height);
-        bottomHeight = self.self.toolBar.frame.size.height;
-    } else if(CToolModelForm == self.pdfListView.toolModel){
-        self.formBar.frame = CGRectMake(0, self.view.frame.size.height - height, self.view.frame.size.width, height);
-        bottomHeight = self.self.formBar.frame.size.height;
-    }
-    
-    CGFloat tPosY = 0;
-    CGFloat tBottomY = 0;
-
-    if(CToolModelAnnotation == self.pdfListView.toolModel) {
-        if (!self.navigationController.navigationBarHidden) {
-            [UIView animateWithDuration:0.3 animations:^{
-                CGRect frame = self.annotationBar.frame;
-                frame.origin.y = self.view.bounds.size.height-frame.size.height;
-                self.annotationBar.frame = frame;
-            }];
-            CGRect rectStatus = [[UIApplication sharedApplication] statusBarFrame];
-            tPosY = self.navigationController.navigationBar.frame.size.height + rectStatus.size.height;
-            
-            tBottomY = self.annotationBar.frame.size.height;
-        } else {
-            [UIView animateWithDuration:0.3 animations:^{
-                CGRect frame = self.annotationBar.frame;
-                frame.origin.y = self.view.bounds.size.height;
-                self.annotationBar.frame = frame;
-            }];
-        }
-    } else {
-        tPosY = 0;
-        if (!self.navigationController.navigationBarHidden) {
-            CGRect rectStatus = [[UIApplication sharedApplication] statusBarFrame];
-            tPosY = self.navigationController.navigationBar.frame.size.height + rectStatus.size.height;
-        }
-    }
-    
-    
-    if (CPDFDisplayDirectionVertical == [CPDFKitConfig  sharedInstance].displayDirection) {
-            UIEdgeInsets inset = self.pdfListView.documentView.contentInset;
-            inset.bottom = 10 + bottomHeight;
-            self.pdfListView.documentView.contentInset = inset;
-    } else{
-        UIEdgeInsets inset = self.pdfListView.documentView.contentInset;
-            inset.bottom = 0;
-            self.pdfListView.documentView.contentInset = inset;
-    }
-}
-
-#pragma mark - Public Methods
-
-- (void)selectDocumentRefresh {
-    if(CToolModelAnnotation == self.pdfListView.toolModel) {
-        self.pdfListView.annotationMode = CPDFViewAnnotationModeNone;
-        [self.annotationBar updatePropertiesButtonState];
-        [self.annotationBar reloadData];
-        [self.annotationBar updateUndoRedoState];
-    }else if(CToolModelForm == self.pdfListView.toolModel) {
-        [self.formBar initUndoRedo];
-    }
-}
-
-#pragma mark - Private
-
-- (void)enterEditMode {
-    [self selectDocumentRefresh];
-
-    self.toolBar.hidden = NO;
-    self.annotationBar.hidden = YES;
-    self.formBar.hidden = YES;
-    self.pdfListView.toolModel = CToolModelEdit;
-    [self.pdfListView beginEditingLoadType:CEditingLoadTypeText | CEditingLoadTypeImage];
-    self.navigationTitle = NSLocalizedString(@"Content Edit", nil);
-    [self.titleButton setTitle:self.navigationTitle forState:UIControlStateNormal];
-    
-    [self.toolBar updateButtonState];
-    
-    CGRect frame = self.toolBar.frame;
-    frame.origin.y = self.view.bounds.size.height-frame.size.height;
-    self.toolBar.frame = frame;
-    
-    [self viewWillLayoutSubviews];
-}
-
-- (void)enterAnnotationMode {
-    self.toolBar.hidden = YES;
-    self.annotationBar.hidden = NO;
-    self.formBar.hidden = YES;
-    if (self.pdfListView.isEdited) {
-        dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
-            [self.pdfListView commitEditing];
-            dispatch_async(dispatch_get_main_queue(), ^{
-                [self.pdfListView endOfEditing];
-            });
-        });
-    } else {
-        [self.pdfListView endOfEditing];
-    }
-    self.pdfListView.toolModel = CToolModelAnnotation;
-    self.navigationTitle = NSLocalizedString(@"Annotation", nil);
-    [self.titleButton setTitle:self.navigationTitle forState:UIControlStateNormal];
-    
-    CGFloat tPosY = 0;
-    CGFloat tBottomY = 0;
-    CGRect frame = self.annotationBar.frame;
-    frame.origin.y = self.view.bounds.size.height-frame.size.height;
-    self.annotationBar.frame = frame;
-    
-    CGRect rectStatus = [[UIApplication sharedApplication] statusBarFrame];
-    tPosY = self.navigationController.navigationBar.frame.size.height + rectStatus.size.height;
-    tBottomY = self.annotationBar.frame.size.height;
-    
-    if (CPDFDisplayDirectionVertical == [CPDFKitConfig  sharedInstance].displayDirection) {
-            UIEdgeInsets inset = self.pdfListView.documentView.contentInset;
-            inset.bottom = 10 + self.annotationBar.frame.size.height;
-            self.pdfListView.documentView.contentInset = inset;
-    } else{
-            UIEdgeInsets inset = self.pdfListView.documentView.contentInset;
-            inset.bottom = 0;
-            self.pdfListView.documentView.contentInset = inset;
-    }
-
-    [self viewWillLayoutSubviews];
-}
-
-- (void)enterViewerMode {
-    self.toolBar.hidden = YES;
-    self.formBar.hidden = YES;
-    self.annotationBar.hidden = YES;
-    if (self.pdfListView.isEdited) {
-        dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
-            [self.pdfListView commitEditing];
-            dispatch_async(dispatch_get_main_queue(), ^{
-                [self.pdfListView endOfEditing];
-            });
-        });
-    } else {
-        [self.pdfListView endOfEditing];
-    }
-    self.pdfListView.toolModel = CToolModelViewer;
-    self.navigationTitle = NSLocalizedString(@"Viewer", nil);
-    [self.titleButton setTitle:self.navigationTitle forState:UIControlStateNormal];
-
-    CGRect frame = self.annotationBar.frame;
-    frame.origin.y = self.view.bounds.size.height;
-    self.annotationBar.frame = frame;
-
-    if (CPDFDisplayDirectionVertical == [CPDFKitConfig  sharedInstance].displayDirection) {
-            UIEdgeInsets inset = self.pdfListView.documentView.contentInset;
-            inset.bottom = 0;
-            self.pdfListView.documentView.contentInset = inset;
-    } else{
-            UIEdgeInsets inset = self.pdfListView.documentView.contentInset;
-            inset.bottom = 0;
-            self.pdfListView.documentView.contentInset = inset;
-    }
-
-}
-
-- (void)enterFormMode {
-    self.toolBar.hidden = YES;
-    self.annotationBar.hidden = YES;
-    self.formBar.hidden = NO;
-    if (self.pdfListView.isEdited) {
-        dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
-            [self.pdfListView commitEditing];
-            dispatch_async(dispatch_get_main_queue(), ^{
-                [self.pdfListView endOfEditing];
-            });
-        });
-    } else {
-        [self.pdfListView endOfEditing];
-    }
-    self.pdfListView.toolModel = CToolModelForm;
-    self.navigationTitle = NSLocalizedString(@"Form", nil);
-    [self.titleButton setTitle:self.navigationTitle forState:UIControlStateNormal];
-
-    CGFloat tPosY = 0;
-    CGFloat tBottomY = 0;
-    CGRect frame = self.formBar.frame;
-    frame.origin.y = self.view.bounds.size.height-frame.size.height;
-    self.formBar.frame = frame;
-
-    CGRect rectStatus = [[UIApplication sharedApplication] statusBarFrame];
-    tPosY = self.navigationController.navigationBar.frame.size.height + rectStatus.size.height;
-    tBottomY = self.formBar.frame.size.height;
-
-    if (CPDFDisplayDirectionVertical == [CPDFKitConfig  sharedInstance].displayDirection) {
-        UIEdgeInsets inset = self.pdfListView.documentView.contentInset;
-        inset.bottom = 10 + self.formBar.frame.size.height;
-        self.pdfListView.documentView.contentInset = inset;
-    } else{
-        UIEdgeInsets inset = self.pdfListView.documentView.contentInset;
-        inset.bottom = 0;
-        self.pdfListView.documentView.contentInset = inset;
-    }
-    [self viewWillLayoutSubviews];
-}
-
-- (void)setTitleRefresh {
-    if (CToolModelEdit == self.pdfListView.toolModel) {
-        [self enterEditMode];
-    } else if (CToolModelViewer == self.pdfListView.toolModel) {
-        [self enterViewerMode];
-    } else if (CToolModelAnnotation == self.pdfListView.toolModel) {
-        [self enterAnnotationMode];
-    } else if(CToolModelForm == self.pdfListView.toolModel) {
-        [self enterFormMode];
-    }
-}
-
-#pragma mark - Action
-
-- (void)navigationRightItemBota {
-    CPDFBOTAViewController *botaViewController = [[CPDFBOTAViewController alloc] initCustomizeWithPDFView:self.pdfListView navArrays:@[@(CPDFBOTATypeStateOutline),@(CPDFBOTATypeStateBookmark),@(CPDFBOTATypeStateAnnotation)]];
-
-    botaViewController.delegate = self;
-    
-    AAPLCustomPresentationController *presentationController NS_VALID_UNTIL_END_OF_SCOPE;
-   
-    presentationController = [[AAPLCustomPresentationController alloc] initWithPresentedViewController:botaViewController presentingViewController:self];
-    botaViewController.transitioningDelegate = presentationController;
-    
-    [self presentViewController:botaViewController animated:YES completion:nil];
-}
-
-- (void) titleButtonClickd:(UIButton *) button {
-    CPDFToolsViewController * toolsVc = [[CPDFToolsViewController alloc] initCustomizeWithToolArrays:@[@(CToolModelViewer),@(CToolModelEdit),@(CToolModelAnnotation),@(CToolModelForm)]];
-    toolsVc.delegate = self;
-    AAPLCustomPresentationController *presentationController NS_VALID_UNTIL_END_OF_SCOPE;
-    presentationController = [[AAPLCustomPresentationController alloc] initWithPresentedViewController:toolsVc presentingViewController:self];
-    toolsVc.transitioningDelegate = presentationController;
-    [self presentViewController:toolsVc animated:YES completion:nil];
-}
-
-#pragma - CPDFEditToolBarDelegate
-
-- (void)undoDidClickInToolBar:(CPDFEditToolBar *)toolBar{
-    [self.pdfListView editTextUndo];
-}
-
-- (void)redoDidClickInToolBar:(CPDFEditToolBar *)toolBar{
-    [self.pdfListView editTextRedo];
-}
-
-- (void)propertyEditDidClickInToolBar:(CPDFEditToolBar *)toolBar{
-    [self showMenuList];
-}
-
-
-- (void)showMenuList {
-    _baseVC = [[CPDFEditViewController alloc] initWithPDFView:self.pdfListView];
-    _baseVC.editMode = self.editMode;
-    if((self.editMode == CPDFEditModeText || self.editMode == CPDFEditModeImage) && self.pdfListView.editStatus != CEditingSelectStateEmpty){
-        
-        AAPLCustomPresentationController *presentationController NS_VALID_UNTIL_END_OF_SCOPE;
-       
-        presentationController = [[AAPLCustomPresentationController alloc] initWithPresentedViewController:self.baseVC presentingViewController:self];
-        self.baseVC.transitioningDelegate = presentationController;
-        
-        [self presentViewController:self.baseVC animated:YES completion:nil];
-    }
-}
-
-#pragma mark - CPDFViewDelegate
-
-- (void)PDFViewEditingSelectStateDidChanged:(CPDFView *)pdfView {
-    if([pdfView.editingArea isKindOfClass:[CPDFEditImageArea class]]) {
-        self.editMode = CPDFEditModeImage;
-    }else if([pdfView.editingArea isKindOfClass:[CPDFEditTextArea class]]) {
-        self.editMode  = CPDFEditModeText;
-    }
-    
-    [self.toolBar updateButtonState];
-}
-
-- (void)PDFViewShouldBeginEditing:(CPDFView *)pdfView textView:(UITextView *)textView forAnnotation:(CPDFFreeTextAnnotation *)annotation {
-    CPDFKeyboardToolbar *keyBoadrdToolbar = [[CPDFKeyboardToolbar alloc] initWithFrame:CGRectMake(0, 0, self.view.bounds.size.width, 50)];
-    keyBoadrdToolbar.delegate = self;
-    [keyBoadrdToolbar bindToTextView:textView];
-}
-
-#pragma mark - CPDFListViewDelegate
-
-- (void)PDFListViewPerformTouchEnded:(CPDFListView *)pdfView {
-    CGFloat tPosY = 0;
-    CGFloat tBottomY = 0;
-
-    if(CToolModelAnnotation == self.pdfListView.toolModel) {
-        if (self.navigationController.navigationBarHidden) {
-            [self.navigationController setNavigationBarHidden:NO animated:YES];
-            [UIView animateWithDuration:0.3 animations:^{
-                CGRect frame = self.annotationBar.frame;
-                frame.origin.y = self.view.bounds.size.height-frame.size.height;
-                self.annotationBar.frame = frame;
-                self.pdfListView.pageSliderView.alpha = 1.0;
-                self.annotationBar.topToolBar.alpha = 1.0;
-                self.annotationBar.drawPencilFuncView.alpha = 1.0;
-            }];
-            CGRect rectStatus = [[UIApplication sharedApplication] statusBarFrame];
-            tPosY = self.navigationController.navigationBar.frame.size.height + rectStatus.size.height;
-            
-            tBottomY = self.annotationBar.frame.size.height;
-        } else {
-            [self.navigationController setNavigationBarHidden:YES animated:YES];
-            [UIView animateWithDuration:0.3 animations:^{
-                CGRect frame = self.annotationBar.frame;
-                frame.origin.y = self.view.bounds.size.height;
-                self.annotationBar.frame = frame;
-                self.pdfListView.pageSliderView.alpha = 0.0;
-                self.annotationBar.topToolBar.alpha = 0.0;
-                self.annotationBar.drawPencilFuncView.alpha = 0.0;
-
-            }];
-        }
-    } else {
-        CGFloat tPosY = 0;
-        if (self.navigationController.navigationBarHidden) {
-            [self.navigationController setNavigationBarHidden:NO animated:YES];
-            [UIView animateWithDuration:0.3 animations:^{
-                self.pdfListView.pageSliderView.alpha = 1.0;
-            }];
-            CGRect rectStatus = [[UIApplication sharedApplication] statusBarFrame];
-            tPosY = self.navigationController.navigationBar.frame.size.height + rectStatus.size.height;
-
-        } else {
-            [self.navigationController setNavigationBarHidden:YES animated:YES];
-            [UIView animateWithDuration:0.3 animations:^{
-                self.pdfListView.pageSliderView.alpha = 0.0;
-            }];
-        }
-    }
-    
-    if (CPDFDisplayDirectionVertical == [CPDFKitConfig  sharedInstance].displayDirection) {
-            UIEdgeInsets inset = self.pdfListView.documentView.contentInset;
-            inset.bottom = 10 + self.annotationBar.frame.size.height;
-            self.pdfListView.documentView.contentInset = inset;
-    } else{
-            UIEdgeInsets inset = self.pdfListView.documentView.contentInset;
-            inset.bottom = 0;
-            self.pdfListView.documentView.contentInset = inset;
-    }
-}
-
-- (void)PDFListViewEditNote:(CPDFListView *)pdfListView forAnnotation:(CPDFAnnotation *)annotation {
-    if([annotation isKindOfClass:[CPDFLinkAnnotation class]]) {
-        [self.annotationBar buttonItemClicked_openAnnotation:self.titleButton];
-    } else if ([annotation isKindOfClass:[CPDFWidgetAnnotation class]]) {
-        [self.formBar buttonItemClicked_openOption:annotation];
-    } else {
-        CGRect rect = [self.pdfListView convertRect:annotation.bounds fromPage:annotation.page];
-        CPDFNoteOpenViewController *noteVC = [[CPDFNoteOpenViewController alloc]initWithAnnotation:annotation];
-        noteVC.delegate = self;
-        [noteVC showViewController:self inRect:rect];
-    }
-}
-
-- (void)PDFListViewChangedAnnotationType:(CPDFListView *)pdfListView forAnnotationMode:(CPDFViewAnnotationMode)annotationMode {
-    if(CToolModelAnnotation == self.pdfListView.toolModel) {
-        [self.annotationBar reloadData];
-    }else if(CToolModelForm == self.pdfListView.toolModel) {
-        [self.formBar reloadData];
-    }
-}
-
-- (void)PDFListViewPerformUrl:(CPDFListView *)pdfView withContent:(NSString *)content {
-    NSURL * url = [NSURL URLWithString:content];
-    [[UIApplication sharedApplication] openURL:url];
-}
-
-- (void)PDFListViewPerformAddStamp:(CPDFListView *)pdfView atPoint:(CGPoint)point forPage:(CPDFPage *)page {
-    [self.annotationBar addStampAnnotationWithPage:page point:point];
-}
-
-- (void)PDFListViewPerformAddImage:(CPDFListView *)pdfView atPoint:(CGPoint)point forPage:(CPDFPage *)page {
-    [self.annotationBar addImageAnnotationWithPage:page point:point];
-}
-
-- (BOOL)PDFListViewerTouchEndedIsAudioRecordMedia:(CPDFListView *)pdfListView {
-    if (CPDFMediaStateAudioRecord == [CPDFMediaManager shareManager].mediaState) {
-        [self PDFListViewPerformTouchEnded:self.pdfListView];
-        return YES;
-    }
-    return NO;
-}
-
-- (void)PDFListViewPerformCancelMedia:(CPDFListView *)pdfView atPoint:(CGPoint)point forPage:(CPDFPage *)page {
-    [CPDFMediaManager shareManager].mediaState = CPDFMediaStateStop;
-}
-
-- (void)PDFListViewPerformRecordMedia:(CPDFListView *)pdfView atPoint:(CGPoint)point forPage:(CPDFPage *)page {
-    if([self.soundPlayBar superview]) {
-        if(self.soundPlayBar.soundState == CPDFSoundStatePlay) {
-            [self.soundPlayBar stopAudioPlay];
-            [self.soundPlayBar removeFromSuperview];
-        } else if (self.soundPlayBar.soundState == CPDFSoundStateRecord) {
-            [self.soundPlayBar stopRecord];
-            [self.soundPlayBar removeFromSuperview];
-        }
-    }
-    
-    AVAuthorizationStatus authStatus = [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeAudio];
-    if (authStatus == AVAuthorizationStatusNotDetermined || authStatus == AVAuthorizationStatusDenied) {
-        [AVCaptureDevice requestAccessForMediaType:AVMediaTypeAudio completionHandler:^(BOOL granted) {
-            if (granted) {
-                
-            } else {
-                NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
-                if ([[UIApplication sharedApplication] canOpenURL:url]) {
-                    [[UIApplication sharedApplication] openURL:url options:@{} completionHandler:nil];
-                }
-            }
-        }];
-    }
-    
-    if (authStatus == AVAuthorizationStatusAuthorized) {
-        NSInteger pageindex = [self.pdfListView.document indexForPage:page];
-        [CPDFMediaManager shareManager].mediaState = CPDFMediaStateAudioRecord;
-        [CPDFMediaManager shareManager].pageNum = pageindex;
-        [CPDFMediaManager shareManager].ptInPdf = point;
-        
-        _soundPlayBar = [[CPDFSoundPlayBar alloc] initWithStyle:self.annotationManage.annotStyle];
-        _soundPlayBar.delegate = self;
-        [_soundPlayBar showInView:self.pdfListView soundState:CPDFSoundStateRecord];
-        [_soundPlayBar startAudioRecord];
-       
-    } else {
-        return;
-    }
-}
-
-- (void)PDFListViewPerformPlay:(CPDFListView *)pdfView forAnnotation:(CPDFSoundAnnotation *)annotation {
-    NSString *filePath = [annotation mediaPath];
-    if (filePath) {
-        NSURL *URL = [NSURL fileURLWithPath:filePath];
-        
-        _soundPlayBar = [[CPDFSoundPlayBar alloc] initWithStyle:self.annotationManage.annotStyle];
-        _soundPlayBar.delegate = self;
-        [_soundPlayBar showInView:self.pdfListView soundState:CPDFSoundStatePlay];
-        [_soundPlayBar setURL:URL];
-        [_soundPlayBar startAudioPlay];
-        [CPDFMediaManager shareManager].mediaState = CPDFMediaStateVedioPlaying;
-    }
-}
-
-- (void)PDFListViewPerformSignatureWidget:(CPDFListView *)pdfView forAnnotation:(CPDFSignatureWidgetAnnotation *)annotation {
-    if(CToolModelAnnotation == self.pdfListView.toolModel) {
-        [self.annotationBar openSignatureAnnotation:annotation];
-    }else if(CToolModelViewer == self.pdfListView.toolModel) {
-        self.signatureAnnotation = annotation;
-        AAPLCustomPresentationController *presentationController NS_VALID_UNTIL_END_OF_SCOPE;
-        CPDFSignatureViewController *signatureVC = [[CPDFSignatureViewController alloc] initWithStyle:nil];
-        presentationController = [[AAPLCustomPresentationController alloc] initWithPresentedViewController:signatureVC presentingViewController:self];
-        signatureVC.delegate = self;
-        signatureVC.transitioningDelegate = presentationController;
-        [self presentViewController:signatureVC animated:YES completion:nil];
-    }
-}
-
-- (void)PDFListViewEditProperties:(CPDFListView *)pdfListView forAnnotation:(CPDFAnnotation *)annotation {
-    if(CToolModelAnnotation == self.pdfListView.toolModel){
-        [self.annotationBar buttonItemClicked_openAnnotation:self.titleButton];
-    }else if(CToolModelForm == self.pdfListView.toolModel) {
-        [self.formBar buttonItemClicked_open:annotation];
-    }
-}
-
-- (void)PDFListViewContentEditProperty:(CPDFListView *)pdfView point:(CGPoint)point {
-    if([pdfView.editingArea isKindOfClass:[CPDFEditImageArea class]]) {
-        self.editMode = CPDFEditModeImage;
-    } else if([pdfView.editingArea isKindOfClass:[CPDFEditTextArea class]]) {
-        self.editMode  = CPDFEditModeText;
-    }
-    [self showMenuList];
-    [self.toolBar updateButtonState];
-}
-
-- (void)PDFViewCurrentPageDidChanged:(CPDFView *)pdfView {
-    if([pdfView.editingArea isKindOfClass:[CPDFEditImageArea class]]) {
-        self.editMode = CPDFEditModeImage;
-    }else if([pdfView.editingArea isKindOfClass:[CPDFEditTextArea class]]) {
-        self.editMode  = CPDFEditModeText;
-    }
-    
-    [self.toolBar updateButtonState];
-    [super PDFViewCurrentPageDidChanged:pdfView];
-}
-
-#pragma mark - CPDFKeyboardToolbarDelegate
-
-- (void)keyboardShouldDissmiss:(CPDFKeyboardToolbar *)toolbar {
-    [self.pdfListView commitEditAnnotationFreeText];
-    self.pdfListView.annotationMode = CPDFViewAnnotationModeNone;
-    [self.annotationBar reloadData];
-}
-
-#pragma mark - CPDFAnnotationBarDelegate
-
-- (void)annotationBarClick:(CPDFAnnotationToolBar *)annotationBar clickAnnotationMode:(CPDFViewAnnotationMode)annotationMode forSelected:(BOOL)isSelected forButton:(UIButton *)button {
-    if(CPDFViewAnnotationModeInk == annotationMode || CPDFViewAnnotationModePencilDrawing == annotationMode) {
-        CGFloat tPosY = 0;
-        if(isSelected) {
-            [self.navigationController setNavigationBarHidden:YES animated:YES];
-            [UIView animateWithDuration:0.3 animations:^{
-                CGRect frame = self.annotationBar.frame;
-                frame.origin.y = self.view.bounds.size.height;
-                self.annotationBar.frame = frame;
-                self.pdfListView.pageSliderView.alpha = 0.0;
-                
-                UIEdgeInsets inset = self.pdfListView.documentView.contentInset;
-                inset.bottom = 0;
-                self.pdfListView.documentView.contentInset = inset;
-            }];
-        } else {
-            [self.navigationController setNavigationBarHidden:NO animated:YES];
-            [UIView animateWithDuration:0.3 animations:^{
-                CGRect frame = self.annotationBar.frame;
-                frame.origin.y = self.view.bounds.size.height-frame.size.height;
-                self.annotationBar.frame = frame;
-                self.pdfListView.pageSliderView.alpha = 1.0;
-            }];
-            CGRect rectStatus = [[UIApplication sharedApplication] statusBarFrame];
-            tPosY = self.navigationController.navigationBar.frame.size.height + rectStatus.size.height;
-
-            UIEdgeInsets inset = self.pdfListView.documentView.contentInset;
-            inset.bottom = self.annotationBar.frame.size.height;
-            self.pdfListView.documentView.contentInset = inset;
-        }
-    } else if (CPDFViewAnnotationModeSound == annotationMode && !isSelected) {
-        if(CPDFSoundStateRecord == self.soundPlayBar.soundState) {
-            [self.soundPlayBar stopRecord];
-
-        } else if (CPDFSoundStatePlay== self.soundPlayBar.soundState) {
-            [self.soundPlayBar stopAudioPlay];
-        }
-    }
-}
-
-#pragma mark - CPDFNoteOpenViewControllerDelegate
-
-- (void)getNoteOpenViewController:(CPDFNoteOpenViewController *)noteOpenVC content:(NSString *)content isDelete:(BOOL)isDelete {
-    if (isDelete) {
-        [noteOpenVC.annotation.page removeAnnotation:noteOpenVC.annotation];
-        [self.pdfListView setNeedsDisplayForPage:noteOpenVC.annotation.page];
-        if([self.pdfListView.activeAnnotations containsObject:noteOpenVC.annotation]) {
-            NSMutableArray *activeAnnotations = [NSMutableArray arrayWithArray:self.pdfListView.activeAnnotations];
-            [activeAnnotations removeObject:noteOpenVC.annotation];
-            [self.pdfListView updateActiveAnnotations:activeAnnotations];
-        }
-    } else {
-        if([noteOpenVC.annotation isKindOfClass:[CPDFMarkupAnnotation class]]) {
-            CPDFMarkupAnnotation *markupAnnotation = (CPDFMarkupAnnotation *)noteOpenVC.annotation;
-            [markupAnnotation setContents:content?:@""];
-        } else if(([noteOpenVC.annotation isKindOfClass:[CPDFTextAnnotation class]])){
-            if(content && content.length > 0) {
-                noteOpenVC.annotation.contents = content?:@"";
-            } else {
-                if([self.pdfListView.activeAnnotations containsObject:noteOpenVC.annotation]) {
-                    [self.pdfListView updateActiveAnnotations:@[]];
-                }
-                [noteOpenVC.annotation.page removeAnnotation:noteOpenVC.annotation];
-                [self.pdfListView setNeedsDisplayForPage:noteOpenVC.annotation.page];
-            }
-        } else {
-            noteOpenVC.annotation.contents = content?:@"";
-        }
-    }
-}
-
-#pragma mark - CPDFSoundPlayBarDelegate
-
-- (void)soundPlayBarRecordFinished:(CPDFSoundPlayBar *)soundPlayBar withFile:(NSString *)filePath {
-    CPDFPage *page = [self.pdfListView.document pageAtIndex:[CPDFMediaManager shareManager].pageNum];
-    CPDFSoundAnnotation *annotation = [[CPDFSoundAnnotation alloc] initWithDocument:self.pdfListView.document];
-    
-    if ([annotation setMediaPath:filePath]) {
-        CGRect bounds = annotation.bounds;
-        bounds.origin.x = [CPDFMediaManager shareManager].ptInPdf.x-bounds.size.width/2.0;
-        bounds.origin.y = [CPDFMediaManager shareManager].ptInPdf.y-bounds.size.height/2.0;
-        annotation.bounds = bounds;
-        [self.pdfListView addAnnotation:annotation forPage:page];
-    }
-
-    [CPDFMediaManager shareManager].mediaState = CPDFMediaStateStop;
-    [self.pdfListView stopRecord];
-}
-
-- (void)soundPlayBarRecordCancel:(CPDFSoundPlayBar *)soundPlayBar {
-    if(CPDFSoundStateRecord == self.soundPlayBar.soundState) {
-        [self.pdfListView stopRecord];
-    }
-    [CPDFMediaManager shareManager].mediaState = CPDFMediaStateStop;
-}
-
-- (void)soundPlayBarPlayClose:(CPDFSoundPlayBar *)soundPlayBar {
-    [CPDFMediaManager shareManager].mediaState = CPDFMediaStateStop;
-}
-
-#pragma mark - Notification
-
-- (void)PDFPageDidRemoveAnnotationNotification:(NSNotification *)notification {
-    CPDFAnnotation *annotation = [notification object];
-
-    if ([annotation isKindOfClass:[CPDFSoundAnnotation class]]) {
-        [self.soundPlayBar stopAudioPlay];
-        if ([self.soundPlayBar isDescendantOfView:self.view]) {
-            [self.soundPlayBar removeFromSuperview];
-        }
-    }
-}
-
-#pragma mark - CPDFToolsViewControllerDelegate
-
-- (void)CPDFToolsViewControllerDismiss:(CPDFToolsViewController *) viewController selectItemAtIndex:(CToolModel)selectIndex {
-    if(CToolModelViewer == selectIndex) {
-        //viewwer
-        [self enterViewerMode];
-    }else if(CToolModelEdit == selectIndex) {
-        [self enterEditMode];
-    }else if(CToolModelAnnotation == selectIndex){
-        //Annotation
-        [self enterAnnotationMode];
-    }else if(CToolModelForm == selectIndex) {
-        [self.formBar updateStatus];
-        [self enterFormMode];
-    }
-}
-
-#pragma mark - CPDFBOTAViewControllerDelegate
-
-- (void)botaViewControllerDismiss:(CPDFBOTAViewController *)botaViewController {
-    [self.navigationController dismissViewControllerAnimated:YES completion:nil];
-}
-
-#pragma mark - CPDFSignatureViewControllerDelegate
-
-- (void)signatureViewControllerDismiss:(CPDFSignatureViewController *)signatureViewController {
-    self.signatureAnnotation = nil;
-}
-
-- (void)signatureViewController:(CPDFSignatureViewController *)signatureViewController image:(UIImage *)image {
-    if(self.signatureAnnotation) {
-        [self.signatureAnnotation signWithImage:image];
-        [self.pdfListView setNeedsDisplayForPage:self.signatureAnnotation.page];
-        self.signatureAnnotation = nil;
-    }
-}
-
-#pragma mark - Action
-
-- (void)buttonItemClicked_thumbnail:(id)sender {
-    if(self.pdfListView.activeAnnotations.count > 0) {
-        [self.pdfListView updateActiveAnnotations:@[]];
-        [self.pdfListView setNeedsDisplayForVisiblePages];
-    }
-
-    CPDFPageEditViewController *pageEditViewcontroller = [[CPDFPageEditViewController alloc] initWithPDFView:self.pdfListView];
-    pageEditViewcontroller.pageEditDelegate = self;
-    pageEditViewcontroller.modalPresentationStyle = UIModalPresentationFullScreen;
-    [self.navigationController presentViewController:pageEditViewcontroller animated:YES completion:nil];
-}
-
-#pragma mark - CPDFPageEditViewControllerDelegate
-
-- (void)pageEditViewControllerDone:(CPDFPageEditViewController *)pageEditViewController {
-    if (pageEditViewController.isPageEdit) {
-        __weak typeof(self) weakSelf = self;
-        [weakSelf reloadDocumentWithFilePath:self.filePath password:self.pdfListView.document.password completion:^(BOOL result) {
-            [weakSelf.pdfListView reloadInputViews];
-            [weakSelf selectDocumentRefresh];
-        }];
-        
-        [weakSelf.pdfListView reloadInputViews];
-    }
-}
-
-- (void)pageEditViewController:(CPDFPageEditViewController *)pageEditViewController pageIndex:(NSInteger)pageIndex isPageEdit:(BOOL)isPageEdit {
-    if (isPageEdit) {
-        __weak typeof(self) weakSelf = self;
-        [weakSelf reloadDocumentWithFilePath:self.filePath password:self.pdfListView.document.password completion:^(BOOL result) {
-            [weakSelf.pdfListView reloadInputViews];
-            [weakSelf selectDocumentRefresh];
-
-        }];
-        
-        [weakSelf.pdfListView reloadInputViews];
-    }
-   
-    [self.pdfListView goToPageIndex:pageIndex animated:NO];
-}
-
-@end

+ 0 - 4
ios/Classes/CompdfkitFlutterPlugin.h

@@ -1,4 +0,0 @@
-#import <Flutter/Flutter.h>
-
-@interface CompdfkitFlutterPlugin : NSObject<FlutterPlugin>
-@end

+ 0 - 74
ios/Classes/CompdfkitFlutterPlugin.m

@@ -1,74 +0,0 @@
-#import "CompdfkitFlutterPlugin.h"
-
-#import <ComPDFKit/ComPDFKit.h>
-#import "CPDFViewController.h"
-
-@interface CompdfkitFlutterPlugin () <CPDFViewBaseControllerDelete>
-
-@end
-
-@implementation CompdfkitFlutterPlugin
-
-+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
-    
-  FlutterMethodChannel* channel = [FlutterMethodChannel
-      methodChannelWithName:@"com.compdfkit.flutter.plugin"
-            binaryMessenger:[registrar messenger]];
-  CompdfkitFlutterPlugin* instance = [[CompdfkitFlutterPlugin alloc] init];
-
-  [registrar addMethodCallDelegate:instance channel:channel];
-}
-
-- (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
-  if ([@"sdk_version_code" isEqualToString:call.method]) {
-    result([CPDFKit sharedInstance].versionString);
-  } else if ([@"init_sdk" isEqualToString:call.method]) {
-      NSDictionary *initInfo = (NSDictionary *)call.arguments;
-      NSString *key = initInfo[@"key"] ?: @"";
-      NSString *secret = initInfo[@"secret"] ?: @"";
-      [CPDFKit setLicenseKey:key secret:secret];
-  } else if ([@"sdk_build_tag" isEqualToString:call.method]) {
-      result([@"iOS build tag:" stringByAppendingFormat:@"%ld", [CPDFKit sharedInstance].buildNumber]);
-  } else if ([@"openDocument" isEqualToString:call.method]){
-      NSString *path = (NSString *)call.arguments;
-      UIViewController *tRootViewControl = [UIApplication sharedApplication].keyWindow.rootViewController;
-              if ([tRootViewControl presentedViewController]) {
-                  tRootViewControl = [tRootViewControl presentedViewController];
-              }
-      CPDFConfiguration *configuration = [[CPDFConfiguration alloc] init];
-      CNavBarButtonItem *thumbnail = [[CNavBarButtonItem alloc]initWithViewLeftBarButtonItem:CPDFViewBarLeftButtonItem_Thumbnail];
-      
-      CNavBarButtonItem *back = [[CNavBarButtonItem alloc]initWithViewLeftBarButtonItem:CPDFViewBarLeftButtonItem_Back];
-
-      CNavBarButtonItem *search = [[CNavBarButtonItem alloc]initWithViewRightBarButtonItem:CPDFViewBarRightButtonItem_Search];
-      CNavBarButtonItem *bota = [[CNavBarButtonItem alloc]initWithViewRightBarButtonItem:CPDFViewBarRightButtonItem_Bota];
-      CNavBarButtonItem *more = [[CNavBarButtonItem alloc]initWithViewRightBarButtonItem:CPDFViewBarRightButtonItem_More];
-      configuration.showleftItems = @[back,thumbnail];
-      configuration.showRightItems = @[search,bota,more];
-      
-      CPDFViewController *pdfViewController = [[CPDFViewController alloc] initWithFilePath:path password:nil configuration:configuration];
-      pdfViewController.delegate = self;
-     
-      UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:pdfViewController];
-      navigationController.modalPresentationStyle = UIModalPresentationFullScreen;
-      [tRootViewControl presentViewController:navigationController animated:YES completion:nil];
-
-  } else if ([@"getTemporaryDirectory" isEqualToString:call.method]){
-      result([self getTemporaryDirectory]);
-  } else {
-      result(FlutterMethodNotImplemented);
-  }
-}
-
-- (NSString*)getTemporaryDirectory {
-    NSArray* paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES);
-    return paths.firstObject;
-}
-
-#pragma mark - CPDFViewBaseControllerDelete
-
-- (void)PDFViewBaseControllerDissmiss:(CPDFViewBaseController *)baseControllerDelete {
-    [baseControllerDelete dismissViewControllerAnimated:YES completion:nil];
-}
-
-@end

+ 0 - 25
ios/compdfkit_flutter.podspec

@@ -1,25 +0,0 @@
-#
-# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
-# Run `pod lib lint compdfkit_flutter.podspec` to validate before publishing.
-#
-Pod::Spec.new do |s|
-  s.name             = 'compdfkit_flutter'
-  s.version          = '1.0.0'
-  s.summary          = 'Flutter PDF Library by ComPDFKit'
-  s.description      = <<-DESC
-A new Flutter plugin project.
-                       DESC
-  s.homepage         = 'https://www.compdf.com'
-  s.license          = { :file => '../LICENSE' }
-  s.author           = { 'ComPDFKit' => 'support@compdf.com' }
-  s.source           = { :path => '.' }
-  s.source_files = 'Classes/**/*'
-  s.public_header_files = 'Classes/**/*.h'
-  s.dependency 'Flutter'
-  s.dependency("ComPDFKit_Tools")
-  s.dependency("ComPDFKit")
-  s.platform = :ios, '11.0'
-
-  # Flutter.framework does not contain a i386 slice.
-  s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
-end