├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── SCWebPreview.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcuserdata │ │ │ │ └── myeongsuchang.xcuserdatad │ │ │ │ ├── UserInterfaceState.xcuserstate │ │ │ │ └── WorkspaceSettings.xcsettings │ │ └── xcuserdata │ │ │ ├── maccli1.xcuserdatad │ │ │ └── xcschemes │ │ │ │ ├── Pods-SCWebPreview_Example.xcscheme │ │ │ │ ├── Pods-SCWebPreview_Tests.xcscheme │ │ │ │ ├── SCWebPreview.xcscheme │ │ │ │ └── xcschememanagement.plist │ │ │ └── myeongsuchang.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── Pods-SCWebPreview_Example.xcscheme │ │ │ ├── Pods-SCWebPreview_Tests.xcscheme │ │ │ ├── SCWebPreview.xcscheme │ │ │ └── xcschememanagement.plist │ └── Target Support Files │ │ ├── Pods-SCWebPreview_Example │ │ ├── Info.plist │ │ ├── Pods-SCWebPreview_Example-acknowledgements.markdown │ │ ├── Pods-SCWebPreview_Example-acknowledgements.plist │ │ ├── Pods-SCWebPreview_Example-dummy.m │ │ ├── Pods-SCWebPreview_Example-frameworks.sh │ │ ├── Pods-SCWebPreview_Example-resources.sh │ │ ├── Pods-SCWebPreview_Example-umbrella.h │ │ ├── Pods-SCWebPreview_Example.debug.xcconfig │ │ ├── Pods-SCWebPreview_Example.modulemap │ │ └── Pods-SCWebPreview_Example.release.xcconfig │ │ ├── Pods-SCWebPreview_Tests │ │ ├── Info.plist │ │ ├── Pods-SCWebPreview_Tests-acknowledgements.markdown │ │ ├── Pods-SCWebPreview_Tests-acknowledgements.plist │ │ ├── Pods-SCWebPreview_Tests-dummy.m │ │ ├── Pods-SCWebPreview_Tests-frameworks.sh │ │ ├── Pods-SCWebPreview_Tests-resources.sh │ │ ├── Pods-SCWebPreview_Tests-umbrella.h │ │ ├── Pods-SCWebPreview_Tests.debug.xcconfig │ │ ├── Pods-SCWebPreview_Tests.modulemap │ │ └── Pods-SCWebPreview_Tests.release.xcconfig │ │ └── SCWebPreview │ │ ├── Info.plist │ │ ├── SCWebPreview-dummy.m │ │ ├── SCWebPreview-prefix.pch │ │ ├── SCWebPreview-umbrella.h │ │ ├── SCWebPreview.modulemap │ │ └── SCWebPreview.xcconfig ├── SCWebPreview.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── SCWebPreview-Example.xcscheme │ └── xcuserdata │ │ ├── maccli1.xcuserdatad │ │ └── xcschemes │ │ │ └── xcschememanagement.plist │ │ └── myeongsuchang.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── SCWebPreview.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ ├── maccli1.xcuserdatad │ │ ├── UserInterfaceState.xcuserstate │ │ └── xcdebugger │ │ │ └── Breakpoints_v2.xcbkptlist │ │ └── myeongsuchang.xcuserdatad │ │ └── UserInterfaceState.xcuserstate ├── SCWebPreview │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── ViewController.swift │ ├── dummyfile1 │ │ ├── dummyfile1.swift │ │ ├── dummyfile2.swift │ │ ├── dummyfile3.swift │ │ └── dummyfile4.swift │ ├── image_not_found.png │ └── loading.jpg └── Tests │ ├── Info.plist │ └── Tests.swift ├── LICENSE ├── README.md ├── SCWebPreview.podspec ├── SCWebPreview └── Classes │ ├── .gitkeep │ └── SCWebPreview.swift ├── SCWebPreview_ScreenShot.gif ├── SCWebPreview_ScreenShot.png └── _Pods.xcodeproj /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'SCWebPreview_Example' do 4 | pod 'SCWebPreview', :path => '../' 5 | 6 | target 'SCWebPreview_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - SCWebPreview (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - SCWebPreview (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | SCWebPreview: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | SCWebPreview: 27a164595d5cff6ba60736fbe9d4685ab979724d 13 | 14 | PODFILE CHECKSUM: ac6407b54e7fd6960fb3d6ce3a1df763b36b089c 15 | 16 | COCOAPODS: 1.2.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/SCWebPreview.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SCWebPreview", 3 | "version": "0.1.0", 4 | "summary": "A short description of SCWebPreview.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/myoungsc/SCWebPreview", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "myoungsc": "myoungsc.dev@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/myoungsc/SCWebPreview.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "SCWebPreview/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - SCWebPreview (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - SCWebPreview (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | SCWebPreview: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | SCWebPreview: 27a164595d5cff6ba60736fbe9d4685ab979724d 13 | 14 | PODFILE CHECKSUM: ac6407b54e7fd6960fb3d6ce3a1df763b36b089c 15 | 16 | COCOAPODS: 1.2.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 14767F2DDFFA17E1BDBD1ECA2AA2FA1E /* Pods-SCWebPreview_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 78773F48F1B3CD23AF5A79A66309C0C0 /* Pods-SCWebPreview_Tests-dummy.m */; }; 11 | 1C9FA047A88A0E7CCC072A3290118E55 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 12 | 284FB49A2CAF85C550AB84A10A9F7871 /* Pods-SCWebPreview_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = BD8BD43C719E45C09768162088D10923 /* Pods-SCWebPreview_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 353BEB0446C5745CDFA2E46CE1A727BA /* SCWebPreview-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 98529F1490F217593938C9496644E33E /* SCWebPreview-dummy.m */; }; 14 | 4171909C2FC0657D72CBE9FD06CC14BF /* SCWebPreview-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = EC30B2313A7D9ED9159EDAC468FAA944 /* SCWebPreview-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | 4A40DFEA06751D0A61FDB0B3864A1458 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 16 | B9E8F5AF28D39A58F914C231C3ACDD90 /* SCWebPreview.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E15F02EFA0DA9B73D269A8E6357C4CB /* SCWebPreview.swift */; }; 17 | BAD4DF8C6768B874DA84B2A9CB761EE7 /* Pods-SCWebPreview_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E1631B49B1DCCD7861B15AF4562D9F53 /* Pods-SCWebPreview_Example-dummy.m */; }; 18 | DAE31327C5BEE35784F9B2A24B0673E8 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 19 | DC006DE0C2EA7FF068372CE1A54E2146 /* Pods-SCWebPreview_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 963E462A4035DDDC698E23DCAAC2699C /* Pods-SCWebPreview_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | B12F96A0D090C34C44E4A28FAA68B90E /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = 2BCEAC7840ECD7500187D0DC19458437; 28 | remoteInfo = SCWebPreview; 29 | }; 30 | /* End PBXContainerItemProxy section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 0374351BFF21DE297625B948066A715B /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 34 | 14DFC10B6A60538C82350B808654CAAA /* SCWebPreview-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SCWebPreview-prefix.pch"; sourceTree = ""; }; 35 | 17FEFF0A15773175BD55D13374D5BC32 /* Pods-SCWebPreview_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-SCWebPreview_Tests.modulemap"; sourceTree = ""; }; 36 | 33647158820D56F12A077F272DA96135 /* Pods-SCWebPreview_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCWebPreview_Tests.debug.xcconfig"; sourceTree = ""; }; 37 | 337B92D830E1A693F755BDBF524814B0 /* Pods-SCWebPreview_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SCWebPreview_Tests-frameworks.sh"; sourceTree = ""; }; 38 | 37ABBE6A4234D14CD367EB0DB02AC528 /* SCWebPreview.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SCWebPreview.xcconfig; sourceTree = ""; }; 39 | 3CC8D94E1255A50A1ED70FB3E14A9904 /* Pods-SCWebPreview_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SCWebPreview_Example-frameworks.sh"; sourceTree = ""; }; 40 | 44B51F2B648B7DF8852C885F79FA0197 /* Pods_SCWebPreview_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SCWebPreview_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 4CF74A1F2FC2F765A2C4513B77E25506 /* Pods_SCWebPreview_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SCWebPreview_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 5078AEAF9D040D05A0705AEF006760E0 /* Pods-SCWebPreview_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCWebPreview_Example.debug.xcconfig"; sourceTree = ""; }; 43 | 5E15F02EFA0DA9B73D269A8E6357C4CB /* SCWebPreview.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = SCWebPreview.swift; sourceTree = ""; }; 44 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 45 | 67D0D598340738EA56F863CFF2E2ED04 /* Pods-SCWebPreview_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SCWebPreview_Example-acknowledgements.markdown"; sourceTree = ""; }; 46 | 700C6CAAE78A9501722B07660D5A6AED /* Pods-SCWebPreview_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SCWebPreview_Example-acknowledgements.plist"; sourceTree = ""; }; 47 | 78773F48F1B3CD23AF5A79A66309C0C0 /* Pods-SCWebPreview_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SCWebPreview_Tests-dummy.m"; sourceTree = ""; }; 48 | 7BAEF5CD31D9DD6C2C1282A3BC69F3EE /* Pods-SCWebPreview_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SCWebPreview_Tests-acknowledgements.plist"; sourceTree = ""; }; 49 | 8AA18A99CC085F765EDC2F436C3E106C /* Pods-SCWebPreview_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCWebPreview_Example.release.xcconfig"; sourceTree = ""; }; 50 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 51 | 963E462A4035DDDC698E23DCAAC2699C /* Pods-SCWebPreview_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SCWebPreview_Tests-umbrella.h"; sourceTree = ""; }; 52 | 98529F1490F217593938C9496644E33E /* SCWebPreview-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SCWebPreview-dummy.m"; sourceTree = ""; }; 53 | 9B22DEABFA7AF2D2CDA3989864447843 /* Pods-SCWebPreview_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SCWebPreview_Tests-acknowledgements.markdown"; sourceTree = ""; }; 54 | BD8BD43C719E45C09768162088D10923 /* Pods-SCWebPreview_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SCWebPreview_Example-umbrella.h"; sourceTree = ""; }; 55 | BE892B91442709E3E1599E4A2738452B /* SCWebPreview.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = SCWebPreview.modulemap; sourceTree = ""; }; 56 | BE8ADC0866DEC19824252EBA9EB24453 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 57 | C908E24F55D87DE3B7815C611332AD4E /* Pods-SCWebPreview_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SCWebPreview_Tests-resources.sh"; sourceTree = ""; }; 58 | D5C885F82033EFF8DDDA2E5CB900F998 /* Pods-SCWebPreview_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-SCWebPreview_Example.modulemap"; sourceTree = ""; }; 59 | DEDFD6B5EC00BB2614853973598D6FDC /* Pods-SCWebPreview_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCWebPreview_Tests.release.xcconfig"; sourceTree = ""; }; 60 | E1631B49B1DCCD7861B15AF4562D9F53 /* Pods-SCWebPreview_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SCWebPreview_Example-dummy.m"; sourceTree = ""; }; 61 | EC30B2313A7D9ED9159EDAC468FAA944 /* SCWebPreview-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SCWebPreview-umbrella.h"; sourceTree = ""; }; 62 | ECC56D939028DE6A08E53C41C9094F5C /* SCWebPreview.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SCWebPreview.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 63 | EDD82A1134544C481A3F86E40D0EA027 /* Pods-SCWebPreview_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SCWebPreview_Example-resources.sh"; sourceTree = ""; }; 64 | F02BA74DEFD5685D7B10A794A6727733 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 65 | /* End PBXFileReference section */ 66 | 67 | /* Begin PBXFrameworksBuildPhase section */ 68 | 0C7BE2BC070011B714A026DF32CF80E7 /* Frameworks */ = { 69 | isa = PBXFrameworksBuildPhase; 70 | buildActionMask = 2147483647; 71 | files = ( 72 | DAE31327C5BEE35784F9B2A24B0673E8 /* Foundation.framework in Frameworks */, 73 | ); 74 | runOnlyForDeploymentPostprocessing = 0; 75 | }; 76 | CB22CC8D1773F0E42EB8BF2FA50A0D5E /* Frameworks */ = { 77 | isa = PBXFrameworksBuildPhase; 78 | buildActionMask = 2147483647; 79 | files = ( 80 | 1C9FA047A88A0E7CCC072A3290118E55 /* Foundation.framework in Frameworks */, 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | FD291D3BF848BA160A6227D858B625A9 /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | 4A40DFEA06751D0A61FDB0B3864A1458 /* Foundation.framework in Frameworks */, 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | /* End PBXFrameworksBuildPhase section */ 93 | 94 | /* Begin PBXGroup section */ 95 | 326D60DFBB2FB00A41BA6E60E449065E /* Pods-SCWebPreview_Example */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | BE8ADC0866DEC19824252EBA9EB24453 /* Info.plist */, 99 | D5C885F82033EFF8DDDA2E5CB900F998 /* Pods-SCWebPreview_Example.modulemap */, 100 | 67D0D598340738EA56F863CFF2E2ED04 /* Pods-SCWebPreview_Example-acknowledgements.markdown */, 101 | 700C6CAAE78A9501722B07660D5A6AED /* Pods-SCWebPreview_Example-acknowledgements.plist */, 102 | E1631B49B1DCCD7861B15AF4562D9F53 /* Pods-SCWebPreview_Example-dummy.m */, 103 | 3CC8D94E1255A50A1ED70FB3E14A9904 /* Pods-SCWebPreview_Example-frameworks.sh */, 104 | EDD82A1134544C481A3F86E40D0EA027 /* Pods-SCWebPreview_Example-resources.sh */, 105 | BD8BD43C719E45C09768162088D10923 /* Pods-SCWebPreview_Example-umbrella.h */, 106 | 5078AEAF9D040D05A0705AEF006760E0 /* Pods-SCWebPreview_Example.debug.xcconfig */, 107 | 8AA18A99CC085F765EDC2F436C3E106C /* Pods-SCWebPreview_Example.release.xcconfig */, 108 | ); 109 | name = "Pods-SCWebPreview_Example"; 110 | path = "Target Support Files/Pods-SCWebPreview_Example"; 111 | sourceTree = ""; 112 | }; 113 | 357A79848123DEB4084D1CD28D8AF883 /* Classes */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | 5E15F02EFA0DA9B73D269A8E6357C4CB /* SCWebPreview.swift */, 117 | ); 118 | path = Classes; 119 | sourceTree = ""; 120 | }; 121 | 37A2C58DC4087EDB700AB734EEB0F173 /* Pods-SCWebPreview_Tests */ = { 122 | isa = PBXGroup; 123 | children = ( 124 | 0374351BFF21DE297625B948066A715B /* Info.plist */, 125 | 17FEFF0A15773175BD55D13374D5BC32 /* Pods-SCWebPreview_Tests.modulemap */, 126 | 9B22DEABFA7AF2D2CDA3989864447843 /* Pods-SCWebPreview_Tests-acknowledgements.markdown */, 127 | 7BAEF5CD31D9DD6C2C1282A3BC69F3EE /* Pods-SCWebPreview_Tests-acknowledgements.plist */, 128 | 78773F48F1B3CD23AF5A79A66309C0C0 /* Pods-SCWebPreview_Tests-dummy.m */, 129 | 337B92D830E1A693F755BDBF524814B0 /* Pods-SCWebPreview_Tests-frameworks.sh */, 130 | C908E24F55D87DE3B7815C611332AD4E /* Pods-SCWebPreview_Tests-resources.sh */, 131 | 963E462A4035DDDC698E23DCAAC2699C /* Pods-SCWebPreview_Tests-umbrella.h */, 132 | 33647158820D56F12A077F272DA96135 /* Pods-SCWebPreview_Tests.debug.xcconfig */, 133 | DEDFD6B5EC00BB2614853973598D6FDC /* Pods-SCWebPreview_Tests.release.xcconfig */, 134 | ); 135 | name = "Pods-SCWebPreview_Tests"; 136 | path = "Target Support Files/Pods-SCWebPreview_Tests"; 137 | sourceTree = ""; 138 | }; 139 | 46E6BC863389D1AC4BDEDB392C674A86 /* SCWebPreview */ = { 140 | isa = PBXGroup; 141 | children = ( 142 | FE6E9F255863B2D1D5BA712577490A7F /* SCWebPreview */, 143 | 61FB876DEE9EBBD947DF961E9703E739 /* Support Files */, 144 | ); 145 | name = SCWebPreview; 146 | path = ../..; 147 | sourceTree = ""; 148 | }; 149 | 61FB876DEE9EBBD947DF961E9703E739 /* Support Files */ = { 150 | isa = PBXGroup; 151 | children = ( 152 | F02BA74DEFD5685D7B10A794A6727733 /* Info.plist */, 153 | BE892B91442709E3E1599E4A2738452B /* SCWebPreview.modulemap */, 154 | 37ABBE6A4234D14CD367EB0DB02AC528 /* SCWebPreview.xcconfig */, 155 | 98529F1490F217593938C9496644E33E /* SCWebPreview-dummy.m */, 156 | 14DFC10B6A60538C82350B808654CAAA /* SCWebPreview-prefix.pch */, 157 | EC30B2313A7D9ED9159EDAC468FAA944 /* SCWebPreview-umbrella.h */, 158 | ); 159 | name = "Support Files"; 160 | path = "Example/Pods/Target Support Files/SCWebPreview"; 161 | sourceTree = ""; 162 | }; 163 | 6DF5F8D2A31073A85D34C0ECCAD12380 /* Products */ = { 164 | isa = PBXGroup; 165 | children = ( 166 | 4CF74A1F2FC2F765A2C4513B77E25506 /* Pods_SCWebPreview_Example.framework */, 167 | 44B51F2B648B7DF8852C885F79FA0197 /* Pods_SCWebPreview_Tests.framework */, 168 | ECC56D939028DE6A08E53C41C9094F5C /* SCWebPreview.framework */, 169 | ); 170 | name = Products; 171 | sourceTree = ""; 172 | }; 173 | 7DB346D0F39D3F0E887471402A8071AB = { 174 | isa = PBXGroup; 175 | children = ( 176 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 177 | B6E4778E6263407E47B431EE8A6E38C1 /* Development Pods */, 178 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 179 | 6DF5F8D2A31073A85D34C0ECCAD12380 /* Products */, 180 | F07AC6B40D06D832724BC7893C3175EA /* Targets Support Files */, 181 | ); 182 | sourceTree = ""; 183 | }; 184 | B6E4778E6263407E47B431EE8A6E38C1 /* Development Pods */ = { 185 | isa = PBXGroup; 186 | children = ( 187 | 46E6BC863389D1AC4BDEDB392C674A86 /* SCWebPreview */, 188 | ); 189 | name = "Development Pods"; 190 | sourceTree = ""; 191 | }; 192 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 193 | isa = PBXGroup; 194 | children = ( 195 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 196 | ); 197 | name = Frameworks; 198 | sourceTree = ""; 199 | }; 200 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 201 | isa = PBXGroup; 202 | children = ( 203 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 204 | ); 205 | name = iOS; 206 | sourceTree = ""; 207 | }; 208 | F07AC6B40D06D832724BC7893C3175EA /* Targets Support Files */ = { 209 | isa = PBXGroup; 210 | children = ( 211 | 326D60DFBB2FB00A41BA6E60E449065E /* Pods-SCWebPreview_Example */, 212 | 37A2C58DC4087EDB700AB734EEB0F173 /* Pods-SCWebPreview_Tests */, 213 | ); 214 | name = "Targets Support Files"; 215 | sourceTree = ""; 216 | }; 217 | FE6E9F255863B2D1D5BA712577490A7F /* SCWebPreview */ = { 218 | isa = PBXGroup; 219 | children = ( 220 | 357A79848123DEB4084D1CD28D8AF883 /* Classes */, 221 | ); 222 | path = SCWebPreview; 223 | sourceTree = ""; 224 | }; 225 | /* End PBXGroup section */ 226 | 227 | /* Begin PBXHeadersBuildPhase section */ 228 | 6FDB7509FF7D31CAAC46845409D9D782 /* Headers */ = { 229 | isa = PBXHeadersBuildPhase; 230 | buildActionMask = 2147483647; 231 | files = ( 232 | 4171909C2FC0657D72CBE9FD06CC14BF /* SCWebPreview-umbrella.h in Headers */, 233 | ); 234 | runOnlyForDeploymentPostprocessing = 0; 235 | }; 236 | BB4B675D7E6B0619ECC5B04E5EC927F0 /* Headers */ = { 237 | isa = PBXHeadersBuildPhase; 238 | buildActionMask = 2147483647; 239 | files = ( 240 | 284FB49A2CAF85C550AB84A10A9F7871 /* Pods-SCWebPreview_Example-umbrella.h in Headers */, 241 | ); 242 | runOnlyForDeploymentPostprocessing = 0; 243 | }; 244 | D38D9D0F24A1AAACF931F0E6B8D86AEA /* Headers */ = { 245 | isa = PBXHeadersBuildPhase; 246 | buildActionMask = 2147483647; 247 | files = ( 248 | DC006DE0C2EA7FF068372CE1A54E2146 /* Pods-SCWebPreview_Tests-umbrella.h in Headers */, 249 | ); 250 | runOnlyForDeploymentPostprocessing = 0; 251 | }; 252 | /* End PBXHeadersBuildPhase section */ 253 | 254 | /* Begin PBXNativeTarget section */ 255 | 19AD650269E160BCAF99FF1D8B4B673F /* Pods-SCWebPreview_Example */ = { 256 | isa = PBXNativeTarget; 257 | buildConfigurationList = BF8A531DC43B91D045CE129B0EB5623A /* Build configuration list for PBXNativeTarget "Pods-SCWebPreview_Example" */; 258 | buildPhases = ( 259 | D04ABCDE50952696D3769583AC4653F2 /* Sources */, 260 | CB22CC8D1773F0E42EB8BF2FA50A0D5E /* Frameworks */, 261 | BB4B675D7E6B0619ECC5B04E5EC927F0 /* Headers */, 262 | ); 263 | buildRules = ( 264 | ); 265 | dependencies = ( 266 | 94254C8C8867B52458B1C23ECF79722C /* PBXTargetDependency */, 267 | ); 268 | name = "Pods-SCWebPreview_Example"; 269 | productName = "Pods-SCWebPreview_Example"; 270 | productReference = 4CF74A1F2FC2F765A2C4513B77E25506 /* Pods_SCWebPreview_Example.framework */; 271 | productType = "com.apple.product-type.framework"; 272 | }; 273 | 2BCEAC7840ECD7500187D0DC19458437 /* SCWebPreview */ = { 274 | isa = PBXNativeTarget; 275 | buildConfigurationList = C166DB33E2B3D0D819512991D788A361 /* Build configuration list for PBXNativeTarget "SCWebPreview" */; 276 | buildPhases = ( 277 | 559EE5CC40CD4FC090C2926F64244C6A /* Sources */, 278 | 0C7BE2BC070011B714A026DF32CF80E7 /* Frameworks */, 279 | 6FDB7509FF7D31CAAC46845409D9D782 /* Headers */, 280 | ); 281 | buildRules = ( 282 | ); 283 | dependencies = ( 284 | ); 285 | name = SCWebPreview; 286 | productName = SCWebPreview; 287 | productReference = ECC56D939028DE6A08E53C41C9094F5C /* SCWebPreview.framework */; 288 | productType = "com.apple.product-type.framework"; 289 | }; 290 | 3C97EBDAC7DDEB63825DB284883C922B /* Pods-SCWebPreview_Tests */ = { 291 | isa = PBXNativeTarget; 292 | buildConfigurationList = 429625AE8947C1553ACDD209C45BEC2B /* Build configuration list for PBXNativeTarget "Pods-SCWebPreview_Tests" */; 293 | buildPhases = ( 294 | C683D9B723B3C60FCEE6DC5262FEED85 /* Sources */, 295 | FD291D3BF848BA160A6227D858B625A9 /* Frameworks */, 296 | D38D9D0F24A1AAACF931F0E6B8D86AEA /* Headers */, 297 | ); 298 | buildRules = ( 299 | ); 300 | dependencies = ( 301 | ); 302 | name = "Pods-SCWebPreview_Tests"; 303 | productName = "Pods-SCWebPreview_Tests"; 304 | productReference = 44B51F2B648B7DF8852C885F79FA0197 /* Pods_SCWebPreview_Tests.framework */; 305 | productType = "com.apple.product-type.framework"; 306 | }; 307 | /* End PBXNativeTarget section */ 308 | 309 | /* Begin PBXProject section */ 310 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 311 | isa = PBXProject; 312 | attributes = { 313 | LastSwiftUpdateCheck = 0830; 314 | LastUpgradeCheck = 1020; 315 | TargetAttributes = { 316 | 19AD650269E160BCAF99FF1D8B4B673F = { 317 | LastSwiftMigration = 0900; 318 | }; 319 | 2BCEAC7840ECD7500187D0DC19458437 = { 320 | LastSwiftMigration = 1020; 321 | }; 322 | }; 323 | }; 324 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 325 | compatibilityVersion = "Xcode 3.2"; 326 | developmentRegion = en; 327 | hasScannedForEncodings = 0; 328 | knownRegions = ( 329 | en, 330 | Base, 331 | ); 332 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 333 | productRefGroup = 6DF5F8D2A31073A85D34C0ECCAD12380 /* Products */; 334 | projectDirPath = ""; 335 | projectRoot = ""; 336 | targets = ( 337 | 19AD650269E160BCAF99FF1D8B4B673F /* Pods-SCWebPreview_Example */, 338 | 3C97EBDAC7DDEB63825DB284883C922B /* Pods-SCWebPreview_Tests */, 339 | 2BCEAC7840ECD7500187D0DC19458437 /* SCWebPreview */, 340 | ); 341 | }; 342 | /* End PBXProject section */ 343 | 344 | /* Begin PBXSourcesBuildPhase section */ 345 | 559EE5CC40CD4FC090C2926F64244C6A /* Sources */ = { 346 | isa = PBXSourcesBuildPhase; 347 | buildActionMask = 2147483647; 348 | files = ( 349 | B9E8F5AF28D39A58F914C231C3ACDD90 /* SCWebPreview.swift in Sources */, 350 | 353BEB0446C5745CDFA2E46CE1A727BA /* SCWebPreview-dummy.m in Sources */, 351 | ); 352 | runOnlyForDeploymentPostprocessing = 0; 353 | }; 354 | C683D9B723B3C60FCEE6DC5262FEED85 /* Sources */ = { 355 | isa = PBXSourcesBuildPhase; 356 | buildActionMask = 2147483647; 357 | files = ( 358 | 14767F2DDFFA17E1BDBD1ECA2AA2FA1E /* Pods-SCWebPreview_Tests-dummy.m in Sources */, 359 | ); 360 | runOnlyForDeploymentPostprocessing = 0; 361 | }; 362 | D04ABCDE50952696D3769583AC4653F2 /* Sources */ = { 363 | isa = PBXSourcesBuildPhase; 364 | buildActionMask = 2147483647; 365 | files = ( 366 | BAD4DF8C6768B874DA84B2A9CB761EE7 /* Pods-SCWebPreview_Example-dummy.m in Sources */, 367 | ); 368 | runOnlyForDeploymentPostprocessing = 0; 369 | }; 370 | /* End PBXSourcesBuildPhase section */ 371 | 372 | /* Begin PBXTargetDependency section */ 373 | 94254C8C8867B52458B1C23ECF79722C /* PBXTargetDependency */ = { 374 | isa = PBXTargetDependency; 375 | name = SCWebPreview; 376 | target = 2BCEAC7840ECD7500187D0DC19458437 /* SCWebPreview */; 377 | targetProxy = B12F96A0D090C34C44E4A28FAA68B90E /* PBXContainerItemProxy */; 378 | }; 379 | /* End PBXTargetDependency section */ 380 | 381 | /* Begin XCBuildConfiguration section */ 382 | 16102FAF16B1D49D3E39F86F9BDEB2AD /* Debug */ = { 383 | isa = XCBuildConfiguration; 384 | baseConfigurationReference = 5078AEAF9D040D05A0705AEF006760E0 /* Pods-SCWebPreview_Example.debug.xcconfig */; 385 | buildSettings = { 386 | CODE_SIGN_IDENTITY = ""; 387 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 388 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 389 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 390 | CURRENT_PROJECT_VERSION = 1; 391 | DEBUG_INFORMATION_FORMAT = dwarf; 392 | DEFINES_MODULE = YES; 393 | DYLIB_COMPATIBILITY_VERSION = 1; 394 | DYLIB_CURRENT_VERSION = 1; 395 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 396 | ENABLE_STRICT_OBJC_MSGSEND = YES; 397 | GCC_NO_COMMON_BLOCKS = YES; 398 | INFOPLIST_FILE = "Target Support Files/Pods-SCWebPreview_Example/Info.plist"; 399 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 400 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 401 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 402 | MACH_O_TYPE = staticlib; 403 | MODULEMAP_FILE = "Target Support Files/Pods-SCWebPreview_Example/Pods-SCWebPreview_Example.modulemap"; 404 | MTL_ENABLE_DEBUG_INFO = YES; 405 | OTHER_LDFLAGS = ""; 406 | OTHER_LIBTOOLFLAGS = ""; 407 | PODS_ROOT = "$(SRCROOT)"; 408 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 409 | PRODUCT_NAME = Pods_SCWebPreview_Example; 410 | SDKROOT = iphoneos; 411 | SKIP_INSTALL = YES; 412 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 413 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 414 | SWIFT_SWIFT3_OBJC_INFERENCE = On; 415 | SWIFT_VERSION = 4.0; 416 | TARGETED_DEVICE_FAMILY = "1,2"; 417 | VERSIONING_SYSTEM = "apple-generic"; 418 | VERSION_INFO_PREFIX = ""; 419 | }; 420 | name = Debug; 421 | }; 422 | 345CC476DF4A7516DBD2220CF5035FF3 /* Debug */ = { 423 | isa = XCBuildConfiguration; 424 | buildSettings = { 425 | ALWAYS_SEARCH_USER_PATHS = NO; 426 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 427 | CLANG_ANALYZER_NONNULL = YES; 428 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 429 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 430 | CLANG_CXX_LIBRARY = "libc++"; 431 | CLANG_ENABLE_MODULES = YES; 432 | CLANG_ENABLE_OBJC_ARC = YES; 433 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 434 | CLANG_WARN_BOOL_CONVERSION = YES; 435 | CLANG_WARN_COMMA = YES; 436 | CLANG_WARN_CONSTANT_CONVERSION = YES; 437 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 438 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 439 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 440 | CLANG_WARN_EMPTY_BODY = YES; 441 | CLANG_WARN_ENUM_CONVERSION = YES; 442 | CLANG_WARN_INFINITE_RECURSION = YES; 443 | CLANG_WARN_INT_CONVERSION = YES; 444 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 445 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 446 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 447 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 448 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 449 | CLANG_WARN_STRICT_PROTOTYPES = YES; 450 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 451 | CLANG_WARN_UNREACHABLE_CODE = YES; 452 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 453 | CODE_SIGNING_REQUIRED = NO; 454 | COPY_PHASE_STRIP = NO; 455 | ENABLE_STRICT_OBJC_MSGSEND = YES; 456 | ENABLE_TESTABILITY = YES; 457 | GCC_C_LANGUAGE_STANDARD = gnu99; 458 | GCC_DYNAMIC_NO_PIC = NO; 459 | GCC_NO_COMMON_BLOCKS = YES; 460 | GCC_OPTIMIZATION_LEVEL = 0; 461 | GCC_PREPROCESSOR_DEFINITIONS = ( 462 | "POD_CONFIGURATION_DEBUG=1", 463 | "DEBUG=1", 464 | "$(inherited)", 465 | ); 466 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 467 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 468 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 469 | GCC_WARN_UNDECLARED_SELECTOR = YES; 470 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 471 | GCC_WARN_UNUSED_FUNCTION = YES; 472 | GCC_WARN_UNUSED_VARIABLE = YES; 473 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 474 | ONLY_ACTIVE_ARCH = YES; 475 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 476 | STRIP_INSTALLED_PRODUCT = NO; 477 | SYMROOT = "${SRCROOT}/../build"; 478 | }; 479 | name = Debug; 480 | }; 481 | 4921F97F635392B236B53B188382762F /* Release */ = { 482 | isa = XCBuildConfiguration; 483 | baseConfigurationReference = 8AA18A99CC085F765EDC2F436C3E106C /* Pods-SCWebPreview_Example.release.xcconfig */; 484 | buildSettings = { 485 | CODE_SIGN_IDENTITY = ""; 486 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 487 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 488 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 489 | CURRENT_PROJECT_VERSION = 1; 490 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 491 | DEFINES_MODULE = YES; 492 | DYLIB_COMPATIBILITY_VERSION = 1; 493 | DYLIB_CURRENT_VERSION = 1; 494 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 495 | ENABLE_STRICT_OBJC_MSGSEND = YES; 496 | GCC_NO_COMMON_BLOCKS = YES; 497 | INFOPLIST_FILE = "Target Support Files/Pods-SCWebPreview_Example/Info.plist"; 498 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 499 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 500 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 501 | MACH_O_TYPE = staticlib; 502 | MODULEMAP_FILE = "Target Support Files/Pods-SCWebPreview_Example/Pods-SCWebPreview_Example.modulemap"; 503 | MTL_ENABLE_DEBUG_INFO = NO; 504 | OTHER_LDFLAGS = ""; 505 | OTHER_LIBTOOLFLAGS = ""; 506 | PODS_ROOT = "$(SRCROOT)"; 507 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 508 | PRODUCT_NAME = Pods_SCWebPreview_Example; 509 | SDKROOT = iphoneos; 510 | SKIP_INSTALL = YES; 511 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 512 | SWIFT_SWIFT3_OBJC_INFERENCE = On; 513 | SWIFT_VERSION = 4.0; 514 | TARGETED_DEVICE_FAMILY = "1,2"; 515 | VERSIONING_SYSTEM = "apple-generic"; 516 | VERSION_INFO_PREFIX = ""; 517 | }; 518 | name = Release; 519 | }; 520 | 4B70874463B09D9C63ED9486977B9ADF /* Debug */ = { 521 | isa = XCBuildConfiguration; 522 | baseConfigurationReference = 33647158820D56F12A077F272DA96135 /* Pods-SCWebPreview_Tests.debug.xcconfig */; 523 | buildSettings = { 524 | CODE_SIGN_IDENTITY = ""; 525 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 526 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 527 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 528 | CURRENT_PROJECT_VERSION = 1; 529 | DEBUG_INFORMATION_FORMAT = dwarf; 530 | DEFINES_MODULE = YES; 531 | DYLIB_COMPATIBILITY_VERSION = 1; 532 | DYLIB_CURRENT_VERSION = 1; 533 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 534 | ENABLE_STRICT_OBJC_MSGSEND = YES; 535 | GCC_NO_COMMON_BLOCKS = YES; 536 | INFOPLIST_FILE = "Target Support Files/Pods-SCWebPreview_Tests/Info.plist"; 537 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 538 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 539 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 540 | MACH_O_TYPE = staticlib; 541 | MODULEMAP_FILE = "Target Support Files/Pods-SCWebPreview_Tests/Pods-SCWebPreview_Tests.modulemap"; 542 | MTL_ENABLE_DEBUG_INFO = YES; 543 | OTHER_LDFLAGS = ""; 544 | OTHER_LIBTOOLFLAGS = ""; 545 | PODS_ROOT = "$(SRCROOT)"; 546 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 547 | PRODUCT_NAME = Pods_SCWebPreview_Tests; 548 | SDKROOT = iphoneos; 549 | SKIP_INSTALL = YES; 550 | TARGETED_DEVICE_FAMILY = "1,2"; 551 | VERSIONING_SYSTEM = "apple-generic"; 552 | VERSION_INFO_PREFIX = ""; 553 | }; 554 | name = Debug; 555 | }; 556 | 543E9B1E67F8A959EEDA8377B2FD60C8 /* Debug */ = { 557 | isa = XCBuildConfiguration; 558 | baseConfigurationReference = 37ABBE6A4234D14CD367EB0DB02AC528 /* SCWebPreview.xcconfig */; 559 | buildSettings = { 560 | CODE_SIGN_IDENTITY = ""; 561 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 562 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 563 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 564 | CURRENT_PROJECT_VERSION = 1; 565 | DEBUG_INFORMATION_FORMAT = dwarf; 566 | DEFINES_MODULE = YES; 567 | DYLIB_COMPATIBILITY_VERSION = 1; 568 | DYLIB_CURRENT_VERSION = 1; 569 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 570 | ENABLE_STRICT_OBJC_MSGSEND = YES; 571 | GCC_NO_COMMON_BLOCKS = YES; 572 | GCC_PREFIX_HEADER = "Target Support Files/SCWebPreview/SCWebPreview-prefix.pch"; 573 | INFOPLIST_FILE = "Target Support Files/SCWebPreview/Info.plist"; 574 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 575 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 576 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 577 | MODULEMAP_FILE = "Target Support Files/SCWebPreview/SCWebPreview.modulemap"; 578 | MTL_ENABLE_DEBUG_INFO = YES; 579 | PRODUCT_NAME = SCWebPreview; 580 | SDKROOT = iphoneos; 581 | SKIP_INSTALL = YES; 582 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 583 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 584 | SWIFT_VERSION = 5.0; 585 | TARGETED_DEVICE_FAMILY = "1,2"; 586 | VERSIONING_SYSTEM = "apple-generic"; 587 | VERSION_INFO_PREFIX = ""; 588 | }; 589 | name = Debug; 590 | }; 591 | 57FCA41251F1EE09D39F8DC895BE3193 /* Release */ = { 592 | isa = XCBuildConfiguration; 593 | baseConfigurationReference = DEDFD6B5EC00BB2614853973598D6FDC /* Pods-SCWebPreview_Tests.release.xcconfig */; 594 | buildSettings = { 595 | CODE_SIGN_IDENTITY = ""; 596 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 597 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 598 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 599 | CURRENT_PROJECT_VERSION = 1; 600 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 601 | DEFINES_MODULE = YES; 602 | DYLIB_COMPATIBILITY_VERSION = 1; 603 | DYLIB_CURRENT_VERSION = 1; 604 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 605 | ENABLE_STRICT_OBJC_MSGSEND = YES; 606 | GCC_NO_COMMON_BLOCKS = YES; 607 | INFOPLIST_FILE = "Target Support Files/Pods-SCWebPreview_Tests/Info.plist"; 608 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 609 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 610 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 611 | MACH_O_TYPE = staticlib; 612 | MODULEMAP_FILE = "Target Support Files/Pods-SCWebPreview_Tests/Pods-SCWebPreview_Tests.modulemap"; 613 | MTL_ENABLE_DEBUG_INFO = NO; 614 | OTHER_LDFLAGS = ""; 615 | OTHER_LIBTOOLFLAGS = ""; 616 | PODS_ROOT = "$(SRCROOT)"; 617 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 618 | PRODUCT_NAME = Pods_SCWebPreview_Tests; 619 | SDKROOT = iphoneos; 620 | SKIP_INSTALL = YES; 621 | TARGETED_DEVICE_FAMILY = "1,2"; 622 | VERSIONING_SYSTEM = "apple-generic"; 623 | VERSION_INFO_PREFIX = ""; 624 | }; 625 | name = Release; 626 | }; 627 | 717E77604BFBB04BEAF56608A1CB2EDE /* Release */ = { 628 | isa = XCBuildConfiguration; 629 | buildSettings = { 630 | ALWAYS_SEARCH_USER_PATHS = NO; 631 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 632 | CLANG_ANALYZER_NONNULL = YES; 633 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 634 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 635 | CLANG_CXX_LIBRARY = "libc++"; 636 | CLANG_ENABLE_MODULES = YES; 637 | CLANG_ENABLE_OBJC_ARC = YES; 638 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 639 | CLANG_WARN_BOOL_CONVERSION = YES; 640 | CLANG_WARN_COMMA = YES; 641 | CLANG_WARN_CONSTANT_CONVERSION = YES; 642 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 643 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 644 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 645 | CLANG_WARN_EMPTY_BODY = YES; 646 | CLANG_WARN_ENUM_CONVERSION = YES; 647 | CLANG_WARN_INFINITE_RECURSION = YES; 648 | CLANG_WARN_INT_CONVERSION = YES; 649 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 650 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 651 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 652 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 653 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 654 | CLANG_WARN_STRICT_PROTOTYPES = YES; 655 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 656 | CLANG_WARN_UNREACHABLE_CODE = YES; 657 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 658 | CODE_SIGNING_REQUIRED = NO; 659 | COPY_PHASE_STRIP = YES; 660 | ENABLE_NS_ASSERTIONS = NO; 661 | ENABLE_STRICT_OBJC_MSGSEND = YES; 662 | GCC_C_LANGUAGE_STANDARD = gnu99; 663 | GCC_NO_COMMON_BLOCKS = YES; 664 | GCC_PREPROCESSOR_DEFINITIONS = ( 665 | "POD_CONFIGURATION_RELEASE=1", 666 | "$(inherited)", 667 | ); 668 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 669 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 670 | GCC_WARN_UNDECLARED_SELECTOR = YES; 671 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 672 | GCC_WARN_UNUSED_FUNCTION = YES; 673 | GCC_WARN_UNUSED_VARIABLE = YES; 674 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 675 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 676 | STRIP_INSTALLED_PRODUCT = NO; 677 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 678 | SYMROOT = "${SRCROOT}/../build"; 679 | VALIDATE_PRODUCT = YES; 680 | }; 681 | name = Release; 682 | }; 683 | CDCEEA2F3B6811B7A0506052263B6412 /* Release */ = { 684 | isa = XCBuildConfiguration; 685 | baseConfigurationReference = 37ABBE6A4234D14CD367EB0DB02AC528 /* SCWebPreview.xcconfig */; 686 | buildSettings = { 687 | CODE_SIGN_IDENTITY = ""; 688 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 689 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 690 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 691 | CURRENT_PROJECT_VERSION = 1; 692 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 693 | DEFINES_MODULE = YES; 694 | DYLIB_COMPATIBILITY_VERSION = 1; 695 | DYLIB_CURRENT_VERSION = 1; 696 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 697 | ENABLE_STRICT_OBJC_MSGSEND = YES; 698 | GCC_NO_COMMON_BLOCKS = YES; 699 | GCC_PREFIX_HEADER = "Target Support Files/SCWebPreview/SCWebPreview-prefix.pch"; 700 | INFOPLIST_FILE = "Target Support Files/SCWebPreview/Info.plist"; 701 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 702 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 703 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 704 | MODULEMAP_FILE = "Target Support Files/SCWebPreview/SCWebPreview.modulemap"; 705 | MTL_ENABLE_DEBUG_INFO = NO; 706 | PRODUCT_NAME = SCWebPreview; 707 | SDKROOT = iphoneos; 708 | SKIP_INSTALL = YES; 709 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 710 | SWIFT_VERSION = 5.0; 711 | TARGETED_DEVICE_FAMILY = "1,2"; 712 | VERSIONING_SYSTEM = "apple-generic"; 713 | VERSION_INFO_PREFIX = ""; 714 | }; 715 | name = Release; 716 | }; 717 | /* End XCBuildConfiguration section */ 718 | 719 | /* Begin XCConfigurationList section */ 720 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 721 | isa = XCConfigurationList; 722 | buildConfigurations = ( 723 | 345CC476DF4A7516DBD2220CF5035FF3 /* Debug */, 724 | 717E77604BFBB04BEAF56608A1CB2EDE /* Release */, 725 | ); 726 | defaultConfigurationIsVisible = 0; 727 | defaultConfigurationName = Release; 728 | }; 729 | 429625AE8947C1553ACDD209C45BEC2B /* Build configuration list for PBXNativeTarget "Pods-SCWebPreview_Tests" */ = { 730 | isa = XCConfigurationList; 731 | buildConfigurations = ( 732 | 4B70874463B09D9C63ED9486977B9ADF /* Debug */, 733 | 57FCA41251F1EE09D39F8DC895BE3193 /* Release */, 734 | ); 735 | defaultConfigurationIsVisible = 0; 736 | defaultConfigurationName = Release; 737 | }; 738 | BF8A531DC43B91D045CE129B0EB5623A /* Build configuration list for PBXNativeTarget "Pods-SCWebPreview_Example" */ = { 739 | isa = XCConfigurationList; 740 | buildConfigurations = ( 741 | 16102FAF16B1D49D3E39F86F9BDEB2AD /* Debug */, 742 | 4921F97F635392B236B53B188382762F /* Release */, 743 | ); 744 | defaultConfigurationIsVisible = 0; 745 | defaultConfigurationName = Release; 746 | }; 747 | C166DB33E2B3D0D819512991D788A361 /* Build configuration list for PBXNativeTarget "SCWebPreview" */ = { 748 | isa = XCConfigurationList; 749 | buildConfigurations = ( 750 | 543E9B1E67F8A959EEDA8377B2FD60C8 /* Debug */, 751 | CDCEEA2F3B6811B7A0506052263B6412 /* Release */, 752 | ); 753 | defaultConfigurationIsVisible = 0; 754 | defaultConfigurationName = Release; 755 | }; 756 | /* End XCConfigurationList section */ 757 | }; 758 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 759 | } 760 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/myeongsuchang.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myoungsc/SCWebPreview/2d45f60643555fa070256afca90931987ad672ef/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/myeongsuchang.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/xcuserdata/myeongsuchang.xcuserdatad/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildLocationStyle 6 | UseTargetSettings 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/maccli1.xcuserdatad/xcschemes/Pods-SCWebPreview_Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 70 | 71 | 72 | 73 | 75 | 76 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/maccli1.xcuserdatad/xcschemes/Pods-SCWebPreview_Tests.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 70 | 71 | 72 | 73 | 75 | 76 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/maccli1.xcuserdatad/xcschemes/SCWebPreview.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 70 | 71 | 72 | 73 | 75 | 76 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/maccli1.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Pods-SCWebPreview_Example.xcscheme 8 | 9 | orderHint 10 | 1 11 | 12 | Pods-SCWebPreview_Tests.xcscheme 13 | 14 | orderHint 15 | 2 16 | 17 | SCWebPreview.xcscheme 18 | 19 | orderHint 20 | 3 21 | 22 | 23 | SuppressBuildableAutocreation 24 | 25 | 19AD650269E160BCAF99FF1D8B4B673F 26 | 27 | primary 28 | 29 | 30 | 2BCEAC7840ECD7500187D0DC19458437 31 | 32 | primary 33 | 34 | 35 | 3C97EBDAC7DDEB63825DB284883C922B 36 | 37 | primary 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/myeongsuchang.xcuserdatad/xcschemes/Pods-SCWebPreview_Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 66 | 67 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/myeongsuchang.xcuserdatad/xcschemes/Pods-SCWebPreview_Tests.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 66 | 67 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/myeongsuchang.xcuserdatad/xcschemes/SCWebPreview.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 66 | 67 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/myeongsuchang.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Pods-SCWebPreview_Example.xcscheme 8 | 9 | isShown 10 | 11 | 12 | Pods-SCWebPreview_Tests.xcscheme 13 | 14 | isShown 15 | 16 | 17 | SCWebPreview.xcscheme 18 | 19 | isShown 20 | 21 | 22 | 23 | SuppressBuildableAutocreation 24 | 25 | 19AD650269E160BCAF99FF1D8B4B673F 26 | 27 | primary 28 | 29 | 30 | 2BCEAC7840ECD7500187D0DC19458437 31 | 32 | primary 33 | 34 | 35 | 3C97EBDAC7DDEB63825DB284883C922B 36 | 37 | primary 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.2.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Example/Pods-SCWebPreview_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## SCWebPreview 5 | 6 | Copyright (c) 2017 myoungsc 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Example/Pods-SCWebPreview_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2017 myoungsc <myoungsc.dev@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | SCWebPreview 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Example/Pods-SCWebPreview_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_SCWebPreview_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_SCWebPreview_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Example/Pods-SCWebPreview_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | 91 | if [[ "$CONFIGURATION" == "Debug" ]]; then 92 | install_framework "$BUILT_PRODUCTS_DIR/SCWebPreview/SCWebPreview.framework" 93 | fi 94 | if [[ "$CONFIGURATION" == "Release" ]]; then 95 | install_framework "$BUILT_PRODUCTS_DIR/SCWebPreview/SCWebPreview.framework" 96 | fi 97 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 98 | wait 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Example/Pods-SCWebPreview_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | 4) 25 | TARGET_DEVICE_ARGS="--target-device watch" 26 | ;; 27 | *) 28 | TARGET_DEVICE_ARGS="--target-device mac" 29 | ;; 30 | esac 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "${PODS_ROOT}*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Example/Pods-SCWebPreview_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_SCWebPreview_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_SCWebPreview_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Example/Pods-SCWebPreview_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/SCWebPreview" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/SCWebPreview/SCWebPreview.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "SCWebPreview" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Example/Pods-SCWebPreview_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_SCWebPreview_Example { 2 | umbrella header "Pods-SCWebPreview_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Example/Pods-SCWebPreview_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/SCWebPreview" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/SCWebPreview/SCWebPreview.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "SCWebPreview" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.2.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Tests/Pods-SCWebPreview_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Tests/Pods-SCWebPreview_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Tests/Pods-SCWebPreview_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_SCWebPreview_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_SCWebPreview_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Tests/Pods-SCWebPreview_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 91 | wait 92 | fi 93 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Tests/Pods-SCWebPreview_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | 4) 25 | TARGET_DEVICE_ARGS="--target-device watch" 26 | ;; 27 | *) 28 | TARGET_DEVICE_ARGS="--target-device mac" 29 | ;; 30 | esac 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "${PODS_ROOT}*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Tests/Pods-SCWebPreview_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_SCWebPreview_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_SCWebPreview_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Tests/Pods-SCWebPreview_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/SCWebPreview" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/SCWebPreview/SCWebPreview.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Tests/Pods-SCWebPreview_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_SCWebPreview_Tests { 2 | umbrella header "Pods-SCWebPreview_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCWebPreview_Tests/Pods-SCWebPreview_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/SCWebPreview" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/SCWebPreview/SCWebPreview.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SCWebPreview/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.2.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SCWebPreview/SCWebPreview-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_SCWebPreview : NSObject 3 | @end 4 | @implementation PodsDummy_SCWebPreview 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SCWebPreview/SCWebPreview-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SCWebPreview/SCWebPreview-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double SCWebPreviewVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char SCWebPreviewVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SCWebPreview/SCWebPreview.modulemap: -------------------------------------------------------------------------------- 1 | framework module SCWebPreview { 2 | umbrella header "SCWebPreview-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SCWebPreview/SCWebPreview.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/SCWebPreview 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/SCWebPreview.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 0D6559E85957DAEABB4811C5 /* Pods_SCWebPreview_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 12E6D26A5B5FE4B7E751DA18 /* Pods_SCWebPreview_Tests.framework */; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 13 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 14 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 15 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 16 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 17 | 630A90001F4D4FE4007771A2 /* loading.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 630A8FFE1F4D4FE4007771A2 /* loading.jpg */; }; 18 | 630A90011F4D4FE4007771A2 /* image_not_found.png in Resources */ = {isa = PBXBuildFile; fileRef = 630A8FFF1F4D4FE4007771A2 /* image_not_found.png */; }; 19 | E4AE62BB1F4DDAAF0026619D /* dummyfile1.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4AE62BA1F4DDAAF0026619D /* dummyfile1.swift */; }; 20 | E4AE62BD1F4DDABB0026619D /* dummyfile2.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4AE62BC1F4DDABB0026619D /* dummyfile2.swift */; }; 21 | E4AE62BF1F4DDD820026619D /* dummyfile3.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4AE62BE1F4DDD820026619D /* dummyfile3.swift */; }; 22 | E4AE62C11F4DDD8C0026619D /* dummyfile4.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4AE62C01F4DDD8C0026619D /* dummyfile4.swift */; }; 23 | E9FB207BC8758239D84B9A60 /* Pods_SCWebPreview_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 899F19FFB2A2E348E562049B /* Pods_SCWebPreview_Example.framework */; }; 24 | /* End PBXBuildFile section */ 25 | 26 | /* Begin PBXContainerItemProxy section */ 27 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 28 | isa = PBXContainerItemProxy; 29 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 30 | proxyType = 1; 31 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 32 | remoteInfo = SCWebPreview; 33 | }; 34 | /* End PBXContainerItemProxy section */ 35 | 36 | /* Begin PBXFileReference section */ 37 | 092C6EF387794BFC55410F14 /* Pods-SCWebPreview_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCWebPreview_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SCWebPreview_Tests/Pods-SCWebPreview_Tests.debug.xcconfig"; sourceTree = ""; }; 38 | 12E6D26A5B5FE4B7E751DA18 /* Pods_SCWebPreview_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SCWebPreview_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 39 | 2F40B32148B827A65A1BCAD2 /* Pods-SCWebPreview_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCWebPreview_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SCWebPreview_Tests/Pods-SCWebPreview_Tests.release.xcconfig"; sourceTree = ""; }; 40 | 48AC5DEBF99A906CF5BD52D6 /* SCWebPreview.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = SCWebPreview.podspec; path = ../SCWebPreview.podspec; sourceTree = ""; }; 41 | 607FACD01AFB9204008FA782 /* SCWebPreview_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SCWebPreview_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 43 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 44 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 45 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 46 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 47 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 48 | 607FACE51AFB9204008FA782 /* SCWebPreview_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SCWebPreview_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 50 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 51 | 630A8FFE1F4D4FE4007771A2 /* loading.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = loading.jpg; sourceTree = ""; }; 52 | 630A8FFF1F4D4FE4007771A2 /* image_not_found.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = image_not_found.png; sourceTree = ""; }; 53 | 67E9E310460116E20393A413 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 54 | 899F19FFB2A2E348E562049B /* Pods_SCWebPreview_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SCWebPreview_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 55 | A755973D574E75DA6A30E830 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 56 | C644F5C733792FF43EA0EE4B /* Pods-SCWebPreview_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCWebPreview_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SCWebPreview_Example/Pods-SCWebPreview_Example.debug.xcconfig"; sourceTree = ""; }; 57 | E4AE62BA1F4DDAAF0026619D /* dummyfile1.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = dummyfile1.swift; path = dummyfile1/dummyfile1.swift; sourceTree = ""; }; 58 | E4AE62BC1F4DDABB0026619D /* dummyfile2.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = dummyfile2.swift; path = dummyfile1/dummyfile2.swift; sourceTree = ""; }; 59 | E4AE62BE1F4DDD820026619D /* dummyfile3.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = dummyfile3.swift; path = dummyfile1/dummyfile3.swift; sourceTree = ""; }; 60 | E4AE62C01F4DDD8C0026619D /* dummyfile4.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = dummyfile4.swift; path = dummyfile1/dummyfile4.swift; sourceTree = ""; }; 61 | F68BFB69AF0FC3D8640A3FEB /* Pods-SCWebPreview_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCWebPreview_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-SCWebPreview_Example/Pods-SCWebPreview_Example.release.xcconfig"; sourceTree = ""; }; 62 | /* End PBXFileReference section */ 63 | 64 | /* Begin PBXFrameworksBuildPhase section */ 65 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 66 | isa = PBXFrameworksBuildPhase; 67 | buildActionMask = 2147483647; 68 | files = ( 69 | E9FB207BC8758239D84B9A60 /* Pods_SCWebPreview_Example.framework in Frameworks */, 70 | ); 71 | runOnlyForDeploymentPostprocessing = 0; 72 | }; 73 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 74 | isa = PBXFrameworksBuildPhase; 75 | buildActionMask = 2147483647; 76 | files = ( 77 | 0D6559E85957DAEABB4811C5 /* Pods_SCWebPreview_Tests.framework in Frameworks */, 78 | ); 79 | runOnlyForDeploymentPostprocessing = 0; 80 | }; 81 | /* End PBXFrameworksBuildPhase section */ 82 | 83 | /* Begin PBXGroup section */ 84 | 1FE4664D845BBAA9FD7EDD40 /* Frameworks */ = { 85 | isa = PBXGroup; 86 | children = ( 87 | 899F19FFB2A2E348E562049B /* Pods_SCWebPreview_Example.framework */, 88 | 12E6D26A5B5FE4B7E751DA18 /* Pods_SCWebPreview_Tests.framework */, 89 | ); 90 | name = Frameworks; 91 | sourceTree = ""; 92 | }; 93 | 607FACC71AFB9204008FA782 = { 94 | isa = PBXGroup; 95 | children = ( 96 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 97 | 607FACD21AFB9204008FA782 /* Example for SCWebPreview */, 98 | 607FACE81AFB9204008FA782 /* Tests */, 99 | 607FACD11AFB9204008FA782 /* Products */, 100 | F2272263F491317A32B38649 /* Pods */, 101 | 1FE4664D845BBAA9FD7EDD40 /* Frameworks */, 102 | ); 103 | sourceTree = ""; 104 | }; 105 | 607FACD11AFB9204008FA782 /* Products */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 607FACD01AFB9204008FA782 /* SCWebPreview_Example.app */, 109 | 607FACE51AFB9204008FA782 /* SCWebPreview_Tests.xctest */, 110 | ); 111 | name = Products; 112 | sourceTree = ""; 113 | }; 114 | 607FACD21AFB9204008FA782 /* Example for SCWebPreview */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | E4AE62B91F4DDA900026619D /* dummyfile */, 118 | 630A8FFE1F4D4FE4007771A2 /* loading.jpg */, 119 | 630A8FFF1F4D4FE4007771A2 /* image_not_found.png */, 120 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 121 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 122 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 123 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 124 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 125 | 607FACD31AFB9204008FA782 /* Supporting Files */, 126 | ); 127 | name = "Example for SCWebPreview"; 128 | path = SCWebPreview; 129 | sourceTree = ""; 130 | }; 131 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 132 | isa = PBXGroup; 133 | children = ( 134 | 607FACD41AFB9204008FA782 /* Info.plist */, 135 | ); 136 | name = "Supporting Files"; 137 | sourceTree = ""; 138 | }; 139 | 607FACE81AFB9204008FA782 /* Tests */ = { 140 | isa = PBXGroup; 141 | children = ( 142 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 143 | 607FACE91AFB9204008FA782 /* Supporting Files */, 144 | ); 145 | path = Tests; 146 | sourceTree = ""; 147 | }; 148 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 149 | isa = PBXGroup; 150 | children = ( 151 | 607FACEA1AFB9204008FA782 /* Info.plist */, 152 | ); 153 | name = "Supporting Files"; 154 | sourceTree = ""; 155 | }; 156 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 157 | isa = PBXGroup; 158 | children = ( 159 | 48AC5DEBF99A906CF5BD52D6 /* SCWebPreview.podspec */, 160 | A755973D574E75DA6A30E830 /* README.md */, 161 | 67E9E310460116E20393A413 /* LICENSE */, 162 | ); 163 | name = "Podspec Metadata"; 164 | sourceTree = ""; 165 | }; 166 | E4AE62B91F4DDA900026619D /* dummyfile */ = { 167 | isa = PBXGroup; 168 | children = ( 169 | E4AE62BA1F4DDAAF0026619D /* dummyfile1.swift */, 170 | E4AE62BC1F4DDABB0026619D /* dummyfile2.swift */, 171 | E4AE62BE1F4DDD820026619D /* dummyfile3.swift */, 172 | E4AE62C01F4DDD8C0026619D /* dummyfile4.swift */, 173 | ); 174 | name = dummyfile; 175 | sourceTree = ""; 176 | }; 177 | F2272263F491317A32B38649 /* Pods */ = { 178 | isa = PBXGroup; 179 | children = ( 180 | C644F5C733792FF43EA0EE4B /* Pods-SCWebPreview_Example.debug.xcconfig */, 181 | F68BFB69AF0FC3D8640A3FEB /* Pods-SCWebPreview_Example.release.xcconfig */, 182 | 092C6EF387794BFC55410F14 /* Pods-SCWebPreview_Tests.debug.xcconfig */, 183 | 2F40B32148B827A65A1BCAD2 /* Pods-SCWebPreview_Tests.release.xcconfig */, 184 | ); 185 | name = Pods; 186 | sourceTree = ""; 187 | }; 188 | /* End PBXGroup section */ 189 | 190 | /* Begin PBXNativeTarget section */ 191 | 607FACCF1AFB9204008FA782 /* SCWebPreview_Example */ = { 192 | isa = PBXNativeTarget; 193 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SCWebPreview_Example" */; 194 | buildPhases = ( 195 | CCFE3FF20E7C67DBC03EC5D6 /* [CP] Check Pods Manifest.lock */, 196 | 607FACCC1AFB9204008FA782 /* Sources */, 197 | 607FACCD1AFB9204008FA782 /* Frameworks */, 198 | EC6AEA9FC2E194740B88B0B5 /* [CP] Embed Pods Frameworks */, 199 | 607FACCE1AFB9204008FA782 /* Resources */, 200 | A7FA9085B03D6041717D73D8 /* [CP] Copy Pods Resources */, 201 | ); 202 | buildRules = ( 203 | ); 204 | dependencies = ( 205 | ); 206 | name = SCWebPreview_Example; 207 | productName = SCWebPreview; 208 | productReference = 607FACD01AFB9204008FA782 /* SCWebPreview_Example.app */; 209 | productType = "com.apple.product-type.application"; 210 | }; 211 | 607FACE41AFB9204008FA782 /* SCWebPreview_Tests */ = { 212 | isa = PBXNativeTarget; 213 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SCWebPreview_Tests" */; 214 | buildPhases = ( 215 | E95362B65EAF380872792F42 /* [CP] Check Pods Manifest.lock */, 216 | 607FACE11AFB9204008FA782 /* Sources */, 217 | 607FACE21AFB9204008FA782 /* Frameworks */, 218 | 607FACE31AFB9204008FA782 /* Resources */, 219 | 6494D1E004851233265EB481 /* [CP] Embed Pods Frameworks */, 220 | 0FBCE3073B63F2107CD4D61B /* [CP] Copy Pods Resources */, 221 | ); 222 | buildRules = ( 223 | ); 224 | dependencies = ( 225 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 226 | ); 227 | name = SCWebPreview_Tests; 228 | productName = Tests; 229 | productReference = 607FACE51AFB9204008FA782 /* SCWebPreview_Tests.xctest */; 230 | productType = "com.apple.product-type.bundle.unit-test"; 231 | }; 232 | /* End PBXNativeTarget section */ 233 | 234 | /* Begin PBXProject section */ 235 | 607FACC81AFB9204008FA782 /* Project object */ = { 236 | isa = PBXProject; 237 | attributes = { 238 | LastSwiftUpdateCheck = 0720; 239 | LastUpgradeCheck = 1020; 240 | ORGANIZATIONNAME = CocoaPods; 241 | TargetAttributes = { 242 | 607FACCF1AFB9204008FA782 = { 243 | CreatedOnToolsVersion = 6.3.1; 244 | LastSwiftMigration = 1020; 245 | }; 246 | 607FACE41AFB9204008FA782 = { 247 | CreatedOnToolsVersion = 6.3.1; 248 | LastSwiftMigration = 1020; 249 | TestTargetID = 607FACCF1AFB9204008FA782; 250 | }; 251 | }; 252 | }; 253 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "SCWebPreview" */; 254 | compatibilityVersion = "Xcode 3.2"; 255 | developmentRegion = en; 256 | hasScannedForEncodings = 0; 257 | knownRegions = ( 258 | en, 259 | Base, 260 | ); 261 | mainGroup = 607FACC71AFB9204008FA782; 262 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 263 | projectDirPath = ""; 264 | projectRoot = ""; 265 | targets = ( 266 | 607FACCF1AFB9204008FA782 /* SCWebPreview_Example */, 267 | 607FACE41AFB9204008FA782 /* SCWebPreview_Tests */, 268 | ); 269 | }; 270 | /* End PBXProject section */ 271 | 272 | /* Begin PBXResourcesBuildPhase section */ 273 | 607FACCE1AFB9204008FA782 /* Resources */ = { 274 | isa = PBXResourcesBuildPhase; 275 | buildActionMask = 2147483647; 276 | files = ( 277 | 630A90011F4D4FE4007771A2 /* image_not_found.png in Resources */, 278 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 279 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 280 | 630A90001F4D4FE4007771A2 /* loading.jpg in Resources */, 281 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 282 | ); 283 | runOnlyForDeploymentPostprocessing = 0; 284 | }; 285 | 607FACE31AFB9204008FA782 /* Resources */ = { 286 | isa = PBXResourcesBuildPhase; 287 | buildActionMask = 2147483647; 288 | files = ( 289 | ); 290 | runOnlyForDeploymentPostprocessing = 0; 291 | }; 292 | /* End PBXResourcesBuildPhase section */ 293 | 294 | /* Begin PBXShellScriptBuildPhase section */ 295 | 0FBCE3073B63F2107CD4D61B /* [CP] Copy Pods Resources */ = { 296 | isa = PBXShellScriptBuildPhase; 297 | buildActionMask = 2147483647; 298 | files = ( 299 | ); 300 | inputPaths = ( 301 | ); 302 | name = "[CP] Copy Pods Resources"; 303 | outputPaths = ( 304 | ); 305 | runOnlyForDeploymentPostprocessing = 0; 306 | shellPath = /bin/sh; 307 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SCWebPreview_Tests/Pods-SCWebPreview_Tests-resources.sh\"\n"; 308 | showEnvVarsInLog = 0; 309 | }; 310 | 6494D1E004851233265EB481 /* [CP] Embed Pods Frameworks */ = { 311 | isa = PBXShellScriptBuildPhase; 312 | buildActionMask = 2147483647; 313 | files = ( 314 | ); 315 | inputPaths = ( 316 | ); 317 | name = "[CP] Embed Pods Frameworks"; 318 | outputPaths = ( 319 | ); 320 | runOnlyForDeploymentPostprocessing = 0; 321 | shellPath = /bin/sh; 322 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SCWebPreview_Tests/Pods-SCWebPreview_Tests-frameworks.sh\"\n"; 323 | showEnvVarsInLog = 0; 324 | }; 325 | A7FA9085B03D6041717D73D8 /* [CP] Copy Pods Resources */ = { 326 | isa = PBXShellScriptBuildPhase; 327 | buildActionMask = 2147483647; 328 | files = ( 329 | ); 330 | inputPaths = ( 331 | ); 332 | name = "[CP] Copy Pods Resources"; 333 | outputPaths = ( 334 | ); 335 | runOnlyForDeploymentPostprocessing = 0; 336 | shellPath = /bin/sh; 337 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SCWebPreview_Example/Pods-SCWebPreview_Example-resources.sh\"\n"; 338 | showEnvVarsInLog = 0; 339 | }; 340 | CCFE3FF20E7C67DBC03EC5D6 /* [CP] Check Pods Manifest.lock */ = { 341 | isa = PBXShellScriptBuildPhase; 342 | buildActionMask = 2147483647; 343 | files = ( 344 | ); 345 | inputPaths = ( 346 | ); 347 | name = "[CP] Check Pods Manifest.lock"; 348 | outputPaths = ( 349 | ); 350 | runOnlyForDeploymentPostprocessing = 0; 351 | shellPath = /bin/sh; 352 | 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"; 353 | showEnvVarsInLog = 0; 354 | }; 355 | E95362B65EAF380872792F42 /* [CP] Check Pods Manifest.lock */ = { 356 | isa = PBXShellScriptBuildPhase; 357 | buildActionMask = 2147483647; 358 | files = ( 359 | ); 360 | inputPaths = ( 361 | ); 362 | name = "[CP] Check Pods Manifest.lock"; 363 | outputPaths = ( 364 | ); 365 | runOnlyForDeploymentPostprocessing = 0; 366 | shellPath = /bin/sh; 367 | 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"; 368 | showEnvVarsInLog = 0; 369 | }; 370 | EC6AEA9FC2E194740B88B0B5 /* [CP] Embed Pods Frameworks */ = { 371 | isa = PBXShellScriptBuildPhase; 372 | buildActionMask = 2147483647; 373 | files = ( 374 | ); 375 | inputPaths = ( 376 | ); 377 | name = "[CP] Embed Pods Frameworks"; 378 | outputPaths = ( 379 | ); 380 | runOnlyForDeploymentPostprocessing = 0; 381 | shellPath = /bin/sh; 382 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SCWebPreview_Example/Pods-SCWebPreview_Example-frameworks.sh\"\n"; 383 | showEnvVarsInLog = 0; 384 | }; 385 | /* End PBXShellScriptBuildPhase section */ 386 | 387 | /* Begin PBXSourcesBuildPhase section */ 388 | 607FACCC1AFB9204008FA782 /* Sources */ = { 389 | isa = PBXSourcesBuildPhase; 390 | buildActionMask = 2147483647; 391 | files = ( 392 | E4AE62BF1F4DDD820026619D /* dummyfile3.swift in Sources */, 393 | E4AE62BB1F4DDAAF0026619D /* dummyfile1.swift in Sources */, 394 | E4AE62BD1F4DDABB0026619D /* dummyfile2.swift in Sources */, 395 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 396 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 397 | E4AE62C11F4DDD8C0026619D /* dummyfile4.swift in Sources */, 398 | ); 399 | runOnlyForDeploymentPostprocessing = 0; 400 | }; 401 | 607FACE11AFB9204008FA782 /* Sources */ = { 402 | isa = PBXSourcesBuildPhase; 403 | buildActionMask = 2147483647; 404 | files = ( 405 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 406 | ); 407 | runOnlyForDeploymentPostprocessing = 0; 408 | }; 409 | /* End PBXSourcesBuildPhase section */ 410 | 411 | /* Begin PBXTargetDependency section */ 412 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 413 | isa = PBXTargetDependency; 414 | target = 607FACCF1AFB9204008FA782 /* SCWebPreview_Example */; 415 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 416 | }; 417 | /* End PBXTargetDependency section */ 418 | 419 | /* Begin PBXVariantGroup section */ 420 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 421 | isa = PBXVariantGroup; 422 | children = ( 423 | 607FACDA1AFB9204008FA782 /* Base */, 424 | ); 425 | name = Main.storyboard; 426 | sourceTree = ""; 427 | }; 428 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 429 | isa = PBXVariantGroup; 430 | children = ( 431 | 607FACDF1AFB9204008FA782 /* Base */, 432 | ); 433 | name = LaunchScreen.xib; 434 | sourceTree = ""; 435 | }; 436 | /* End PBXVariantGroup section */ 437 | 438 | /* Begin XCBuildConfiguration section */ 439 | 607FACED1AFB9204008FA782 /* Debug */ = { 440 | isa = XCBuildConfiguration; 441 | buildSettings = { 442 | ALWAYS_SEARCH_USER_PATHS = NO; 443 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 444 | CLANG_CXX_LIBRARY = "libc++"; 445 | CLANG_ENABLE_MODULES = YES; 446 | CLANG_ENABLE_OBJC_ARC = YES; 447 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 448 | CLANG_WARN_BOOL_CONVERSION = YES; 449 | CLANG_WARN_COMMA = YES; 450 | CLANG_WARN_CONSTANT_CONVERSION = YES; 451 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 452 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 453 | CLANG_WARN_EMPTY_BODY = YES; 454 | CLANG_WARN_ENUM_CONVERSION = YES; 455 | CLANG_WARN_INFINITE_RECURSION = YES; 456 | CLANG_WARN_INT_CONVERSION = YES; 457 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 458 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 459 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 460 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 461 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 462 | CLANG_WARN_STRICT_PROTOTYPES = YES; 463 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 464 | CLANG_WARN_UNREACHABLE_CODE = YES; 465 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 466 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 467 | COPY_PHASE_STRIP = NO; 468 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 469 | ENABLE_STRICT_OBJC_MSGSEND = YES; 470 | ENABLE_TESTABILITY = YES; 471 | GCC_C_LANGUAGE_STANDARD = gnu99; 472 | GCC_DYNAMIC_NO_PIC = NO; 473 | GCC_NO_COMMON_BLOCKS = YES; 474 | GCC_OPTIMIZATION_LEVEL = 0; 475 | GCC_PREPROCESSOR_DEFINITIONS = ( 476 | "DEBUG=1", 477 | "$(inherited)", 478 | ); 479 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 480 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 481 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 482 | GCC_WARN_UNDECLARED_SELECTOR = YES; 483 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 484 | GCC_WARN_UNUSED_FUNCTION = YES; 485 | GCC_WARN_UNUSED_VARIABLE = YES; 486 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 487 | MTL_ENABLE_DEBUG_INFO = YES; 488 | ONLY_ACTIVE_ARCH = YES; 489 | SDKROOT = iphoneos; 490 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 491 | }; 492 | name = Debug; 493 | }; 494 | 607FACEE1AFB9204008FA782 /* Release */ = { 495 | isa = XCBuildConfiguration; 496 | buildSettings = { 497 | ALWAYS_SEARCH_USER_PATHS = NO; 498 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 499 | CLANG_CXX_LIBRARY = "libc++"; 500 | CLANG_ENABLE_MODULES = YES; 501 | CLANG_ENABLE_OBJC_ARC = YES; 502 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 503 | CLANG_WARN_BOOL_CONVERSION = YES; 504 | CLANG_WARN_COMMA = YES; 505 | CLANG_WARN_CONSTANT_CONVERSION = YES; 506 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 507 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 508 | CLANG_WARN_EMPTY_BODY = YES; 509 | CLANG_WARN_ENUM_CONVERSION = YES; 510 | CLANG_WARN_INFINITE_RECURSION = YES; 511 | CLANG_WARN_INT_CONVERSION = YES; 512 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 513 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 514 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 515 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 516 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 517 | CLANG_WARN_STRICT_PROTOTYPES = YES; 518 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 519 | CLANG_WARN_UNREACHABLE_CODE = YES; 520 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 521 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 522 | COPY_PHASE_STRIP = NO; 523 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 524 | ENABLE_NS_ASSERTIONS = NO; 525 | ENABLE_STRICT_OBJC_MSGSEND = YES; 526 | GCC_C_LANGUAGE_STANDARD = gnu99; 527 | GCC_NO_COMMON_BLOCKS = YES; 528 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 529 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 530 | GCC_WARN_UNDECLARED_SELECTOR = YES; 531 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 532 | GCC_WARN_UNUSED_FUNCTION = YES; 533 | GCC_WARN_UNUSED_VARIABLE = YES; 534 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 535 | MTL_ENABLE_DEBUG_INFO = NO; 536 | SDKROOT = iphoneos; 537 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 538 | VALIDATE_PRODUCT = YES; 539 | }; 540 | name = Release; 541 | }; 542 | 607FACF01AFB9204008FA782 /* Debug */ = { 543 | isa = XCBuildConfiguration; 544 | baseConfigurationReference = C644F5C733792FF43EA0EE4B /* Pods-SCWebPreview_Example.debug.xcconfig */; 545 | buildSettings = { 546 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 547 | INFOPLIST_FILE = SCWebPreview/Info.plist; 548 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 549 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 550 | MODULE_NAME = ExampleApp; 551 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 552 | PRODUCT_NAME = "$(TARGET_NAME)"; 553 | SWIFT_VERSION = 5.0; 554 | }; 555 | name = Debug; 556 | }; 557 | 607FACF11AFB9204008FA782 /* Release */ = { 558 | isa = XCBuildConfiguration; 559 | baseConfigurationReference = F68BFB69AF0FC3D8640A3FEB /* Pods-SCWebPreview_Example.release.xcconfig */; 560 | buildSettings = { 561 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 562 | INFOPLIST_FILE = SCWebPreview/Info.plist; 563 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 564 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 565 | MODULE_NAME = ExampleApp; 566 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 567 | PRODUCT_NAME = "$(TARGET_NAME)"; 568 | SWIFT_VERSION = 5.0; 569 | }; 570 | name = Release; 571 | }; 572 | 607FACF31AFB9204008FA782 /* Debug */ = { 573 | isa = XCBuildConfiguration; 574 | baseConfigurationReference = 092C6EF387794BFC55410F14 /* Pods-SCWebPreview_Tests.debug.xcconfig */; 575 | buildSettings = { 576 | FRAMEWORK_SEARCH_PATHS = ( 577 | "$(SDKROOT)/Developer/Library/Frameworks", 578 | "$(inherited)", 579 | ); 580 | GCC_PREPROCESSOR_DEFINITIONS = ( 581 | "DEBUG=1", 582 | "$(inherited)", 583 | ); 584 | INFOPLIST_FILE = Tests/Info.plist; 585 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 586 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 587 | PRODUCT_NAME = "$(TARGET_NAME)"; 588 | SWIFT_VERSION = 5.0; 589 | }; 590 | name = Debug; 591 | }; 592 | 607FACF41AFB9204008FA782 /* Release */ = { 593 | isa = XCBuildConfiguration; 594 | baseConfigurationReference = 2F40B32148B827A65A1BCAD2 /* Pods-SCWebPreview_Tests.release.xcconfig */; 595 | buildSettings = { 596 | FRAMEWORK_SEARCH_PATHS = ( 597 | "$(SDKROOT)/Developer/Library/Frameworks", 598 | "$(inherited)", 599 | ); 600 | INFOPLIST_FILE = Tests/Info.plist; 601 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 602 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 603 | PRODUCT_NAME = "$(TARGET_NAME)"; 604 | SWIFT_VERSION = 5.0; 605 | }; 606 | name = Release; 607 | }; 608 | /* End XCBuildConfiguration section */ 609 | 610 | /* Begin XCConfigurationList section */ 611 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "SCWebPreview" */ = { 612 | isa = XCConfigurationList; 613 | buildConfigurations = ( 614 | 607FACED1AFB9204008FA782 /* Debug */, 615 | 607FACEE1AFB9204008FA782 /* Release */, 616 | ); 617 | defaultConfigurationIsVisible = 0; 618 | defaultConfigurationName = Release; 619 | }; 620 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SCWebPreview_Example" */ = { 621 | isa = XCConfigurationList; 622 | buildConfigurations = ( 623 | 607FACF01AFB9204008FA782 /* Debug */, 624 | 607FACF11AFB9204008FA782 /* Release */, 625 | ); 626 | defaultConfigurationIsVisible = 0; 627 | defaultConfigurationName = Release; 628 | }; 629 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SCWebPreview_Tests" */ = { 630 | isa = XCConfigurationList; 631 | buildConfigurations = ( 632 | 607FACF31AFB9204008FA782 /* Debug */, 633 | 607FACF41AFB9204008FA782 /* Release */, 634 | ); 635 | defaultConfigurationIsVisible = 0; 636 | defaultConfigurationName = Release; 637 | }; 638 | /* End XCConfigurationList section */ 639 | }; 640 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 641 | } 642 | -------------------------------------------------------------------------------- /Example/SCWebPreview.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/SCWebPreview.xcodeproj/xcshareddata/xcschemes/SCWebPreview-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /Example/SCWebPreview.xcodeproj/xcuserdata/maccli1.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | SCWebPreview-Example.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 607FACCF1AFB9204008FA782 16 | 17 | primary 18 | 19 | 20 | 607FACE41AFB9204008FA782 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Example/SCWebPreview.xcodeproj/xcuserdata/myeongsuchang.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SuppressBuildableAutocreation 6 | 7 | 607FACCF1AFB9204008FA782 8 | 9 | primary 10 | 11 | 12 | 607FACE41AFB9204008FA782 13 | 14 | primary 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /Example/SCWebPreview.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/SCWebPreview.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/SCWebPreview.xcworkspace/xcuserdata/maccli1.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myoungsc/SCWebPreview/2d45f60643555fa070256afca90931987ad672ef/Example/SCWebPreview.xcworkspace/xcuserdata/maccli1.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/SCWebPreview.xcworkspace/xcuserdata/maccli1.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /Example/SCWebPreview.xcworkspace/xcuserdata/myeongsuchang.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myoungsc/SCWebPreview/2d45f60643555fa070256afca90931987ad672ef/Example/SCWebPreview.xcworkspace/xcuserdata/myeongsuchang.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/SCWebPreview/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // SCWebPreview 4 | // 5 | // Created by myoungsc on 08/22/2017. 6 | // Copyright (c) 2017 myoungsc. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/SCWebPreview/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/SCWebPreview/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 38 | 45 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 70 | 77 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | -------------------------------------------------------------------------------- /Example/SCWebPreview/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Example/SCWebPreview/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.2.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | NSAppTransportSecurity 26 | 27 | NSAllowsArbitraryLoads 28 | 29 | 30 | UILaunchStoryboardName 31 | LaunchScreen 32 | UIMainStoryboardFile 33 | Main 34 | UIRequiredDeviceCapabilities 35 | 36 | armv7 37 | 38 | UISupportedInterfaceOrientations 39 | 40 | UIInterfaceOrientationPortrait 41 | UIInterfaceOrientationLandscapeLeft 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /Example/SCWebPreview/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // SCWebPreview 4 | // 5 | // Created by myoungsc on 08/22/2017. 6 | // Copyright (c) 2017 myoungsc. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import SCWebPreview 11 | 12 | class ViewController: UIViewController { 13 | 14 | let scWebPreview: SCWebPreview = SCWebPreview() 15 | 16 | @IBOutlet weak var viewBack: UIView! 17 | @IBOutlet weak var ivWebImg: UIImageView! 18 | @IBOutlet weak var lbTitle: UILabel! 19 | @IBOutlet weak var lbWebDescription: UILabel! 20 | 21 | @IBOutlet weak var viewBack2: UIView! 22 | @IBOutlet weak var ivWebImg2: UIImageView! 23 | @IBOutlet weak var lbTitle2: UILabel! 24 | @IBOutlet weak var lbWebDescription2: UILabel! 25 | 26 | override func viewDidLoad() { 27 | super.viewDidLoad() 28 | 29 | initMain() 30 | 31 | let webPages: [String] = ["https://github.com/myoungsc", "http://devsc.tistory.com/"] 32 | scWebPreview.initWebPages(webPages) 33 | scWebPreview.startCrawling() { 34 | for i in 0 ..< webPages.count { 35 | let dic = self.scWebPreview.getPreviewDataFromIndex(i) 36 | guard dic.count != 0 else { 37 | print("error: dic is optionl Value") 38 | return 39 | } 40 | self.dataBindingWebPagePreview(dic, index: i) 41 | } 42 | } 43 | } 44 | 45 | override func didReceiveMemoryWarning() { 46 | super.didReceiveMemoryWarning() 47 | } 48 | 49 | func dataBindingWebPagePreview(_ dic: [String: String], index: Int) { 50 | 51 | let lbTitleTag = view.viewWithTag(10+index) as! UILabel 52 | let lbWebDescriptionTag = view.viewWithTag(20+index) as! UILabel 53 | let ivWebImgTag = view.viewWithTag(30+index) as! UIImageView 54 | 55 | lbTitleTag.text = dic["og:title"] 56 | lbWebDescriptionTag.text = dic["og:description"]?.trimmingCharacters(in: .whitespaces) 57 | 58 | let url = URL(string: dic["og:image"]!) 59 | do { 60 | let data = try Data(contentsOf: url!) 61 | let image = UIImage(data: data) 62 | ivWebImgTag.image = image 63 | } catch { 64 | ivWebImgTag.image = UIImage(named: "image_not_found") 65 | } 66 | } 67 | 68 | @IBAction func btnPreviewB(_ sender: UIButton) { 69 | scWebPreview.openSafariFromUrl(0) 70 | } 71 | 72 | @IBAction func btnPreview2B(_ sender: UIButton) { 73 | scWebPreview.openSafariFromUrl(1) 74 | } 75 | 76 | func initMain() { 77 | 78 | viewBack.layer.borderWidth = 0.5 79 | viewBack.layer.borderColor = UIColor.lightGray.cgColor 80 | 81 | ivWebImg.layer.cornerRadius = 4.0 82 | ivWebImg.layer.masksToBounds = true 83 | 84 | viewBack2.layer.borderWidth = 0.5 85 | viewBack2.layer.borderColor = UIColor.lightGray.cgColor 86 | 87 | ivWebImg2.layer.cornerRadius = 4.0 88 | ivWebImg2.layer.masksToBounds = true 89 | 90 | } 91 | 92 | } 93 | -------------------------------------------------------------------------------- /Example/SCWebPreview/dummyfile1/dummyfile1.swift: -------------------------------------------------------------------------------- 1 | // 2 | // dummyfile1.swift 3 | // SCWebPreview 4 | // 5 | // Created by myoung on 2017. 8. 24.. 6 | // Copyright © 2017년 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class dummyfile1: NSObject { 12 | 13 | /* 14 | MIT LICENSE 15 | 16 | Copyright (c) 2017 myoungsc 17 | 18 | Permission is hereby granted, free of charge, to any person obtaining a copy 19 | of this software and associated documentation files (the "Software"), to deal 20 | in the Software without restriction, including without limitation the rights 21 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 22 | copies of the Software, and to permit persons to whom the Software is 23 | furnished to do so, subject to the following conditions: 24 | 25 | The above copyright notice and this permission notice shall be included in 26 | all copies or substantial portions of the Software. 27 | 28 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 29 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 30 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 31 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 32 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 33 | OUT OF OR IN CON 34 | THE SOFTWARE. 35 | 36 | */ 37 | } 38 | -------------------------------------------------------------------------------- /Example/SCWebPreview/dummyfile1/dummyfile2.swift: -------------------------------------------------------------------------------- 1 | // 2 | // dummyfile2.swift 3 | // SCWebPreview 4 | // 5 | // Created by myoung on 2017. 8. 24.. 6 | // Copyright © 2017년 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class dummyfile2: NSObject { 12 | 13 | /* 14 | Hi. my name is myoungsc 15 | iOS Developer (2~3)year 16 | but very very difficult.... 17 | */ 18 | 19 | } 20 | -------------------------------------------------------------------------------- /Example/SCWebPreview/dummyfile1/dummyfile3.swift: -------------------------------------------------------------------------------- 1 | // 2 | // dummyfile3.swift 3 | // SCWebPreview 4 | // 5 | // Created by myoung on 2017. 8. 24.. 6 | // Copyright © 2017년 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class dummyfile3: NSObject { 12 | 13 | /* pod spec 14 | # 15 | # Be sure to run `pod lib lint SCWebPreview.podspec' to ensure this is a 16 | # valid spec before submitting. 17 | # 18 | # Any lines starting with a # are optional, but their use is encouraged 19 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 20 | # 21 | 22 | Pod::Spec.new do |s| 23 | s.name = 'SCWebPreview' 24 | s.version = '0.1.0' 25 | s.summary = 'Preview content in Website' 26 | 27 | # This description is used to generate tags and improve search results. 28 | # * Think: What does it do? Why did you write it? What is the focus? 29 | # * Try to keep it short, snappy and to the point. 30 | # * Write the description between the DESC delimiters below. 31 | # * Finally, don't worry about the indent, CocoaPods strips it! 32 | 33 | s.description = 'Preview content in Website' 34 | 35 | s.homepage = 'https://github.com/myoungsc/SCWebPreview' 36 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 37 | s.license = { :type => 'MIT', :file => 'LICENSE' } 38 | s.author = { 'myoungsc' => 'myoungsc.dev@gmail.com' } 39 | s.source = { :git => 'https://github.com/myoungsc/SCWebPreview.git', :tag => s.version.to_s } 40 | # s.social_media_url = 'https://twitter.com/' 41 | 42 | s.ios.deployment_target = '9.0' 43 | 44 | s.source_files = 'SCWebPreview/Classes' 45 | 46 | # s.resource = "SCWebPreview/Classes/SCWebPreview.xib" 47 | # s.resource_bundles = { 48 | # 'SCWebPreview' => ['SCWebPreview/Resources/Assets.{png, jpg}'] 49 | # } 50 | 51 | # s.public_header_files = 'Pod/Classes.h' 52 | # s.frameworks = 'UIKit', 'MapKit' 53 | # s.dependency 'AFNetworking', '~> 2.3' 54 | end 55 | # 56 | # Be sure to run `pod lib lint SCWebPreview.podspec' to ensure this is a 57 | # valid spec before submitting. 58 | # 59 | # Any lines starting with a # are optional, but their use is encouraged 60 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 61 | # 62 | 63 | Pod::Spec.new do |s| 64 | s.name = 'SCWebPreview' 65 | s.version = '0.1.0' 66 | s.summary = 'Preview content in Website' 67 | 68 | # This description is used to generate tags and improve search results. 69 | # * Think: What does it do? Why did you write it? What is the focus? 70 | # * Try to keep it short, snappy and to the point. 71 | # * Write the description between the DESC delimiters below. 72 | # * Finally, don't worry about the indent, CocoaPods strips it! 73 | 74 | s.description = 'Preview content in Website' 75 | 76 | s.homepage = 'https://github.com/myoungsc/SCWebPreview' 77 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 78 | s.license = { :type => 'MIT', :file => 'LICENSE' } 79 | s.author = { 'myoungsc' => 'myoungsc.dev@gmail.com' } 80 | s.source = { :git => 'https://github.com/myoungsc/SCWebPreview.git', :tag => s.version.to_s } 81 | # s.social_media_url = 'https://twitter.com/' 82 | 83 | s.ios.deployment_target = '9.0' 84 | 85 | s.source_files = 'SCWebPreview/Classes' 86 | 87 | # s.resource = "SCWebPreview/Classes/SCWebPreview.xib" 88 | # s.resource_bundles = { 89 | # 'SCWebPreview' => ['SCWebPreview/Resources/Assets.{png, jpg}'] 90 | # } 91 | 92 | # s.public_header_files = 'Pod/Classes.h' 93 | # s.frameworks = 'UIKit', 'MapKit' 94 | # s.dependency 'AFNetworking', '~> 2.3' 95 | end 96 | 97 | 98 | */ 99 | 100 | } 101 | -------------------------------------------------------------------------------- /Example/SCWebPreview/dummyfile1/dummyfile4.swift: -------------------------------------------------------------------------------- 1 | // 2 | // dummyfile4.swift 3 | // SCWebPreview 4 | // 5 | // Created by myoung on 2017. 8. 24.. 6 | // Copyright © 2017년 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class dummyfile4: NSObject { 12 | /* 13 | # SCWebPreview 14 | [![CI Status](http://img.shields.io/travis/myoungsc/SCWebPreview.svg?style=flat)](https://travis-ci.org/myoungsc/SCWebPreview) 15 | [![Version](https://img.shields.io/cocoapods/v/SCWebPreview.svg?style=flat)](http://cocoapods.org/pods/SCWebPreview) 16 | [![License](https://img.shields.io/cocoapods/l/SCWebPreview.svg?style=flat)](http://cocoapods.org/pods/SCWebPreview) 17 | [![Platform](https://img.shields.io/cocoapods/p/SCWebPreview.svg?style=flat)](http://cocoapods.org/pods/SCWebPreview) 18 | 19 | 20 | ## Description 21 | A library that get metadata(url, image, title, description) for previewing via Web in HTML. 22 | 23 | library support is only https:// 24 | 25 | How to use (http://) 26 | 27 | Add "App Transport Security Setting-Allow Arbitrary Loads-YES" in polist file 28 | 29 | ## ScreenShot 30 | 31 | ## Requirements 32 | ``` 33 | * Swift 3.0.1 34 | * XCode 8.3.3 35 | * iOS 9.0 (Min SDK) 36 | ``` 37 | 38 | ## Installation 39 | SCWebPreview is available through [CocoaPods](http://cocoapods.org). To install 40 | it, simply add the following line to your Podfile: 41 | 42 | ```swift 43 | pod "SCWebPreview" 44 | 45 | //After 46 | pod install 47 | ``` 48 | 49 | ## How To Use 50 | - Get metadata from web in HTML 51 | 52 | ```swift 53 | let webPages: [String] = ["https://github.com/myoungsc"] 54 | 55 | let scWebPreview: SCWebPreview = SCWebPreview() 56 | scWebPreview.initWebPages(webPages) 57 | scWebPreview.startCrawling(){ 58 | let dic = self.scWebPreview.getPreviewDataFromIndex(0) 59 | guard dic.count != 0 else { 60 | print("error: dic is optionl Value") 61 | return 62 | } 63 | self.dataBindingWebPagePreview(dic) 64 | } 65 | ``` 66 | 67 | - example: url open safari 68 | 69 | ```Swift 70 | let dic = scWebPreview.getPreviewDataFromIndex(0) 71 | guard let strUrl: String = dic["og:url"] else { 72 | print("error: og:url is optionl Value") 73 | return 74 | } 75 | 76 | if let url = URL(string: strUrl) { 77 | if #available(iOS 10.0, *) { 78 | UIApplication.shared.open(url, options: [:], completionHandler: { (result) in }) 79 | } else { 80 | UIApplication.shared.openURL(url) 81 | } 82 | } 83 | ``` 84 | 85 | ## Author 86 | myoung 87 | 88 | [HomePage](http://devsc.tistory.com) 89 | 90 | 91 | 92 | 93 | ## License 94 | SCWebPreview is available under the MIT license. See the LICENSE file for more info. 95 | 96 | */ 97 | } 98 | -------------------------------------------------------------------------------- /Example/SCWebPreview/image_not_found.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myoungsc/SCWebPreview/2d45f60643555fa070256afca90931987ad672ef/Example/SCWebPreview/image_not_found.png -------------------------------------------------------------------------------- /Example/SCWebPreview/loading.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myoungsc/SCWebPreview/2d45f60643555fa070256afca90931987ad672ef/Example/SCWebPreview/loading.jpg -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import SCWebPreview 4 | 5 | class Tests: XCTestCase { 6 | 7 | override func setUp() { 8 | super.setUp() 9 | // Put setup code here. This method is called before the invocation of each test method in the class. 10 | } 11 | 12 | override func tearDown() { 13 | // Put teardown code here. This method is called after the invocation of each test method in the class. 14 | super.tearDown() 15 | } 16 | 17 | func testExample() { 18 | // This is an example of a functional test case. 19 | XCTAssert(true, "Pass") 20 | } 21 | 22 | func testPerformanceExample() { 23 | // This is an example of a performance test case. 24 | self.measure() { 25 | // Put the code you want to measure the time of here. 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 myoungsc 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SCWebPreview 2 | [![CI Status](http://img.shields.io/travis/myoungsc/SCWebPreview.svg?style=flat)](https://travis-ci.org/myoungsc/SCWebPreview) 3 | [![Version](https://img.shields.io/cocoapods/v/SCWebPreview.svg?style=flat)](http://cocoapods.org/pods/SCWebPreview) 4 | [![License](https://img.shields.io/cocoapods/l/SCWebPreview.svg?style=flat)](http://cocoapods.org/pods/SCWebPreview) 5 | [![Platform](https://img.shields.io/cocoapods/p/SCWebPreview.svg?style=flat)](http://cocoapods.org/pods/SCWebPreview) 6 | 7 | 8 | ## Description 9 | A library that get metadata(og:url, og:image, og:title, og:description) for previewing via Web in HTML. 10 | 11 | How to use (http://) 12 | Add "App Transport Security Setting-Allow Arbitrary Loads-YES" in polist file 13 | 14 | ## ScreenShot 15 | ![](https://github.com/myoungsc/SCWebPreview/blob/master/SCWebPreview_ScreenShot.gif?raw=true) 16 | 17 | ## Requirements 18 | ```swift 19 | * Swift 5.0 20 | * XCode 10.2 21 | * iOS 9.0 (Min SDK) 22 | ``` 23 | 24 | ## Installation 25 | SCWebPreview is available through [CocoaPods](http://cocoapods.org). To install 26 | it, simply add the following line to your Podfile: 27 | 28 | ```swift 29 | //Add Podfile 30 | pod "SCWebPreview" //Swift 5.0 31 | pod "SCWebPreview", '~> 1.1.0' //Swift 4.2 32 | pod "SCWebPreview", '~> 1.0.0' //Swift 4.0 33 | 34 | //After 35 | pod install 36 | ``` 37 | 38 | ## How To Use 39 | - Get metadata from web in HTML 40 | 41 | ```swift 42 | import SCWebPreview 43 | 44 | let webPages: [String] = ["https://github.com/myoungsc", "http://devsc.tistory.com/"] 45 | let scWebPreview = SCWebPreview() 46 | scWebPreview.initWebPages(webPages) 47 | scWebPreview.startCrawling(){ 48 | for i in 0 ..< webPages.count { 49 | let dic = self.scWebPreview.getPreviewDataFromIndex(i) 50 | guard dic.count != 0 else { 51 | print("error: dic is optionl Value") 52 | return 53 | } 54 | //doSomething 55 | } 56 | } 57 | ``` 58 | 59 | - example: get date form index 60 | 61 | ```Swift 62 | let dicWebData: [String: String] = scWebPreview.getPreviewDataFromIndex(0) 63 | 64 | print("og:url - \(dicWebData["og:url"]!)") 65 | print("og:url - \(dicWebData["og:title"]!)") 66 | print("og:url - \(dicWebData["og:description"]!)") 67 | print("og:url - \(dicWebData["og:image"]!)") 68 | ``` 69 | 70 | - example: url open safari 71 | 72 | ```Swift 73 | scWebPreview.openSafariFromUrl(0) 74 | ``` 75 | 76 | ## Author 77 | myoung 78 | 79 | [HomePage](http://devsc.tistory.com) 80 | 81 | 82 | 83 | 84 | ## License 85 | SCWebPreview is available under the MIT license. See the LICENSE file for more info. 86 | -------------------------------------------------------------------------------- /SCWebPreview.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'SCWebPreview' 3 | s.version = '1.2.0' 4 | s.summary = 'Preview content in Website:)' 5 | 6 | s.description = 'Preview content in Website' 7 | 8 | s.homepage = 'https://github.com/myoungsc/SCWebPreview' 9 | s.license = { :type => 'MIT', :file => 'LICENSE' } 10 | s.author = { 'myoungsc' => 'myoungsc.dev@gmail.com' } 11 | s.source = { :git => 'https://github.com/myoungsc/SCWebPreview.git', :tag => s.version.to_s } 12 | 13 | s.ios.deployment_target = '9.0' 14 | s.source_files = 'SCWebPreview/Classes/**/*' 15 | 16 | s.swift_version = '5.0' 17 | end 18 | -------------------------------------------------------------------------------- /SCWebPreview/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myoungsc/SCWebPreview/2d45f60643555fa070256afca90931987ad672ef/SCWebPreview/Classes/.gitkeep -------------------------------------------------------------------------------- /SCWebPreview/Classes/SCWebPreview.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SCWebPreview.swift 3 | // SCWebPreview 4 | // 5 | // Created by myoungsc on 2017. 8. 22.. 6 | // Copyright © 2017년 myoungsc. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @IBDesignable public class SCWebPreview { 12 | 13 | var webPages: [String] = [] 14 | var previewDatas: [Int: [String: String]] = [:] 15 | 16 | /** 17 | initializer webPages 18 | */ 19 | public func initWebPages(_ arr: [String]) { 20 | webPages = arr 21 | } 22 | 23 | //MARK: ## public Function ## 24 | /** 25 | start crawling for Web Preview 26 | */ 27 | public func startCrawling(completionHandler: @escaping () -> Void) { 28 | print("start crawling") 29 | for (index, content) in self.webPages.enumerated() { 30 | DispatchQueue.global().async { 31 | self.urlFromCheck(content, completionHandler: { webPage in 32 | guard let url = URL(string: webPage) else { 33 | print("error: url is option value") 34 | return 35 | } 36 | let session = URLSession.shared 37 | let task = session.dataTask(with: url, completionHandler: { (data, response, error) in 38 | if error == nil { 39 | let dic: [String: String] = self.htmlParser(data!, strUrl: content) 40 | self.previewDatas[index] = dic 41 | 42 | if self.previewDatas.count == self.webPages.count { 43 | DispatchQueue.main.async { 44 | print("finish crawling") 45 | completionHandler() 46 | } 47 | } 48 | } else { 49 | print(error?.localizedDescription as Any) 50 | } 51 | }) 52 | task.resume() 53 | }) 54 | } 55 | } 56 | } 57 | 58 | /** 59 | return preview data 60 | */ 61 | public func getPreviewDataFromIndex(_ index: Int) -> [String: String] { 62 | guard previewDatas.count > index else { 63 | print("error: receive index exceeded the limit") 64 | return [:] 65 | } 66 | return previewDatas[index]! 67 | } 68 | 69 | /** 70 | method - open safari 71 | */ 72 | public func openSafariFromUrl(_ index: Int) { 73 | let dic = getPreviewDataFromIndex(index) 74 | 75 | guard let strUrl: String = dic["og:url"] else { 76 | print("error: og:url is optionl Value") 77 | return 78 | } 79 | 80 | if let url = URL(string: strUrl) { 81 | if #available(iOS 10.0, *) { 82 | UIApplication.shared.open(url, options: [:]) { (result) in } 83 | } else { 84 | UIApplication.shared.openURL(url) 85 | } 86 | } 87 | } 88 | 89 | //MARK: ## private Function ## 90 | /** 91 | arrangement og: data in html 92 | */ 93 | private func htmlParser(_ data: Data, strUrl: String) -> [String: String] { 94 | 95 | var dic: [String: String] = [:] 96 | 97 | let urlContent = String(data: data, encoding: String.Encoding.utf8) 98 | let htmlTag = urlContent?.replacingOccurrences(of: "\n", with: "") 99 | 100 | let arr = htmlTag?.components(separatedBy: " Void) { 138 | var webPage = strUrl 139 | 140 | guard webPage.hasPrefix("https") || webPage.hasPrefix("http") else { 141 | webPage = "https://" + webPage 142 | completionHandler(webPage) 143 | return 144 | } 145 | completionHandler(webPage) 146 | } 147 | } 148 | -------------------------------------------------------------------------------- /SCWebPreview_ScreenShot.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myoungsc/SCWebPreview/2d45f60643555fa070256afca90931987ad672ef/SCWebPreview_ScreenShot.gif -------------------------------------------------------------------------------- /SCWebPreview_ScreenShot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myoungsc/SCWebPreview/2d45f60643555fa070256afca90931987ad672ef/SCWebPreview_ScreenShot.png -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------