├── .gitignore ├── .travis.yml ├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── SwiftStickerView.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── Pods-SwiftStickerView_Example │ │ ├── Pods-SwiftStickerView_Example-Info.plist │ │ ├── Pods-SwiftStickerView_Example-acknowledgements.markdown │ │ ├── Pods-SwiftStickerView_Example-acknowledgements.plist │ │ ├── Pods-SwiftStickerView_Example-dummy.m │ │ ├── Pods-SwiftStickerView_Example-frameworks.sh │ │ ├── Pods-SwiftStickerView_Example-umbrella.h │ │ ├── Pods-SwiftStickerView_Example.debug.xcconfig │ │ ├── Pods-SwiftStickerView_Example.modulemap │ │ └── Pods-SwiftStickerView_Example.release.xcconfig │ │ ├── Pods-SwiftStickerView_Tests │ │ ├── Pods-SwiftStickerView_Tests-Info.plist │ │ ├── Pods-SwiftStickerView_Tests-acknowledgements.markdown │ │ ├── Pods-SwiftStickerView_Tests-acknowledgements.plist │ │ ├── Pods-SwiftStickerView_Tests-dummy.m │ │ ├── Pods-SwiftStickerView_Tests-umbrella.h │ │ ├── Pods-SwiftStickerView_Tests.debug.xcconfig │ │ ├── Pods-SwiftStickerView_Tests.modulemap │ │ └── Pods-SwiftStickerView_Tests.release.xcconfig │ │ └── SwiftStickerView │ │ ├── SwiftStickerView-Info.plist │ │ ├── SwiftStickerView-dummy.m │ │ ├── SwiftStickerView-prefix.pch │ │ ├── SwiftStickerView-umbrella.h │ │ ├── SwiftStickerView.debug.xcconfig │ │ ├── SwiftStickerView.modulemap │ │ └── SwiftStickerView.release.xcconfig ├── SwiftStickerView.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── SwiftStickerView-Example.xcscheme ├── SwiftStickerView.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── SwiftStickerView │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ ├── Contents.json │ │ ├── QRCode.imageset │ │ │ ├── Contents.json │ │ │ └── QRCode.png │ │ ├── image.imageset │ │ │ ├── Contents.json │ │ │ └── image-human-brain_99433-298.jpg │ │ └── sample-gif.dataset │ │ │ ├── Contents.json │ │ │ └── sample-gif.gif │ ├── Info.plist │ └── ViewController.swift └── Tests │ ├── Info.plist │ └── Tests.swift ├── LICENSE ├── README.md ├── Source ├── Configuration.swift └── StickerView.swift ├── SwiftStickerView.podspec ├── SwiftStickerView ├── Assets │ └── .gitkeep └── Classes │ └── .gitkeep └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 26 | # Carthage/Checkouts 27 | 28 | Carthage/Build 29 | 30 | # We recommend against adding the Pods directory to your .gitignore. However 31 | # you should judge for yourself, the pros and cons are mentioned at: 32 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 33 | # 34 | # Note: if you ignore the Pods directory, make sure to uncomment 35 | # `pod install` in .travis.yml 36 | # 37 | # Pods/ 38 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * https://www.objc.io/issues/6-build-tools/travis-ci/ 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode12.2 6 | language: swift 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/SwiftStickerView.xcworkspace -scheme SwiftStickerView-Example -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8' ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'SwiftStickerView_Example' do 4 | pod 'SwiftStickerView', :path => '../' 5 | 6 | target 'SwiftStickerView_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - SwiftStickerView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - SwiftStickerView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | SwiftStickerView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | SwiftStickerView: 2dbd659157e3c9481ce822be27f707cf0dcb7ae4 13 | 14 | PODFILE CHECKSUM: d8692e193439802994079e6afe2b38d220387557 15 | 16 | COCOAPODS: 1.9.3 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/SwiftStickerView.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SwiftStickerView", 3 | "version": "0.1.0", 4 | "summary": "A short description of SwiftStickerView.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/sachithamh/SwiftStickerView", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "sachithamh": "sachithamh@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/sachithamh/SwiftStickerView.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "SwiftStickerView/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - SwiftStickerView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - SwiftStickerView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | SwiftStickerView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | SwiftStickerView: 2dbd659157e3c9481ce822be27f707cf0dcb7ae4 13 | 14 | PODFILE CHECKSUM: d8692e193439802994079e6afe2b38d220387557 15 | 16 | COCOAPODS: 1.9.3 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 | 25DC9681F415057A8AC27A9A49FBA011 /* Pods-SwiftStickerView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F55D80EE7A45A46E318DF2AF77CCC40C /* Pods-SwiftStickerView_Example-dummy.m */; }; 11 | 319A76749614BF5D24AA77812A8C2EDC /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; 12 | 397958E168DC4BD91343BC1FFEDCF732 /* Pods-SwiftStickerView_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 6A06418B41477B89F83C18828EC3CDB7 /* Pods-SwiftStickerView_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 5642B042CCD67EA81FB755C982638B86 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; 14 | 5B8A047095D3A798C14A0DE71FD4D56A /* SwiftStickerView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7BFDF4CF2D04012DB940B8C12E8A6589 /* SwiftStickerView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | 7C7CC33DE0C189A4A0B2671F7D1D691F /* Pods-SwiftStickerView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 197909E1C51F2C43707950DFAC534C3F /* Pods-SwiftStickerView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | 914BCDB225167A0F0051F5A5 /* StickerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 914BCDB125167A0F0051F5A5 /* StickerView.swift */; }; 17 | 914BCDB425167D140051F5A5 /* Configuration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 914BCDB325167D140051F5A5 /* Configuration.swift */; }; 18 | BB116C98166E19B782A3E4415F9CA0E2 /* Pods-SwiftStickerView_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 239EEDF601D95123DDA81730ED5888B3 /* Pods-SwiftStickerView_Tests-dummy.m */; }; 19 | E2D3A43D0AA5DF8417C04D49FD5B091B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; 20 | FE5E18AC0240B45D0562B2EA49024CA7 /* SwiftStickerView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 652A638E542D8F9ED5907E8BB6FB84D7 /* SwiftStickerView-dummy.m */; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXContainerItemProxy section */ 24 | 258B96271ABFF9F91BC87B0295BEB0EE /* PBXContainerItemProxy */ = { 25 | isa = PBXContainerItemProxy; 26 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 27 | proxyType = 1; 28 | remoteGlobalIDString = 33B4920E928A5D8C8046B1B91E892B45; 29 | remoteInfo = SwiftStickerView; 30 | }; 31 | C129E8FD84A20091FBEF3723A1F6D380 /* PBXContainerItemProxy */ = { 32 | isa = PBXContainerItemProxy; 33 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 34 | proxyType = 1; 35 | remoteGlobalIDString = 453F0466DAF8838934C9970A8AD8FDF2; 36 | remoteInfo = "Pods-SwiftStickerView_Example"; 37 | }; 38 | /* End PBXContainerItemProxy section */ 39 | 40 | /* Begin PBXFileReference section */ 41 | 069A25E1C6C2432165FCE40E6F9B1D66 /* SwiftStickerView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = SwiftStickerView.modulemap; sourceTree = ""; }; 42 | 128D9320C6994688FE864E30EF776A1A /* Pods-SwiftStickerView_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SwiftStickerView_Tests-acknowledgements.markdown"; sourceTree = ""; }; 43 | 197909E1C51F2C43707950DFAC534C3F /* Pods-SwiftStickerView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SwiftStickerView_Example-umbrella.h"; sourceTree = ""; }; 44 | 19CB044E9C5DC514271DF46498A4A418 /* SwiftStickerView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftStickerView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 1AB985A80198D843E5EE070E1A06D6B4 /* Pods-SwiftStickerView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwiftStickerView_Tests.release.xcconfig"; sourceTree = ""; }; 46 | 239EEDF601D95123DDA81730ED5888B3 /* Pods-SwiftStickerView_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SwiftStickerView_Tests-dummy.m"; sourceTree = ""; }; 47 | 23DA795EB25D02B789188876CB451151 /* Pods-SwiftStickerView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SwiftStickerView_Example-acknowledgements.markdown"; sourceTree = ""; }; 48 | 2CCAB79C547718592EEE526FCE762B12 /* Pods-SwiftStickerView_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SwiftStickerView_Example-Info.plist"; sourceTree = ""; }; 49 | 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 50 | 5DD035F06B262A9618A15C9A8DE48AE1 /* SwiftStickerView-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "SwiftStickerView-Info.plist"; sourceTree = ""; }; 51 | 60AED002F1D64B0FB3255506C1BF3790 /* SwiftStickerView.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SwiftStickerView.debug.xcconfig; sourceTree = ""; }; 52 | 652A638E542D8F9ED5907E8BB6FB84D7 /* SwiftStickerView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SwiftStickerView-dummy.m"; sourceTree = ""; }; 53 | 6A06418B41477B89F83C18828EC3CDB7 /* Pods-SwiftStickerView_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SwiftStickerView_Tests-umbrella.h"; sourceTree = ""; }; 54 | 6E44D857FC1589D3301F68A89C25DDD0 /* Pods-SwiftStickerView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SwiftStickerView_Example.modulemap"; sourceTree = ""; }; 55 | 7515E6A36E437796ACED04D61C488B69 /* Pods-SwiftStickerView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwiftStickerView_Example-frameworks.sh"; sourceTree = ""; }; 56 | 7BFDF4CF2D04012DB940B8C12E8A6589 /* SwiftStickerView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SwiftStickerView-umbrella.h"; sourceTree = ""; }; 57 | 914BCDB125167A0F0051F5A5 /* StickerView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StickerView.swift; sourceTree = ""; }; 58 | 914BCDB325167D140051F5A5 /* Configuration.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Configuration.swift; sourceTree = ""; }; 59 | 97CA67D6B0D4186ACFB93FFDA1E9C3E0 /* Pods_SwiftStickerView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwiftStickerView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 60 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 61 | A2705A64723B06F01C0462FC96A0089E /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 62 | AD3ADF7171D9FF8F48FD7933312FB469 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 63 | B077027F3C667EE6D0747F5C1BDEB5A7 /* Pods_SwiftStickerView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwiftStickerView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 64 | B963E7488A659A858CEDF3443CB866FB /* SwiftStickerView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SwiftStickerView-prefix.pch"; sourceTree = ""; }; 65 | C1DF3E72D89A8963AC3551BE5BDCAF04 /* Pods-SwiftStickerView_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SwiftStickerView_Tests.modulemap"; sourceTree = ""; }; 66 | CBE6611AA5C26C08B7A691D6448FEF20 /* Pods-SwiftStickerView_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SwiftStickerView_Tests-Info.plist"; sourceTree = ""; }; 67 | CF2BD58E4595909C9F7A6F057C9CA133 /* SwiftStickerView.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SwiftStickerView.release.xcconfig; sourceTree = ""; }; 68 | D18BAA77A6E0C0505AA8F8CF1C50F476 /* SwiftStickerView.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = SwiftStickerView.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 69 | D52A48A9A81C48322AD7D78745A2EAE0 /* Pods-SwiftStickerView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwiftStickerView_Tests.debug.xcconfig"; sourceTree = ""; }; 70 | DE1C0A9C6D9D0E9DE14767AB4E1F63D2 /* Pods-SwiftStickerView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SwiftStickerView_Example-acknowledgements.plist"; sourceTree = ""; }; 71 | E3E946BCE5FFA008E65EBC68891E3DB1 /* Pods-SwiftStickerView_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SwiftStickerView_Tests-acknowledgements.plist"; sourceTree = ""; }; 72 | E52EE6CE56C0FAACE9AA15091A9F3A10 /* Pods-SwiftStickerView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwiftStickerView_Example.debug.xcconfig"; sourceTree = ""; }; 73 | E73CEB02471050510E57AEC2D7743CD9 /* Pods-SwiftStickerView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwiftStickerView_Example.release.xcconfig"; sourceTree = ""; }; 74 | F55D80EE7A45A46E318DF2AF77CCC40C /* Pods-SwiftStickerView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SwiftStickerView_Example-dummy.m"; sourceTree = ""; }; 75 | /* End PBXFileReference section */ 76 | 77 | /* Begin PBXFrameworksBuildPhase section */ 78 | 9AC6F63A9D6A51CD264F9976C70995C7 /* Frameworks */ = { 79 | isa = PBXFrameworksBuildPhase; 80 | buildActionMask = 2147483647; 81 | files = ( 82 | 5642B042CCD67EA81FB755C982638B86 /* Foundation.framework in Frameworks */, 83 | ); 84 | runOnlyForDeploymentPostprocessing = 0; 85 | }; 86 | D2B4FBF9129368D1A0826AD256BCE7D4 /* Frameworks */ = { 87 | isa = PBXFrameworksBuildPhase; 88 | buildActionMask = 2147483647; 89 | files = ( 90 | E2D3A43D0AA5DF8417C04D49FD5B091B /* Foundation.framework in Frameworks */, 91 | ); 92 | runOnlyForDeploymentPostprocessing = 0; 93 | }; 94 | D6D97F9DDACD19D07007C60842A22CAE /* Frameworks */ = { 95 | isa = PBXFrameworksBuildPhase; 96 | buildActionMask = 2147483647; 97 | files = ( 98 | 319A76749614BF5D24AA77812A8C2EDC /* Foundation.framework in Frameworks */, 99 | ); 100 | runOnlyForDeploymentPostprocessing = 0; 101 | }; 102 | /* End PBXFrameworksBuildPhase section */ 103 | 104 | /* Begin PBXGroup section */ 105 | 030D6E0E48CCB45E3BC1994D267070D0 /* Pod */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | AD3ADF7171D9FF8F48FD7933312FB469 /* LICENSE */, 109 | A2705A64723B06F01C0462FC96A0089E /* README.md */, 110 | D18BAA77A6E0C0505AA8F8CF1C50F476 /* SwiftStickerView.podspec */, 111 | ); 112 | name = Pod; 113 | sourceTree = ""; 114 | }; 115 | 13711D8BD2878B42658A708EA4B9ACC4 /* Products */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | 97CA67D6B0D4186ACFB93FFDA1E9C3E0 /* Pods_SwiftStickerView_Example.framework */, 119 | B077027F3C667EE6D0747F5C1BDEB5A7 /* Pods_SwiftStickerView_Tests.framework */, 120 | 19CB044E9C5DC514271DF46498A4A418 /* SwiftStickerView.framework */, 121 | ); 122 | name = Products; 123 | sourceTree = ""; 124 | }; 125 | 2F64B04924B51086153E5A201340CFA4 /* SwiftStickerView */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | 914BCDB0251679C00051F5A5 /* Source */, 129 | 030D6E0E48CCB45E3BC1994D267070D0 /* Pod */, 130 | D53BBFEBA3AE2C5E1885D09AA985A903 /* Support Files */, 131 | ); 132 | name = SwiftStickerView; 133 | path = ../..; 134 | sourceTree = ""; 135 | }; 136 | 47261356960CD2CE5CF98839AC326CD4 /* Development Pods */ = { 137 | isa = PBXGroup; 138 | children = ( 139 | 2F64B04924B51086153E5A201340CFA4 /* SwiftStickerView */, 140 | ); 141 | name = "Development Pods"; 142 | sourceTree = ""; 143 | }; 144 | 55902BBD9843E300C030040046500547 /* Pods-SwiftStickerView_Example */ = { 145 | isa = PBXGroup; 146 | children = ( 147 | 6E44D857FC1589D3301F68A89C25DDD0 /* Pods-SwiftStickerView_Example.modulemap */, 148 | 23DA795EB25D02B789188876CB451151 /* Pods-SwiftStickerView_Example-acknowledgements.markdown */, 149 | DE1C0A9C6D9D0E9DE14767AB4E1F63D2 /* Pods-SwiftStickerView_Example-acknowledgements.plist */, 150 | F55D80EE7A45A46E318DF2AF77CCC40C /* Pods-SwiftStickerView_Example-dummy.m */, 151 | 7515E6A36E437796ACED04D61C488B69 /* Pods-SwiftStickerView_Example-frameworks.sh */, 152 | 2CCAB79C547718592EEE526FCE762B12 /* Pods-SwiftStickerView_Example-Info.plist */, 153 | 197909E1C51F2C43707950DFAC534C3F /* Pods-SwiftStickerView_Example-umbrella.h */, 154 | E52EE6CE56C0FAACE9AA15091A9F3A10 /* Pods-SwiftStickerView_Example.debug.xcconfig */, 155 | E73CEB02471050510E57AEC2D7743CD9 /* Pods-SwiftStickerView_Example.release.xcconfig */, 156 | ); 157 | name = "Pods-SwiftStickerView_Example"; 158 | path = "Target Support Files/Pods-SwiftStickerView_Example"; 159 | sourceTree = ""; 160 | }; 161 | 85B5DDBEED670EF342C0D65F73203253 /* Pods-SwiftStickerView_Tests */ = { 162 | isa = PBXGroup; 163 | children = ( 164 | C1DF3E72D89A8963AC3551BE5BDCAF04 /* Pods-SwiftStickerView_Tests.modulemap */, 165 | 128D9320C6994688FE864E30EF776A1A /* Pods-SwiftStickerView_Tests-acknowledgements.markdown */, 166 | E3E946BCE5FFA008E65EBC68891E3DB1 /* Pods-SwiftStickerView_Tests-acknowledgements.plist */, 167 | 239EEDF601D95123DDA81730ED5888B3 /* Pods-SwiftStickerView_Tests-dummy.m */, 168 | CBE6611AA5C26C08B7A691D6448FEF20 /* Pods-SwiftStickerView_Tests-Info.plist */, 169 | 6A06418B41477B89F83C18828EC3CDB7 /* Pods-SwiftStickerView_Tests-umbrella.h */, 170 | D52A48A9A81C48322AD7D78745A2EAE0 /* Pods-SwiftStickerView_Tests.debug.xcconfig */, 171 | 1AB985A80198D843E5EE070E1A06D6B4 /* Pods-SwiftStickerView_Tests.release.xcconfig */, 172 | ); 173 | name = "Pods-SwiftStickerView_Tests"; 174 | path = "Target Support Files/Pods-SwiftStickerView_Tests"; 175 | sourceTree = ""; 176 | }; 177 | 914BCDB0251679C00051F5A5 /* Source */ = { 178 | isa = PBXGroup; 179 | children = ( 180 | 914BCDB125167A0F0051F5A5 /* StickerView.swift */, 181 | 914BCDB325167D140051F5A5 /* Configuration.swift */, 182 | ); 183 | path = Source; 184 | sourceTree = ""; 185 | }; 186 | C0834CEBB1379A84116EF29F93051C60 /* iOS */ = { 187 | isa = PBXGroup; 188 | children = ( 189 | 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */, 190 | ); 191 | name = iOS; 192 | sourceTree = ""; 193 | }; 194 | CF1408CF629C7361332E53B88F7BD30C = { 195 | isa = PBXGroup; 196 | children = ( 197 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 198 | 47261356960CD2CE5CF98839AC326CD4 /* Development Pods */, 199 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, 200 | 13711D8BD2878B42658A708EA4B9ACC4 /* Products */, 201 | EC78A6C62240E90788FDCD8CDB5639AA /* Targets Support Files */, 202 | ); 203 | sourceTree = ""; 204 | }; 205 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { 206 | isa = PBXGroup; 207 | children = ( 208 | C0834CEBB1379A84116EF29F93051C60 /* iOS */, 209 | ); 210 | name = Frameworks; 211 | sourceTree = ""; 212 | }; 213 | D53BBFEBA3AE2C5E1885D09AA985A903 /* Support Files */ = { 214 | isa = PBXGroup; 215 | children = ( 216 | 069A25E1C6C2432165FCE40E6F9B1D66 /* SwiftStickerView.modulemap */, 217 | 652A638E542D8F9ED5907E8BB6FB84D7 /* SwiftStickerView-dummy.m */, 218 | 5DD035F06B262A9618A15C9A8DE48AE1 /* SwiftStickerView-Info.plist */, 219 | B963E7488A659A858CEDF3443CB866FB /* SwiftStickerView-prefix.pch */, 220 | 7BFDF4CF2D04012DB940B8C12E8A6589 /* SwiftStickerView-umbrella.h */, 221 | 60AED002F1D64B0FB3255506C1BF3790 /* SwiftStickerView.debug.xcconfig */, 222 | CF2BD58E4595909C9F7A6F057C9CA133 /* SwiftStickerView.release.xcconfig */, 223 | ); 224 | name = "Support Files"; 225 | path = "Example/Pods/Target Support Files/SwiftStickerView"; 226 | sourceTree = ""; 227 | }; 228 | EC78A6C62240E90788FDCD8CDB5639AA /* Targets Support Files */ = { 229 | isa = PBXGroup; 230 | children = ( 231 | 55902BBD9843E300C030040046500547 /* Pods-SwiftStickerView_Example */, 232 | 85B5DDBEED670EF342C0D65F73203253 /* Pods-SwiftStickerView_Tests */, 233 | ); 234 | name = "Targets Support Files"; 235 | sourceTree = ""; 236 | }; 237 | /* End PBXGroup section */ 238 | 239 | /* Begin PBXHeadersBuildPhase section */ 240 | 76FE18135B42BF2023E5714C73F52F0B /* Headers */ = { 241 | isa = PBXHeadersBuildPhase; 242 | buildActionMask = 2147483647; 243 | files = ( 244 | 397958E168DC4BD91343BC1FFEDCF732 /* Pods-SwiftStickerView_Tests-umbrella.h in Headers */, 245 | ); 246 | runOnlyForDeploymentPostprocessing = 0; 247 | }; 248 | 9C95A28116D35F14A8D36DE138065AEF /* Headers */ = { 249 | isa = PBXHeadersBuildPhase; 250 | buildActionMask = 2147483647; 251 | files = ( 252 | 5B8A047095D3A798C14A0DE71FD4D56A /* SwiftStickerView-umbrella.h in Headers */, 253 | ); 254 | runOnlyForDeploymentPostprocessing = 0; 255 | }; 256 | F2321108D65E18BFDEC9E15E6E0FC7CE /* Headers */ = { 257 | isa = PBXHeadersBuildPhase; 258 | buildActionMask = 2147483647; 259 | files = ( 260 | 7C7CC33DE0C189A4A0B2671F7D1D691F /* Pods-SwiftStickerView_Example-umbrella.h in Headers */, 261 | ); 262 | runOnlyForDeploymentPostprocessing = 0; 263 | }; 264 | /* End PBXHeadersBuildPhase section */ 265 | 266 | /* Begin PBXNativeTarget section */ 267 | 33B4920E928A5D8C8046B1B91E892B45 /* SwiftStickerView */ = { 268 | isa = PBXNativeTarget; 269 | buildConfigurationList = EA542D36C671AE213D5FCA017435C330 /* Build configuration list for PBXNativeTarget "SwiftStickerView" */; 270 | buildPhases = ( 271 | 9C95A28116D35F14A8D36DE138065AEF /* Headers */, 272 | 9E0D29DAF1885AF7AAB44343DF59CE21 /* Sources */, 273 | D6D97F9DDACD19D07007C60842A22CAE /* Frameworks */, 274 | 96DA1A86FA847D9A2C5143B65079591C /* Resources */, 275 | ); 276 | buildRules = ( 277 | ); 278 | dependencies = ( 279 | ); 280 | name = SwiftStickerView; 281 | productName = SwiftStickerView; 282 | productReference = 19CB044E9C5DC514271DF46498A4A418 /* SwiftStickerView.framework */; 283 | productType = "com.apple.product-type.framework"; 284 | }; 285 | 453F0466DAF8838934C9970A8AD8FDF2 /* Pods-SwiftStickerView_Example */ = { 286 | isa = PBXNativeTarget; 287 | buildConfigurationList = 6298B68A2AAC5D132DF1CF1D5AF31492 /* Build configuration list for PBXNativeTarget "Pods-SwiftStickerView_Example" */; 288 | buildPhases = ( 289 | F2321108D65E18BFDEC9E15E6E0FC7CE /* Headers */, 290 | 28475EA4D1B0F2B276149F4FFE937F4E /* Sources */, 291 | D2B4FBF9129368D1A0826AD256BCE7D4 /* Frameworks */, 292 | D53C05E782289B9E185E675609A76E34 /* Resources */, 293 | ); 294 | buildRules = ( 295 | ); 296 | dependencies = ( 297 | C57BCC324AAD45A6EB6F5ADD44D1FEC6 /* PBXTargetDependency */, 298 | ); 299 | name = "Pods-SwiftStickerView_Example"; 300 | productName = "Pods-SwiftStickerView_Example"; 301 | productReference = 97CA67D6B0D4186ACFB93FFDA1E9C3E0 /* Pods_SwiftStickerView_Example.framework */; 302 | productType = "com.apple.product-type.framework"; 303 | }; 304 | F6B38A72D20D60492A4832CAE3AEA996 /* Pods-SwiftStickerView_Tests */ = { 305 | isa = PBXNativeTarget; 306 | buildConfigurationList = 68BF320318C98D2D2DF491F3C093EC1C /* Build configuration list for PBXNativeTarget "Pods-SwiftStickerView_Tests" */; 307 | buildPhases = ( 308 | 76FE18135B42BF2023E5714C73F52F0B /* Headers */, 309 | 7E142CE9E0ED985B759B282849656422 /* Sources */, 310 | 9AC6F63A9D6A51CD264F9976C70995C7 /* Frameworks */, 311 | 048DF7050B2DA3D0352E902F7498CFC6 /* Resources */, 312 | ); 313 | buildRules = ( 314 | ); 315 | dependencies = ( 316 | AFEEC3315383E3A92AEACF386977B2E1 /* PBXTargetDependency */, 317 | ); 318 | name = "Pods-SwiftStickerView_Tests"; 319 | productName = "Pods-SwiftStickerView_Tests"; 320 | productReference = B077027F3C667EE6D0747F5C1BDEB5A7 /* Pods_SwiftStickerView_Tests.framework */; 321 | productType = "com.apple.product-type.framework"; 322 | }; 323 | /* End PBXNativeTarget section */ 324 | 325 | /* Begin PBXProject section */ 326 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 327 | isa = PBXProject; 328 | attributes = { 329 | LastSwiftUpdateCheck = 1100; 330 | LastUpgradeCheck = 1100; 331 | TargetAttributes = { 332 | 33B4920E928A5D8C8046B1B91E892B45 = { 333 | LastSwiftMigration = 1150; 334 | }; 335 | }; 336 | }; 337 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 338 | compatibilityVersion = "Xcode 3.2"; 339 | developmentRegion = en; 340 | hasScannedForEncodings = 0; 341 | knownRegions = ( 342 | en, 343 | Base, 344 | ); 345 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 346 | productRefGroup = 13711D8BD2878B42658A708EA4B9ACC4 /* Products */; 347 | projectDirPath = ""; 348 | projectRoot = ""; 349 | targets = ( 350 | 453F0466DAF8838934C9970A8AD8FDF2 /* Pods-SwiftStickerView_Example */, 351 | F6B38A72D20D60492A4832CAE3AEA996 /* Pods-SwiftStickerView_Tests */, 352 | 33B4920E928A5D8C8046B1B91E892B45 /* SwiftStickerView */, 353 | ); 354 | }; 355 | /* End PBXProject section */ 356 | 357 | /* Begin PBXResourcesBuildPhase section */ 358 | 048DF7050B2DA3D0352E902F7498CFC6 /* Resources */ = { 359 | isa = PBXResourcesBuildPhase; 360 | buildActionMask = 2147483647; 361 | files = ( 362 | ); 363 | runOnlyForDeploymentPostprocessing = 0; 364 | }; 365 | 96DA1A86FA847D9A2C5143B65079591C /* Resources */ = { 366 | isa = PBXResourcesBuildPhase; 367 | buildActionMask = 2147483647; 368 | files = ( 369 | ); 370 | runOnlyForDeploymentPostprocessing = 0; 371 | }; 372 | D53C05E782289B9E185E675609A76E34 /* Resources */ = { 373 | isa = PBXResourcesBuildPhase; 374 | buildActionMask = 2147483647; 375 | files = ( 376 | ); 377 | runOnlyForDeploymentPostprocessing = 0; 378 | }; 379 | /* End PBXResourcesBuildPhase section */ 380 | 381 | /* Begin PBXSourcesBuildPhase section */ 382 | 28475EA4D1B0F2B276149F4FFE937F4E /* Sources */ = { 383 | isa = PBXSourcesBuildPhase; 384 | buildActionMask = 2147483647; 385 | files = ( 386 | 25DC9681F415057A8AC27A9A49FBA011 /* Pods-SwiftStickerView_Example-dummy.m in Sources */, 387 | ); 388 | runOnlyForDeploymentPostprocessing = 0; 389 | }; 390 | 7E142CE9E0ED985B759B282849656422 /* Sources */ = { 391 | isa = PBXSourcesBuildPhase; 392 | buildActionMask = 2147483647; 393 | files = ( 394 | BB116C98166E19B782A3E4415F9CA0E2 /* Pods-SwiftStickerView_Tests-dummy.m in Sources */, 395 | ); 396 | runOnlyForDeploymentPostprocessing = 0; 397 | }; 398 | 9E0D29DAF1885AF7AAB44343DF59CE21 /* Sources */ = { 399 | isa = PBXSourcesBuildPhase; 400 | buildActionMask = 2147483647; 401 | files = ( 402 | 914BCDB425167D140051F5A5 /* Configuration.swift in Sources */, 403 | 914BCDB225167A0F0051F5A5 /* StickerView.swift in Sources */, 404 | FE5E18AC0240B45D0562B2EA49024CA7 /* SwiftStickerView-dummy.m in Sources */, 405 | ); 406 | runOnlyForDeploymentPostprocessing = 0; 407 | }; 408 | /* End PBXSourcesBuildPhase section */ 409 | 410 | /* Begin PBXTargetDependency section */ 411 | AFEEC3315383E3A92AEACF386977B2E1 /* PBXTargetDependency */ = { 412 | isa = PBXTargetDependency; 413 | name = "Pods-SwiftStickerView_Example"; 414 | target = 453F0466DAF8838934C9970A8AD8FDF2 /* Pods-SwiftStickerView_Example */; 415 | targetProxy = C129E8FD84A20091FBEF3723A1F6D380 /* PBXContainerItemProxy */; 416 | }; 417 | C57BCC324AAD45A6EB6F5ADD44D1FEC6 /* PBXTargetDependency */ = { 418 | isa = PBXTargetDependency; 419 | name = SwiftStickerView; 420 | target = 33B4920E928A5D8C8046B1B91E892B45 /* SwiftStickerView */; 421 | targetProxy = 258B96271ABFF9F91BC87B0295BEB0EE /* PBXContainerItemProxy */; 422 | }; 423 | /* End PBXTargetDependency section */ 424 | 425 | /* Begin XCBuildConfiguration section */ 426 | 2818E627D270828B003C65ED059D5132 /* Release */ = { 427 | isa = XCBuildConfiguration; 428 | baseConfigurationReference = 1AB985A80198D843E5EE070E1A06D6B4 /* Pods-SwiftStickerView_Tests.release.xcconfig */; 429 | buildSettings = { 430 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 431 | CODE_SIGN_IDENTITY = ""; 432 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 433 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 434 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 435 | CURRENT_PROJECT_VERSION = 1; 436 | DEFINES_MODULE = YES; 437 | DYLIB_COMPATIBILITY_VERSION = 1; 438 | DYLIB_CURRENT_VERSION = 1; 439 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 440 | INFOPLIST_FILE = "Target Support Files/Pods-SwiftStickerView_Tests/Pods-SwiftStickerView_Tests-Info.plist"; 441 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 442 | IPHONEOS_DEPLOYMENT_TARGET = 13.0; 443 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 444 | MACH_O_TYPE = staticlib; 445 | MODULEMAP_FILE = "Target Support Files/Pods-SwiftStickerView_Tests/Pods-SwiftStickerView_Tests.modulemap"; 446 | OTHER_LDFLAGS = ""; 447 | OTHER_LIBTOOLFLAGS = ""; 448 | PODS_ROOT = "$(SRCROOT)"; 449 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 450 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 451 | SDKROOT = iphoneos; 452 | SKIP_INSTALL = YES; 453 | TARGETED_DEVICE_FAMILY = "1,2"; 454 | VALIDATE_PRODUCT = YES; 455 | VERSIONING_SYSTEM = "apple-generic"; 456 | VERSION_INFO_PREFIX = ""; 457 | }; 458 | name = Release; 459 | }; 460 | 38BE6FC70FC1B20F28120F500F9CBA5F /* Release */ = { 461 | isa = XCBuildConfiguration; 462 | baseConfigurationReference = CF2BD58E4595909C9F7A6F057C9CA133 /* SwiftStickerView.release.xcconfig */; 463 | buildSettings = { 464 | CLANG_ENABLE_MODULES = YES; 465 | CODE_SIGN_IDENTITY = ""; 466 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 467 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 468 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 469 | CURRENT_PROJECT_VERSION = 1; 470 | DEFINES_MODULE = YES; 471 | DYLIB_COMPATIBILITY_VERSION = 1; 472 | DYLIB_CURRENT_VERSION = 1; 473 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 474 | GCC_PREFIX_HEADER = "Target Support Files/SwiftStickerView/SwiftStickerView-prefix.pch"; 475 | INFOPLIST_FILE = "Target Support Files/SwiftStickerView/SwiftStickerView-Info.plist"; 476 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 477 | IPHONEOS_DEPLOYMENT_TARGET = 13.0; 478 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 479 | MODULEMAP_FILE = "Target Support Files/SwiftStickerView/SwiftStickerView.modulemap"; 480 | PRODUCT_MODULE_NAME = SwiftStickerView; 481 | PRODUCT_NAME = SwiftStickerView; 482 | SDKROOT = iphoneos; 483 | SKIP_INSTALL = YES; 484 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 485 | SWIFT_VERSION = 4.0; 486 | TARGETED_DEVICE_FAMILY = "1,2"; 487 | VALIDATE_PRODUCT = YES; 488 | VERSIONING_SYSTEM = "apple-generic"; 489 | VERSION_INFO_PREFIX = ""; 490 | }; 491 | name = Release; 492 | }; 493 | 78620FD9E4B174C8C9B63CAA584CD0EC /* Debug */ = { 494 | isa = XCBuildConfiguration; 495 | baseConfigurationReference = E52EE6CE56C0FAACE9AA15091A9F3A10 /* Pods-SwiftStickerView_Example.debug.xcconfig */; 496 | buildSettings = { 497 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 498 | CODE_SIGN_IDENTITY = ""; 499 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 500 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 501 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 502 | CURRENT_PROJECT_VERSION = 1; 503 | DEFINES_MODULE = YES; 504 | DYLIB_COMPATIBILITY_VERSION = 1; 505 | DYLIB_CURRENT_VERSION = 1; 506 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 507 | INFOPLIST_FILE = "Target Support Files/Pods-SwiftStickerView_Example/Pods-SwiftStickerView_Example-Info.plist"; 508 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 509 | IPHONEOS_DEPLOYMENT_TARGET = 13.0; 510 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 511 | MACH_O_TYPE = staticlib; 512 | MODULEMAP_FILE = "Target Support Files/Pods-SwiftStickerView_Example/Pods-SwiftStickerView_Example.modulemap"; 513 | OTHER_LDFLAGS = ""; 514 | OTHER_LIBTOOLFLAGS = ""; 515 | PODS_ROOT = "$(SRCROOT)"; 516 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 517 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 518 | SDKROOT = iphoneos; 519 | SKIP_INSTALL = YES; 520 | TARGETED_DEVICE_FAMILY = "1,2"; 521 | VERSIONING_SYSTEM = "apple-generic"; 522 | VERSION_INFO_PREFIX = ""; 523 | }; 524 | name = Debug; 525 | }; 526 | 90C8BE57BA941809B7BEEC9F741D28B0 /* Debug */ = { 527 | isa = XCBuildConfiguration; 528 | baseConfigurationReference = D52A48A9A81C48322AD7D78745A2EAE0 /* Pods-SwiftStickerView_Tests.debug.xcconfig */; 529 | buildSettings = { 530 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 531 | CODE_SIGN_IDENTITY = ""; 532 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 533 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 534 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 535 | CURRENT_PROJECT_VERSION = 1; 536 | DEFINES_MODULE = YES; 537 | DYLIB_COMPATIBILITY_VERSION = 1; 538 | DYLIB_CURRENT_VERSION = 1; 539 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 540 | INFOPLIST_FILE = "Target Support Files/Pods-SwiftStickerView_Tests/Pods-SwiftStickerView_Tests-Info.plist"; 541 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 542 | IPHONEOS_DEPLOYMENT_TARGET = 13.0; 543 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 544 | MACH_O_TYPE = staticlib; 545 | MODULEMAP_FILE = "Target Support Files/Pods-SwiftStickerView_Tests/Pods-SwiftStickerView_Tests.modulemap"; 546 | OTHER_LDFLAGS = ""; 547 | OTHER_LIBTOOLFLAGS = ""; 548 | PODS_ROOT = "$(SRCROOT)"; 549 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 550 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 551 | SDKROOT = iphoneos; 552 | SKIP_INSTALL = YES; 553 | TARGETED_DEVICE_FAMILY = "1,2"; 554 | VERSIONING_SYSTEM = "apple-generic"; 555 | VERSION_INFO_PREFIX = ""; 556 | }; 557 | name = Debug; 558 | }; 559 | B0087CB4594321EF41619F3181FE120E /* Release */ = { 560 | isa = XCBuildConfiguration; 561 | buildSettings = { 562 | ALWAYS_SEARCH_USER_PATHS = NO; 563 | CLANG_ANALYZER_NONNULL = YES; 564 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 565 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 566 | CLANG_CXX_LIBRARY = "libc++"; 567 | CLANG_ENABLE_MODULES = YES; 568 | CLANG_ENABLE_OBJC_ARC = YES; 569 | CLANG_ENABLE_OBJC_WEAK = YES; 570 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 571 | CLANG_WARN_BOOL_CONVERSION = YES; 572 | CLANG_WARN_COMMA = YES; 573 | CLANG_WARN_CONSTANT_CONVERSION = YES; 574 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 575 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 576 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 577 | CLANG_WARN_EMPTY_BODY = YES; 578 | CLANG_WARN_ENUM_CONVERSION = YES; 579 | CLANG_WARN_INFINITE_RECURSION = YES; 580 | CLANG_WARN_INT_CONVERSION = YES; 581 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 582 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 583 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 584 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 585 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 586 | CLANG_WARN_STRICT_PROTOTYPES = YES; 587 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 588 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 589 | CLANG_WARN_UNREACHABLE_CODE = YES; 590 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 591 | COPY_PHASE_STRIP = NO; 592 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 593 | ENABLE_NS_ASSERTIONS = NO; 594 | ENABLE_STRICT_OBJC_MSGSEND = YES; 595 | GCC_C_LANGUAGE_STANDARD = gnu11; 596 | GCC_NO_COMMON_BLOCKS = YES; 597 | GCC_PREPROCESSOR_DEFINITIONS = ( 598 | "POD_CONFIGURATION_RELEASE=1", 599 | "$(inherited)", 600 | ); 601 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 602 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 603 | GCC_WARN_UNDECLARED_SELECTOR = YES; 604 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 605 | GCC_WARN_UNUSED_FUNCTION = YES; 606 | GCC_WARN_UNUSED_VARIABLE = YES; 607 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 608 | MTL_ENABLE_DEBUG_INFO = NO; 609 | MTL_FAST_MATH = YES; 610 | PRODUCT_NAME = "$(TARGET_NAME)"; 611 | STRIP_INSTALLED_PRODUCT = NO; 612 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 613 | SWIFT_VERSION = 5.0; 614 | SYMROOT = "${SRCROOT}/../build"; 615 | }; 616 | name = Release; 617 | }; 618 | B0691D2EC2621C212B505B2F5CBB9384 /* Release */ = { 619 | isa = XCBuildConfiguration; 620 | baseConfigurationReference = E73CEB02471050510E57AEC2D7743CD9 /* Pods-SwiftStickerView_Example.release.xcconfig */; 621 | buildSettings = { 622 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 623 | CODE_SIGN_IDENTITY = ""; 624 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 625 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 626 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 627 | CURRENT_PROJECT_VERSION = 1; 628 | DEFINES_MODULE = YES; 629 | DYLIB_COMPATIBILITY_VERSION = 1; 630 | DYLIB_CURRENT_VERSION = 1; 631 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 632 | INFOPLIST_FILE = "Target Support Files/Pods-SwiftStickerView_Example/Pods-SwiftStickerView_Example-Info.plist"; 633 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 634 | IPHONEOS_DEPLOYMENT_TARGET = 13.0; 635 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 636 | MACH_O_TYPE = staticlib; 637 | MODULEMAP_FILE = "Target Support Files/Pods-SwiftStickerView_Example/Pods-SwiftStickerView_Example.modulemap"; 638 | OTHER_LDFLAGS = ""; 639 | OTHER_LIBTOOLFLAGS = ""; 640 | PODS_ROOT = "$(SRCROOT)"; 641 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 642 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 643 | SDKROOT = iphoneos; 644 | SKIP_INSTALL = YES; 645 | TARGETED_DEVICE_FAMILY = "1,2"; 646 | VALIDATE_PRODUCT = YES; 647 | VERSIONING_SYSTEM = "apple-generic"; 648 | VERSION_INFO_PREFIX = ""; 649 | }; 650 | name = Release; 651 | }; 652 | B8BCBD0110C2658BB5DAADB9B7D97B92 /* Debug */ = { 653 | isa = XCBuildConfiguration; 654 | buildSettings = { 655 | ALWAYS_SEARCH_USER_PATHS = NO; 656 | CLANG_ANALYZER_NONNULL = YES; 657 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 658 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 659 | CLANG_CXX_LIBRARY = "libc++"; 660 | CLANG_ENABLE_MODULES = YES; 661 | CLANG_ENABLE_OBJC_ARC = YES; 662 | CLANG_ENABLE_OBJC_WEAK = YES; 663 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 664 | CLANG_WARN_BOOL_CONVERSION = YES; 665 | CLANG_WARN_COMMA = YES; 666 | CLANG_WARN_CONSTANT_CONVERSION = YES; 667 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 668 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 669 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 670 | CLANG_WARN_EMPTY_BODY = YES; 671 | CLANG_WARN_ENUM_CONVERSION = YES; 672 | CLANG_WARN_INFINITE_RECURSION = YES; 673 | CLANG_WARN_INT_CONVERSION = YES; 674 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 675 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 676 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 677 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 678 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 679 | CLANG_WARN_STRICT_PROTOTYPES = YES; 680 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 681 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 682 | CLANG_WARN_UNREACHABLE_CODE = YES; 683 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 684 | COPY_PHASE_STRIP = NO; 685 | DEBUG_INFORMATION_FORMAT = dwarf; 686 | ENABLE_STRICT_OBJC_MSGSEND = YES; 687 | ENABLE_TESTABILITY = YES; 688 | GCC_C_LANGUAGE_STANDARD = gnu11; 689 | GCC_DYNAMIC_NO_PIC = NO; 690 | GCC_NO_COMMON_BLOCKS = YES; 691 | GCC_OPTIMIZATION_LEVEL = 0; 692 | GCC_PREPROCESSOR_DEFINITIONS = ( 693 | "POD_CONFIGURATION_DEBUG=1", 694 | "DEBUG=1", 695 | "$(inherited)", 696 | ); 697 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 698 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 699 | GCC_WARN_UNDECLARED_SELECTOR = YES; 700 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 701 | GCC_WARN_UNUSED_FUNCTION = YES; 702 | GCC_WARN_UNUSED_VARIABLE = YES; 703 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 704 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 705 | MTL_FAST_MATH = YES; 706 | ONLY_ACTIVE_ARCH = YES; 707 | PRODUCT_NAME = "$(TARGET_NAME)"; 708 | STRIP_INSTALLED_PRODUCT = NO; 709 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 710 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 711 | SWIFT_VERSION = 5.0; 712 | SYMROOT = "${SRCROOT}/../build"; 713 | }; 714 | name = Debug; 715 | }; 716 | C28E6ADFC0EB0A2882FE6D660AB2A01C /* Debug */ = { 717 | isa = XCBuildConfiguration; 718 | baseConfigurationReference = 60AED002F1D64B0FB3255506C1BF3790 /* SwiftStickerView.debug.xcconfig */; 719 | buildSettings = { 720 | CLANG_ENABLE_MODULES = YES; 721 | CODE_SIGN_IDENTITY = ""; 722 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 723 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 724 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 725 | CURRENT_PROJECT_VERSION = 1; 726 | DEFINES_MODULE = YES; 727 | DYLIB_COMPATIBILITY_VERSION = 1; 728 | DYLIB_CURRENT_VERSION = 1; 729 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 730 | GCC_PREFIX_HEADER = "Target Support Files/SwiftStickerView/SwiftStickerView-prefix.pch"; 731 | INFOPLIST_FILE = "Target Support Files/SwiftStickerView/SwiftStickerView-Info.plist"; 732 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 733 | IPHONEOS_DEPLOYMENT_TARGET = 13.0; 734 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 735 | MODULEMAP_FILE = "Target Support Files/SwiftStickerView/SwiftStickerView.modulemap"; 736 | PRODUCT_MODULE_NAME = SwiftStickerView; 737 | PRODUCT_NAME = SwiftStickerView; 738 | SDKROOT = iphoneos; 739 | SKIP_INSTALL = YES; 740 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 741 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 742 | SWIFT_VERSION = 4.0; 743 | TARGETED_DEVICE_FAMILY = "1,2"; 744 | VERSIONING_SYSTEM = "apple-generic"; 745 | VERSION_INFO_PREFIX = ""; 746 | }; 747 | name = Debug; 748 | }; 749 | /* End XCBuildConfiguration section */ 750 | 751 | /* Begin XCConfigurationList section */ 752 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 753 | isa = XCConfigurationList; 754 | buildConfigurations = ( 755 | B8BCBD0110C2658BB5DAADB9B7D97B92 /* Debug */, 756 | B0087CB4594321EF41619F3181FE120E /* Release */, 757 | ); 758 | defaultConfigurationIsVisible = 0; 759 | defaultConfigurationName = Release; 760 | }; 761 | 6298B68A2AAC5D132DF1CF1D5AF31492 /* Build configuration list for PBXNativeTarget "Pods-SwiftStickerView_Example" */ = { 762 | isa = XCConfigurationList; 763 | buildConfigurations = ( 764 | 78620FD9E4B174C8C9B63CAA584CD0EC /* Debug */, 765 | B0691D2EC2621C212B505B2F5CBB9384 /* Release */, 766 | ); 767 | defaultConfigurationIsVisible = 0; 768 | defaultConfigurationName = Release; 769 | }; 770 | 68BF320318C98D2D2DF491F3C093EC1C /* Build configuration list for PBXNativeTarget "Pods-SwiftStickerView_Tests" */ = { 771 | isa = XCConfigurationList; 772 | buildConfigurations = ( 773 | 90C8BE57BA941809B7BEEC9F741D28B0 /* Debug */, 774 | 2818E627D270828B003C65ED059D5132 /* Release */, 775 | ); 776 | defaultConfigurationIsVisible = 0; 777 | defaultConfigurationName = Release; 778 | }; 779 | EA542D36C671AE213D5FCA017435C330 /* Build configuration list for PBXNativeTarget "SwiftStickerView" */ = { 780 | isa = XCConfigurationList; 781 | buildConfigurations = ( 782 | C28E6ADFC0EB0A2882FE6D660AB2A01C /* Debug */, 783 | 38BE6FC70FC1B20F28120F500F9CBA5F /* Release */, 784 | ); 785 | defaultConfigurationIsVisible = 0; 786 | defaultConfigurationName = Release; 787 | }; 788 | /* End XCConfigurationList section */ 789 | }; 790 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 791 | } 792 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SwiftStickerView_Example/Pods-SwiftStickerView_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 | 2.0.6 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SwiftStickerView_Example/Pods-SwiftStickerView_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## SwiftStickerView 5 | 6 | Copyright (c) 2020 sachithamh 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-SwiftStickerView_Example/Pods-SwiftStickerView_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) 2020 sachithamh <sachithamh@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 | SwiftStickerView 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-SwiftStickerView_Example/Pods-SwiftStickerView_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_SwiftStickerView_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_SwiftStickerView_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SwiftStickerView_Example/Pods-SwiftStickerView_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | 23 | # Used as a return value for each invocation of `strip_invalid_archs` function. 24 | STRIP_BINARY_RETVAL=0 25 | 26 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 27 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 28 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 29 | 30 | # Copies and strips a vendored framework 31 | install_framework() 32 | { 33 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 34 | local source="${BUILT_PRODUCTS_DIR}/$1" 35 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 36 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 37 | elif [ -r "$1" ]; then 38 | local source="$1" 39 | fi 40 | 41 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 42 | 43 | if [ -L "${source}" ]; then 44 | echo "Symlinked..." 45 | source="$(readlink "${source}")" 46 | fi 47 | 48 | # Use filter instead of exclude so missing patterns don't throw errors. 49 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 50 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 51 | 52 | local basename 53 | basename="$(basename -s .framework "$1")" 54 | binary="${destination}/${basename}.framework/${basename}" 55 | 56 | if ! [ -r "$binary" ]; then 57 | binary="${destination}/${basename}" 58 | elif [ -L "${binary}" ]; then 59 | echo "Destination binary is symlinked..." 60 | dirname="$(dirname "${binary}")" 61 | binary="${dirname}/$(readlink "${binary}")" 62 | fi 63 | 64 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 65 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 66 | strip_invalid_archs "$binary" 67 | fi 68 | 69 | # Resign the code if required by the build settings to avoid unstable apps 70 | code_sign_if_enabled "${destination}/$(basename "$1")" 71 | 72 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 73 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 74 | local swift_runtime_libs 75 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 76 | for lib in $swift_runtime_libs; do 77 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 78 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 79 | code_sign_if_enabled "${destination}/${lib}" 80 | done 81 | fi 82 | } 83 | 84 | # Copies and strips a vendored dSYM 85 | install_dsym() { 86 | local source="$1" 87 | warn_missing_arch=${2:-true} 88 | if [ -r "$source" ]; then 89 | # Copy the dSYM into the targets temp dir. 90 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 91 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 92 | 93 | local basename 94 | basename="$(basename -s .dSYM "$source")" 95 | binary_name="$(ls "$source/Contents/Resources/DWARF")" 96 | binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}" 97 | 98 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 99 | if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then 100 | strip_invalid_archs "$binary" "$warn_missing_arch" 101 | fi 102 | 103 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 104 | # Move the stripped file into its final destination. 105 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 106 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 107 | else 108 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 109 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM" 110 | fi 111 | fi 112 | } 113 | 114 | # Copies the bcsymbolmap files of a vendored framework 115 | install_bcsymbolmap() { 116 | local bcsymbolmap_path="$1" 117 | local destination="${BUILT_PRODUCTS_DIR}" 118 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" 119 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" 120 | } 121 | 122 | # Signs a framework with the provided identity 123 | code_sign_if_enabled() { 124 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 125 | # Use the current code_sign_identity 126 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 127 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 128 | 129 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 130 | code_sign_cmd="$code_sign_cmd &" 131 | fi 132 | echo "$code_sign_cmd" 133 | eval "$code_sign_cmd" 134 | fi 135 | } 136 | 137 | # Strip invalid architectures 138 | strip_invalid_archs() { 139 | binary="$1" 140 | warn_missing_arch=${2:-true} 141 | # Get architectures for current target binary 142 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 143 | # Intersect them with the architectures we are building for 144 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 145 | # If there are no archs supported by this binary then warn the user 146 | if [[ -z "$intersected_archs" ]]; then 147 | if [[ "$warn_missing_arch" == "true" ]]; then 148 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 149 | fi 150 | STRIP_BINARY_RETVAL=0 151 | return 152 | fi 153 | stripped="" 154 | for arch in $binary_archs; do 155 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 156 | # Strip non-valid architectures in-place 157 | lipo -remove "$arch" -output "$binary" "$binary" 158 | stripped="$stripped $arch" 159 | fi 160 | done 161 | if [[ "$stripped" ]]; then 162 | echo "Stripped $binary of architectures:$stripped" 163 | fi 164 | STRIP_BINARY_RETVAL=1 165 | } 166 | 167 | install_artifact() { 168 | artifact="$1" 169 | base="$(basename "$artifact")" 170 | case $base in 171 | *.framework) 172 | install_framework "$artifact" 173 | ;; 174 | *.dSYM) 175 | # Suppress arch warnings since XCFrameworks will include many dSYM files 176 | install_dsym "$artifact" "false" 177 | ;; 178 | *.bcsymbolmap) 179 | install_bcsymbolmap "$artifact" 180 | ;; 181 | *) 182 | echo "error: Unrecognized artifact "$artifact"" 183 | ;; 184 | esac 185 | } 186 | 187 | copy_artifacts() { 188 | file_list="$1" 189 | while read artifact; do 190 | install_artifact "$artifact" 191 | done <$file_list 192 | } 193 | 194 | ARTIFACT_LIST_FILE="${BUILT_PRODUCTS_DIR}/cocoapods-artifacts-${CONFIGURATION}.txt" 195 | if [ -r "${ARTIFACT_LIST_FILE}" ]; then 196 | copy_artifacts "${ARTIFACT_LIST_FILE}" 197 | fi 198 | 199 | if [[ "$CONFIGURATION" == "Debug" ]]; then 200 | install_framework "${BUILT_PRODUCTS_DIR}/SwiftStickerView/SwiftStickerView.framework" 201 | fi 202 | if [[ "$CONFIGURATION" == "Release" ]]; then 203 | install_framework "${BUILT_PRODUCTS_DIR}/SwiftStickerView/SwiftStickerView.framework" 204 | fi 205 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 206 | wait 207 | fi 208 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SwiftStickerView_Example/Pods-SwiftStickerView_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_SwiftStickerView_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_SwiftStickerView_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SwiftStickerView_Example/Pods-SwiftStickerView_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SwiftStickerView" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SwiftStickerView/SwiftStickerView.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "SwiftStickerView" 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 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SwiftStickerView_Example/Pods-SwiftStickerView_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_SwiftStickerView_Example { 2 | umbrella header "Pods-SwiftStickerView_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SwiftStickerView_Example/Pods-SwiftStickerView_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SwiftStickerView" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SwiftStickerView/SwiftStickerView.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "SwiftStickerView" 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 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SwiftStickerView_Tests/Pods-SwiftStickerView_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 | 2.0.6 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SwiftStickerView_Tests/Pods-SwiftStickerView_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-SwiftStickerView_Tests/Pods-SwiftStickerView_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-SwiftStickerView_Tests/Pods-SwiftStickerView_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_SwiftStickerView_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_SwiftStickerView_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SwiftStickerView_Tests/Pods-SwiftStickerView_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_SwiftStickerView_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_SwiftStickerView_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SwiftStickerView_Tests/Pods-SwiftStickerView_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SwiftStickerView" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SwiftStickerView/SwiftStickerView.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "SwiftStickerView" 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 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SwiftStickerView_Tests/Pods-SwiftStickerView_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_SwiftStickerView_Tests { 2 | umbrella header "Pods-SwiftStickerView_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SwiftStickerView_Tests/Pods-SwiftStickerView_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SwiftStickerView" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SwiftStickerView/SwiftStickerView.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "SwiftStickerView" 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 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SwiftStickerView/SwiftStickerView-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 | 2.0.6 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SwiftStickerView/SwiftStickerView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_SwiftStickerView : NSObject 3 | @end 4 | @implementation PodsDummy_SwiftStickerView 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SwiftStickerView/SwiftStickerView-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/SwiftStickerView/SwiftStickerView-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 SwiftStickerViewVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char SwiftStickerViewVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SwiftStickerView/SwiftStickerView.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SwiftStickerView 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SwiftStickerView/SwiftStickerView.modulemap: -------------------------------------------------------------------------------- 1 | framework module SwiftStickerView { 2 | umbrella header "SwiftStickerView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SwiftStickerView/SwiftStickerView.release.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SwiftStickerView 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 11 | -------------------------------------------------------------------------------- /Example/SwiftStickerView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 3A5BE22BC857156A36A6DA0F /* Pods_SwiftStickerView_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3D528CE27F88BB3CF022EE33 /* Pods_SwiftStickerView_Tests.framework */; }; 11 | 439FB9055C1AB99A53E1929B /* Pods_SwiftStickerView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 343408D272AAF27D28044B08 /* Pods_SwiftStickerView_Example.framework */; }; 12 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 13 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 14 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 15 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 16 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 17 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 26 | remoteInfo = SwiftStickerView; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 0F750105565346444E0A2BAC /* Pods-SwiftStickerView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftStickerView_Tests.debug.xcconfig"; path = "Target Support Files/Pods-SwiftStickerView_Tests/Pods-SwiftStickerView_Tests.debug.xcconfig"; sourceTree = ""; }; 32 | 1213C26526F07866CFAF1753 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 33 | 343408D272AAF27D28044B08 /* Pods_SwiftStickerView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwiftStickerView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 3D528CE27F88BB3CF022EE33 /* Pods_SwiftStickerView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwiftStickerView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 35 | 424336B485E2DE4B3B4ACCFF /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 36 | 607FACD01AFB9204008FA782 /* SwiftStickerView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwiftStickerView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 37 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 38 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 39 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 40 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 41 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 42 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 43 | 607FACE51AFB9204008FA782 /* SwiftStickerView_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwiftStickerView_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 46 | 717F402D2DF22B6661819DA2 /* Pods-SwiftStickerView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftStickerView_Tests.release.xcconfig"; path = "Target Support Files/Pods-SwiftStickerView_Tests/Pods-SwiftStickerView_Tests.release.xcconfig"; sourceTree = ""; }; 47 | AE402CC2380DD326BC90FB11 /* Pods-SwiftStickerView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftStickerView_Example.debug.xcconfig"; path = "Target Support Files/Pods-SwiftStickerView_Example/Pods-SwiftStickerView_Example.debug.xcconfig"; sourceTree = ""; }; 48 | C7B609290CF6947C6AB6CBDA /* SwiftStickerView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = SwiftStickerView.podspec; path = ../SwiftStickerView.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 49 | D188173DBC5DE8D6DCA34D61 /* Pods-SwiftStickerView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftStickerView_Example.release.xcconfig"; path = "Target Support Files/Pods-SwiftStickerView_Example/Pods-SwiftStickerView_Example.release.xcconfig"; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | 439FB9055C1AB99A53E1929B /* Pods_SwiftStickerView_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | 3A5BE22BC857156A36A6DA0F /* Pods_SwiftStickerView_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 607FACC71AFB9204008FA782 = { 73 | isa = PBXGroup; 74 | children = ( 75 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 76 | 607FACD21AFB9204008FA782 /* Example for SwiftStickerView */, 77 | 607FACE81AFB9204008FA782 /* Tests */, 78 | 607FACD11AFB9204008FA782 /* Products */, 79 | D73E3B93455BE3527D3D75FE /* Pods */, 80 | FD55F4567341D36CA311DCA1 /* Frameworks */, 81 | ); 82 | sourceTree = ""; 83 | }; 84 | 607FACD11AFB9204008FA782 /* Products */ = { 85 | isa = PBXGroup; 86 | children = ( 87 | 607FACD01AFB9204008FA782 /* SwiftStickerView_Example.app */, 88 | 607FACE51AFB9204008FA782 /* SwiftStickerView_Tests.xctest */, 89 | ); 90 | name = Products; 91 | sourceTree = ""; 92 | }; 93 | 607FACD21AFB9204008FA782 /* Example for SwiftStickerView */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 97 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 98 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 99 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 100 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 101 | 607FACD31AFB9204008FA782 /* Supporting Files */, 102 | ); 103 | name = "Example for SwiftStickerView"; 104 | path = SwiftStickerView; 105 | sourceTree = ""; 106 | }; 107 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | 607FACD41AFB9204008FA782 /* Info.plist */, 111 | ); 112 | name = "Supporting Files"; 113 | sourceTree = ""; 114 | }; 115 | 607FACE81AFB9204008FA782 /* Tests */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 119 | 607FACE91AFB9204008FA782 /* Supporting Files */, 120 | ); 121 | path = Tests; 122 | sourceTree = ""; 123 | }; 124 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 607FACEA1AFB9204008FA782 /* Info.plist */, 128 | ); 129 | name = "Supporting Files"; 130 | sourceTree = ""; 131 | }; 132 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | C7B609290CF6947C6AB6CBDA /* SwiftStickerView.podspec */, 136 | 424336B485E2DE4B3B4ACCFF /* README.md */, 137 | 1213C26526F07866CFAF1753 /* LICENSE */, 138 | ); 139 | name = "Podspec Metadata"; 140 | sourceTree = ""; 141 | }; 142 | D73E3B93455BE3527D3D75FE /* Pods */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | AE402CC2380DD326BC90FB11 /* Pods-SwiftStickerView_Example.debug.xcconfig */, 146 | D188173DBC5DE8D6DCA34D61 /* Pods-SwiftStickerView_Example.release.xcconfig */, 147 | 0F750105565346444E0A2BAC /* Pods-SwiftStickerView_Tests.debug.xcconfig */, 148 | 717F402D2DF22B6661819DA2 /* Pods-SwiftStickerView_Tests.release.xcconfig */, 149 | ); 150 | path = Pods; 151 | sourceTree = ""; 152 | }; 153 | FD55F4567341D36CA311DCA1 /* Frameworks */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | 343408D272AAF27D28044B08 /* Pods_SwiftStickerView_Example.framework */, 157 | 3D528CE27F88BB3CF022EE33 /* Pods_SwiftStickerView_Tests.framework */, 158 | ); 159 | name = Frameworks; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* SwiftStickerView_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SwiftStickerView_Example" */; 168 | buildPhases = ( 169 | 40A35BBA01533B9569518F58 /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | 1A884CBC06B100AAB9E5A445 /* [CP] Embed Pods Frameworks */, 174 | ); 175 | buildRules = ( 176 | ); 177 | dependencies = ( 178 | ); 179 | name = SwiftStickerView_Example; 180 | productName = SwiftStickerView; 181 | productReference = 607FACD01AFB9204008FA782 /* SwiftStickerView_Example.app */; 182 | productType = "com.apple.product-type.application"; 183 | }; 184 | 607FACE41AFB9204008FA782 /* SwiftStickerView_Tests */ = { 185 | isa = PBXNativeTarget; 186 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SwiftStickerView_Tests" */; 187 | buildPhases = ( 188 | 020E7469D72652FB9843106C /* [CP] Check Pods Manifest.lock */, 189 | 607FACE11AFB9204008FA782 /* Sources */, 190 | 607FACE21AFB9204008FA782 /* Frameworks */, 191 | 607FACE31AFB9204008FA782 /* Resources */, 192 | ); 193 | buildRules = ( 194 | ); 195 | dependencies = ( 196 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 197 | ); 198 | name = SwiftStickerView_Tests; 199 | productName = Tests; 200 | productReference = 607FACE51AFB9204008FA782 /* SwiftStickerView_Tests.xctest */; 201 | productType = "com.apple.product-type.bundle.unit-test"; 202 | }; 203 | /* End PBXNativeTarget section */ 204 | 205 | /* Begin PBXProject section */ 206 | 607FACC81AFB9204008FA782 /* Project object */ = { 207 | isa = PBXProject; 208 | attributes = { 209 | LastSwiftUpdateCheck = 0830; 210 | LastUpgradeCheck = 0830; 211 | ORGANIZATIONNAME = CocoaPods; 212 | TargetAttributes = { 213 | 607FACCF1AFB9204008FA782 = { 214 | CreatedOnToolsVersion = 6.3.1; 215 | DevelopmentTeam = 4K9P34469L; 216 | LastSwiftMigration = 0900; 217 | }; 218 | 607FACE41AFB9204008FA782 = { 219 | CreatedOnToolsVersion = 6.3.1; 220 | DevelopmentTeam = 4K9P34469L; 221 | LastSwiftMigration = 0900; 222 | TestTargetID = 607FACCF1AFB9204008FA782; 223 | }; 224 | }; 225 | }; 226 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "SwiftStickerView" */; 227 | compatibilityVersion = "Xcode 3.2"; 228 | developmentRegion = English; 229 | hasScannedForEncodings = 0; 230 | knownRegions = ( 231 | English, 232 | en, 233 | Base, 234 | ); 235 | mainGroup = 607FACC71AFB9204008FA782; 236 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 237 | projectDirPath = ""; 238 | projectRoot = ""; 239 | targets = ( 240 | 607FACCF1AFB9204008FA782 /* SwiftStickerView_Example */, 241 | 607FACE41AFB9204008FA782 /* SwiftStickerView_Tests */, 242 | ); 243 | }; 244 | /* End PBXProject section */ 245 | 246 | /* Begin PBXResourcesBuildPhase section */ 247 | 607FACCE1AFB9204008FA782 /* Resources */ = { 248 | isa = PBXResourcesBuildPhase; 249 | buildActionMask = 2147483647; 250 | files = ( 251 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 252 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 253 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 254 | ); 255 | runOnlyForDeploymentPostprocessing = 0; 256 | }; 257 | 607FACE31AFB9204008FA782 /* Resources */ = { 258 | isa = PBXResourcesBuildPhase; 259 | buildActionMask = 2147483647; 260 | files = ( 261 | ); 262 | runOnlyForDeploymentPostprocessing = 0; 263 | }; 264 | /* End PBXResourcesBuildPhase section */ 265 | 266 | /* Begin PBXShellScriptBuildPhase section */ 267 | 020E7469D72652FB9843106C /* [CP] Check Pods Manifest.lock */ = { 268 | isa = PBXShellScriptBuildPhase; 269 | buildActionMask = 2147483647; 270 | files = ( 271 | ); 272 | inputFileListPaths = ( 273 | ); 274 | inputPaths = ( 275 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 276 | "${PODS_ROOT}/Manifest.lock", 277 | ); 278 | name = "[CP] Check Pods Manifest.lock"; 279 | outputFileListPaths = ( 280 | ); 281 | outputPaths = ( 282 | "$(DERIVED_FILE_DIR)/Pods-SwiftStickerView_Tests-checkManifestLockResult.txt", 283 | ); 284 | runOnlyForDeploymentPostprocessing = 0; 285 | shellPath = /bin/sh; 286 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 287 | showEnvVarsInLog = 0; 288 | }; 289 | 1A884CBC06B100AAB9E5A445 /* [CP] Embed Pods Frameworks */ = { 290 | isa = PBXShellScriptBuildPhase; 291 | buildActionMask = 2147483647; 292 | files = ( 293 | ); 294 | inputPaths = ( 295 | "${PODS_ROOT}/Target Support Files/Pods-SwiftStickerView_Example/Pods-SwiftStickerView_Example-frameworks.sh", 296 | "${BUILT_PRODUCTS_DIR}/SwiftStickerView/SwiftStickerView.framework", 297 | ); 298 | name = "[CP] Embed Pods Frameworks"; 299 | outputPaths = ( 300 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftStickerView.framework", 301 | ); 302 | runOnlyForDeploymentPostprocessing = 0; 303 | shellPath = /bin/sh; 304 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SwiftStickerView_Example/Pods-SwiftStickerView_Example-frameworks.sh\"\n"; 305 | showEnvVarsInLog = 0; 306 | }; 307 | 40A35BBA01533B9569518F58 /* [CP] Check Pods Manifest.lock */ = { 308 | isa = PBXShellScriptBuildPhase; 309 | buildActionMask = 2147483647; 310 | files = ( 311 | ); 312 | inputFileListPaths = ( 313 | ); 314 | inputPaths = ( 315 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 316 | "${PODS_ROOT}/Manifest.lock", 317 | ); 318 | name = "[CP] Check Pods Manifest.lock"; 319 | outputFileListPaths = ( 320 | ); 321 | outputPaths = ( 322 | "$(DERIVED_FILE_DIR)/Pods-SwiftStickerView_Example-checkManifestLockResult.txt", 323 | ); 324 | runOnlyForDeploymentPostprocessing = 0; 325 | shellPath = /bin/sh; 326 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 327 | showEnvVarsInLog = 0; 328 | }; 329 | /* End PBXShellScriptBuildPhase section */ 330 | 331 | /* Begin PBXSourcesBuildPhase section */ 332 | 607FACCC1AFB9204008FA782 /* Sources */ = { 333 | isa = PBXSourcesBuildPhase; 334 | buildActionMask = 2147483647; 335 | files = ( 336 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 337 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 338 | ); 339 | runOnlyForDeploymentPostprocessing = 0; 340 | }; 341 | 607FACE11AFB9204008FA782 /* Sources */ = { 342 | isa = PBXSourcesBuildPhase; 343 | buildActionMask = 2147483647; 344 | files = ( 345 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 346 | ); 347 | runOnlyForDeploymentPostprocessing = 0; 348 | }; 349 | /* End PBXSourcesBuildPhase section */ 350 | 351 | /* Begin PBXTargetDependency section */ 352 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 353 | isa = PBXTargetDependency; 354 | target = 607FACCF1AFB9204008FA782 /* SwiftStickerView_Example */; 355 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 356 | }; 357 | /* End PBXTargetDependency section */ 358 | 359 | /* Begin PBXVariantGroup section */ 360 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 361 | isa = PBXVariantGroup; 362 | children = ( 363 | 607FACDA1AFB9204008FA782 /* Base */, 364 | ); 365 | name = Main.storyboard; 366 | sourceTree = ""; 367 | }; 368 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 369 | isa = PBXVariantGroup; 370 | children = ( 371 | 607FACDF1AFB9204008FA782 /* Base */, 372 | ); 373 | name = LaunchScreen.xib; 374 | sourceTree = ""; 375 | }; 376 | /* End PBXVariantGroup section */ 377 | 378 | /* Begin XCBuildConfiguration section */ 379 | 607FACED1AFB9204008FA782 /* Debug */ = { 380 | isa = XCBuildConfiguration; 381 | buildSettings = { 382 | ALWAYS_SEARCH_USER_PATHS = NO; 383 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 384 | CLANG_CXX_LIBRARY = "libc++"; 385 | CLANG_ENABLE_MODULES = YES; 386 | CLANG_ENABLE_OBJC_ARC = YES; 387 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 388 | CLANG_WARN_BOOL_CONVERSION = YES; 389 | CLANG_WARN_COMMA = YES; 390 | CLANG_WARN_CONSTANT_CONVERSION = YES; 391 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 392 | CLANG_WARN_EMPTY_BODY = YES; 393 | CLANG_WARN_ENUM_CONVERSION = YES; 394 | CLANG_WARN_INFINITE_RECURSION = YES; 395 | CLANG_WARN_INT_CONVERSION = YES; 396 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 397 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 398 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 399 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 400 | CLANG_WARN_STRICT_PROTOTYPES = YES; 401 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 402 | CLANG_WARN_UNREACHABLE_CODE = YES; 403 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 404 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 405 | COPY_PHASE_STRIP = NO; 406 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 407 | ENABLE_STRICT_OBJC_MSGSEND = YES; 408 | ENABLE_TESTABILITY = YES; 409 | GCC_C_LANGUAGE_STANDARD = gnu99; 410 | GCC_DYNAMIC_NO_PIC = NO; 411 | GCC_NO_COMMON_BLOCKS = YES; 412 | GCC_OPTIMIZATION_LEVEL = 0; 413 | GCC_PREPROCESSOR_DEFINITIONS = ( 414 | "DEBUG=1", 415 | "$(inherited)", 416 | ); 417 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 418 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 419 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 420 | GCC_WARN_UNDECLARED_SELECTOR = YES; 421 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 422 | GCC_WARN_UNUSED_FUNCTION = YES; 423 | GCC_WARN_UNUSED_VARIABLE = YES; 424 | IPHONEOS_DEPLOYMENT_TARGET = 13.0; 425 | MTL_ENABLE_DEBUG_INFO = YES; 426 | ONLY_ACTIVE_ARCH = YES; 427 | SDKROOT = iphoneos; 428 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 429 | }; 430 | name = Debug; 431 | }; 432 | 607FACEE1AFB9204008FA782 /* Release */ = { 433 | isa = XCBuildConfiguration; 434 | buildSettings = { 435 | ALWAYS_SEARCH_USER_PATHS = NO; 436 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 437 | CLANG_CXX_LIBRARY = "libc++"; 438 | CLANG_ENABLE_MODULES = YES; 439 | CLANG_ENABLE_OBJC_ARC = YES; 440 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 441 | CLANG_WARN_BOOL_CONVERSION = YES; 442 | CLANG_WARN_COMMA = YES; 443 | CLANG_WARN_CONSTANT_CONVERSION = YES; 444 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 445 | CLANG_WARN_EMPTY_BODY = YES; 446 | CLANG_WARN_ENUM_CONVERSION = YES; 447 | CLANG_WARN_INFINITE_RECURSION = YES; 448 | CLANG_WARN_INT_CONVERSION = YES; 449 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 450 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 451 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 452 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 453 | CLANG_WARN_STRICT_PROTOTYPES = YES; 454 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 455 | CLANG_WARN_UNREACHABLE_CODE = YES; 456 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 457 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 458 | COPY_PHASE_STRIP = NO; 459 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 460 | ENABLE_NS_ASSERTIONS = NO; 461 | ENABLE_STRICT_OBJC_MSGSEND = YES; 462 | GCC_C_LANGUAGE_STANDARD = gnu99; 463 | GCC_NO_COMMON_BLOCKS = YES; 464 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 465 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 466 | GCC_WARN_UNDECLARED_SELECTOR = YES; 467 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 468 | GCC_WARN_UNUSED_FUNCTION = YES; 469 | GCC_WARN_UNUSED_VARIABLE = YES; 470 | IPHONEOS_DEPLOYMENT_TARGET = 13.0; 471 | MTL_ENABLE_DEBUG_INFO = NO; 472 | SDKROOT = iphoneos; 473 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 474 | VALIDATE_PRODUCT = YES; 475 | }; 476 | name = Release; 477 | }; 478 | 607FACF01AFB9204008FA782 /* Debug */ = { 479 | isa = XCBuildConfiguration; 480 | baseConfigurationReference = AE402CC2380DD326BC90FB11 /* Pods-SwiftStickerView_Example.debug.xcconfig */; 481 | buildSettings = { 482 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 483 | DEVELOPMENT_TEAM = 4K9P34469L; 484 | INFOPLIST_FILE = SwiftStickerView/Info.plist; 485 | IPHONEOS_DEPLOYMENT_TARGET = 13.0; 486 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 487 | MODULE_NAME = ExampleApp; 488 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 489 | PRODUCT_NAME = "$(TARGET_NAME)"; 490 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 491 | SWIFT_VERSION = 4.0; 492 | }; 493 | name = Debug; 494 | }; 495 | 607FACF11AFB9204008FA782 /* Release */ = { 496 | isa = XCBuildConfiguration; 497 | baseConfigurationReference = D188173DBC5DE8D6DCA34D61 /* Pods-SwiftStickerView_Example.release.xcconfig */; 498 | buildSettings = { 499 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 500 | DEVELOPMENT_TEAM = 4K9P34469L; 501 | INFOPLIST_FILE = SwiftStickerView/Info.plist; 502 | IPHONEOS_DEPLOYMENT_TARGET = 13.0; 503 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 504 | MODULE_NAME = ExampleApp; 505 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 506 | PRODUCT_NAME = "$(TARGET_NAME)"; 507 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 508 | SWIFT_VERSION = 4.0; 509 | }; 510 | name = Release; 511 | }; 512 | 607FACF31AFB9204008FA782 /* Debug */ = { 513 | isa = XCBuildConfiguration; 514 | baseConfigurationReference = 0F750105565346444E0A2BAC /* Pods-SwiftStickerView_Tests.debug.xcconfig */; 515 | buildSettings = { 516 | DEVELOPMENT_TEAM = 4K9P34469L; 517 | FRAMEWORK_SEARCH_PATHS = ( 518 | "$(PLATFORM_DIR)/Developer/Library/Frameworks", 519 | "$(inherited)", 520 | ); 521 | GCC_PREPROCESSOR_DEFINITIONS = ( 522 | "DEBUG=1", 523 | "$(inherited)", 524 | ); 525 | INFOPLIST_FILE = Tests/Info.plist; 526 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 527 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 528 | PRODUCT_NAME = "$(TARGET_NAME)"; 529 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 530 | SWIFT_VERSION = 4.0; 531 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwiftStickerView_Example.app/SwiftStickerView_Example"; 532 | }; 533 | name = Debug; 534 | }; 535 | 607FACF41AFB9204008FA782 /* Release */ = { 536 | isa = XCBuildConfiguration; 537 | baseConfigurationReference = 717F402D2DF22B6661819DA2 /* Pods-SwiftStickerView_Tests.release.xcconfig */; 538 | buildSettings = { 539 | DEVELOPMENT_TEAM = 4K9P34469L; 540 | FRAMEWORK_SEARCH_PATHS = ( 541 | "$(PLATFORM_DIR)/Developer/Library/Frameworks", 542 | "$(inherited)", 543 | ); 544 | INFOPLIST_FILE = Tests/Info.plist; 545 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 546 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 547 | PRODUCT_NAME = "$(TARGET_NAME)"; 548 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 549 | SWIFT_VERSION = 4.0; 550 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwiftStickerView_Example.app/SwiftStickerView_Example"; 551 | }; 552 | name = Release; 553 | }; 554 | /* End XCBuildConfiguration section */ 555 | 556 | /* Begin XCConfigurationList section */ 557 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "SwiftStickerView" */ = { 558 | isa = XCConfigurationList; 559 | buildConfigurations = ( 560 | 607FACED1AFB9204008FA782 /* Debug */, 561 | 607FACEE1AFB9204008FA782 /* Release */, 562 | ); 563 | defaultConfigurationIsVisible = 0; 564 | defaultConfigurationName = Release; 565 | }; 566 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SwiftStickerView_Example" */ = { 567 | isa = XCConfigurationList; 568 | buildConfigurations = ( 569 | 607FACF01AFB9204008FA782 /* Debug */, 570 | 607FACF11AFB9204008FA782 /* Release */, 571 | ); 572 | defaultConfigurationIsVisible = 0; 573 | defaultConfigurationName = Release; 574 | }; 575 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SwiftStickerView_Tests" */ = { 576 | isa = XCConfigurationList; 577 | buildConfigurations = ( 578 | 607FACF31AFB9204008FA782 /* Debug */, 579 | 607FACF41AFB9204008FA782 /* Release */, 580 | ); 581 | defaultConfigurationIsVisible = 0; 582 | defaultConfigurationName = Release; 583 | }; 584 | /* End XCConfigurationList section */ 585 | }; 586 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 587 | } 588 | -------------------------------------------------------------------------------- /Example/SwiftStickerView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/SwiftStickerView.xcodeproj/xcshareddata/xcschemes/SwiftStickerView-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 48 | 54 | 55 | 56 | 57 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 80 | 82 | 88 | 89 | 90 | 91 | 92 | 93 | 99 | 101 | 107 | 108 | 109 | 110 | 112 | 113 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /Example/SwiftStickerView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/SwiftStickerView.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/SwiftStickerView/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // SwiftStickerView 4 | // 5 | // Created by sachithamh on 09/19/2020. 6 | // Copyright (c) 2020 sachithamh. 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: [UIApplicationLaunchOptionsKey: 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/SwiftStickerView/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Example/SwiftStickerView/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 | 39 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Example/SwiftStickerView/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 | "idiom" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Example/SwiftStickerView/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /Example/SwiftStickerView/Images.xcassets/QRCode.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "QRCode.png", 5 | "idiom" : "universal" 6 | } 7 | ], 8 | "info" : { 9 | "author" : "xcode", 10 | "version" : 1 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Example/SwiftStickerView/Images.xcassets/QRCode.imageset/QRCode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/native-mobile-app-developers/SwiftStickerView/85242a34dc821751774b62a685a964217789cee5/Example/SwiftStickerView/Images.xcassets/QRCode.imageset/QRCode.png -------------------------------------------------------------------------------- /Example/SwiftStickerView/Images.xcassets/image.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "image-human-brain_99433-298.jpg", 5 | "idiom" : "universal" 6 | } 7 | ], 8 | "info" : { 9 | "author" : "xcode", 10 | "version" : 1 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Example/SwiftStickerView/Images.xcassets/image.imageset/image-human-brain_99433-298.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/native-mobile-app-developers/SwiftStickerView/85242a34dc821751774b62a685a964217789cee5/Example/SwiftStickerView/Images.xcassets/image.imageset/image-human-brain_99433-298.jpg -------------------------------------------------------------------------------- /Example/SwiftStickerView/Images.xcassets/sample-gif.dataset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "data" : [ 3 | { 4 | "filename" : "sample-gif.gif", 5 | "idiom" : "universal", 6 | "universal-type-identifier" : "com.compuserve.gif" 7 | } 8 | ], 9 | "info" : { 10 | "author" : "xcode", 11 | "version" : 1 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Example/SwiftStickerView/Images.xcassets/sample-gif.dataset/sample-gif.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/native-mobile-app-developers/SwiftStickerView/85242a34dc821751774b62a685a964217789cee5/Example/SwiftStickerView/Images.xcassets/sample-gif.dataset/sample-gif.gif -------------------------------------------------------------------------------- /Example/SwiftStickerView/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 | 2.0.6 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/SwiftStickerView/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // SwiftStickerView 4 | // 5 | // Created by sachithamh on 09/19/2020. 6 | // Copyright (c) 2020 sachithamh. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import SwiftStickerView 11 | 12 | class ViewController: UIViewController { 13 | 14 | var selectedStickerView:StickerView! = nil 15 | var stickerView:StickerView! 16 | 17 | override func viewDidLoad() { 18 | super.viewDidLoad() 19 | let configuration = Configuration() 20 | configuration.borderWidth = 2 21 | // configuration.buttonSize = CGSize(width: 32, height: 16) 22 | 23 | let testView = UIImageView(frame: CGRect.init(x: 0, y: 0, width: 150, height: 100)) 24 | testView.backgroundColor = UIColor.red 25 | testView.image = UIImage(named: "image") 26 | stickerView = StickerView.init(contentView: testView, configuration: configuration) 27 | 28 | stickerView.center = self.view.center 29 | self.view.addSubview(stickerView) 30 | 31 | // Do any additional setup after loading the view, typically from a nib. 32 | } 33 | 34 | @IBAction func showHideEditView(_ sender: Any) { 35 | stickerView.showEditingHandlers = !stickerView.showEditingHandlers 36 | } 37 | 38 | override func didReceiveMemoryWarning() { 39 | super.didReceiveMemoryWarning() 40 | // Dispose of any resources that can be recreated. 41 | } 42 | 43 | } 44 | 45 | -------------------------------------------------------------------------------- /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 | 2.0.6 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import SwiftStickerView 3 | 4 | class Tests: XCTestCase { 5 | 6 | override func setUp() { 7 | super.setUp() 8 | // Put setup code here. This method is called before the invocation of each test method in the class. 9 | } 10 | 11 | override func tearDown() { 12 | // Put teardown code here. This method is called after the invocation of each test method in the class. 13 | super.tearDown() 14 | } 15 | 16 | func testExample() { 17 | // This is an example of a functional test case. 18 | XCTAssert(true, "Pass") 19 | } 20 | 21 | func testPerformanceExample() { 22 | // This is an example of a performance test case. 23 | self.measure() { 24 | // Put the code you want to measure the time of here. 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2020 sachithamh 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 | # SwiftStickerView 2 | 3 | [![CI Status](https://img.shields.io/travis/native-mobile-app-developers/SwiftStickerView.svg?style=flat)](https://travis-ci.org/sachithamh/SwiftStickerView) 4 | [![Version](https://img.shields.io/cocoapods/v/SwiftStickerView.svg?style=flat)](https://cocoapods.org/pods/SwiftStickerView) 5 | [![License](https://img.shields.io/cocoapods/l/SwiftStickerView.svg?style=flat)](https://cocoapods.org/pods/SwiftStickerView) 6 | [![Platform](https://img.shields.io/cocoapods/p/SwiftStickerView.svg?style=flat)](https://cocoapods.org/pods/SwiftStickerView) 7 | 8 | ![](https://github.com/native-mobile-app-developers/SwiftStickerView/blob/master/Example/SwiftStickerView/Images.xcassets/sample-gif.dataset/sample-gif.gif) 9 | 10 | ## Example 11 | 12 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 13 | 14 | ## Requirements 15 | 16 | ## Installation 17 | 18 | SwiftStickerView is available through [CocoaPods](https://cocoapods.org). To install 19 | it, simply add the following line to your Podfile: 20 | 21 | ```ruby 22 | pod 'SwiftStickerView' 23 | ``` 24 | code is simple 25 | first import the pod lib using 26 | ``` 27 | import SwiftStickerView 28 | ``` 29 | Then code impimentaion example 30 | ``` 31 | let configuration = Configuration() 32 | configuration.borderWidth = 2 33 | configuration.buttonSize = CGSize(width: 16, height: 16) 34 | 35 | let testView = UIImageView(frame: CGRect.init(x: 0, y: 0, width: 150, height: 100)) 36 | testView.backgroundColor = UIColor.red 37 | testView.image = UIImage(named: "image") 38 | let stickerView = StickerView.init(contentView: testView, configuration: configuration) 39 | stickerView.center = self.view.center 40 | self.view.addSubview(stickerView) 41 | ``` 42 | 43 | 44 | If you think that any information you obtained here is worth of some money and are willing to pay for it, feel free to send any amount through paypal. 45 | 46 | | Paypal | QRCode | 47 | | ------ | ------- | 48 | | [![](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LUAUTLYBJ7XHN¤cy_code=USD) | ![](https://github.com/native-mobile-app-developers/SwiftStickerView/blob/master/Example/SwiftStickerView/Images.xcassets/QRCode.imageset/QRCode.png) | 49 | 50 | ## Author 51 | 52 | sachithamh, sachithamh@gmail.com 53 | 54 | influnce and idea came from 55 | [injap2017/StickerView](https://github.com/injap2017/StickerView) 56 | 57 | 58 | ## License 59 | 60 | SwiftStickerView is available under the MIT license. See the LICENSE file for more info. 61 | -------------------------------------------------------------------------------- /Source/Configuration.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Configuration.swift 3 | // SwiftStickerView 4 | // 5 | // Created by sachitha on 9/19/20. 6 | // 7 | 8 | import Foundation 9 | 10 | enum ButtonType { 11 | case scale,rotate,flip,remove,move,stretch_width,stretch_height 12 | } 13 | 14 | enum ButtonPosition{ 15 | case top_left,bottom_right,bottom_left,midle_left,midle_bottom,top_right 16 | } 17 | 18 | 19 | public struct Button { 20 | var buttonPosition:ButtonPosition! 21 | var buttonType:ButtonType! 22 | public var button:UIButton! 23 | public var isOverrideSize:Bool! 24 | private let _defaultbutton:UIButton = { 25 | let button = UIButton() 26 | button.setImage(UIImage(systemName: "square.fill")!, for: .normal) 27 | button.frame.size = CGSize(width: 16, height: 16) 28 | return button 29 | }() 30 | 31 | init(buttonPosition:ButtonPosition!, 32 | buttonType:ButtonType!, 33 | button:UIButton? = nil, 34 | isOverrideSize:Bool = false 35 | ) { 36 | self.buttonPosition = buttonPosition 37 | self.buttonType = buttonType 38 | 39 | self.button = button ?? _defaultbutton 40 | self.isOverrideSize = isOverrideSize 41 | } 42 | } 43 | 44 | open class Configuration { 45 | 46 | public var activeButtons:[Button]! = [] 47 | var minimumSize:CGFloat! = 16 * 4 48 | public var insetMarging:CGFloat! = 16 49 | public var boarderColor:UIColor! = .darkGray 50 | public var borderWidth:CGFloat! = 2 51 | public var buttonSize:CGSize! = CGSize(width: 28, height: 28) { 52 | didSet{ 53 | minimumSize = buttonSize.width * 4 54 | } 55 | } 56 | 57 | private lazy var _trashButton:UIButton = { 58 | let button = UIButton() 59 | button.setImage(UIImage(systemName: "trash")!, for: .normal) 60 | button.frame.size = CGSize(width: 16, height: 16) 61 | buttonDecorator(button) 62 | return button 63 | }() 64 | private lazy var _scaleButton:UIButton = { 65 | let button = UIButton() 66 | button.setImage(UIImage(systemName: "arrow.up.left.and.arrow.down.right")!, for: .normal) 67 | button.frame.size = CGSize(width: 16, height: 16) 68 | buttonDecorator(button) 69 | return button 70 | }() 71 | 72 | private lazy var _rotateButton:UIButton = { 73 | let button = UIButton() 74 | button.setImage(UIImage(systemName: "gobackward")!, for: .normal) 75 | button.frame.size = CGSize(width: 16, height: 16) 76 | buttonDecorator(button) 77 | return button 78 | }() 79 | 80 | private lazy var _stretchWidthButton:UIButton = { 81 | let button = UIButton() 82 | button.setImage(UIImage(systemName: "square.fill")!, for: .normal) 83 | button.frame.size = CGSize(width: 16, height: 16) 84 | buttonDecorator(button) 85 | return button 86 | }() 87 | 88 | private lazy var _stretchHeightButton:UIButton = { 89 | let button = UIButton() 90 | button.setImage(UIImage(systemName: "square.fill")!, for: .normal) 91 | button.frame.size = CGSize(width: 16, height: 16) 92 | buttonDecorator(button) 93 | return button 94 | }() 95 | private lazy var _flipImageButton:UIButton = { 96 | let button = UIButton() 97 | button.setImage(UIImage(systemName: "flip.horizontal.fill")!, for: .normal) 98 | button.frame.size = CGSize(width: 16, height: 16) 99 | buttonDecorator(button) 100 | return button 101 | }() 102 | 103 | 104 | private func buttonDecorator(_ button:UIButton){ 105 | button.layer.shadowColor = UIColor(red: 0, green: 0, blue: 0, alpha: 0.25).cgColor 106 | button.layer.shadowOffset = CGSize(width: 0.0, height: 0.0) 107 | button.layer.shadowOpacity = 1.0 108 | button.layer.shadowRadius = 4.0 109 | button.layer.masksToBounds = false 110 | button.layer.cornerRadius = buttonSize.width/2 111 | button.backgroundColor = .white 112 | } 113 | 114 | public init(){ 115 | activeButtons = [Button(buttonPosition: .top_left, buttonType: .remove,button: _trashButton), 116 | Button(buttonPosition: .bottom_right, buttonType: .scale,button: _scaleButton), 117 | Button(buttonPosition: .bottom_left, buttonType: .rotate,button: _rotateButton), 118 | Button(buttonPosition: .midle_left, buttonType: .stretch_width,button: _stretchWidthButton), 119 | Button(buttonPosition: .midle_bottom, buttonType: .stretch_height,button: _stretchHeightButton),Button(buttonPosition: .top_right, buttonType: .flip,button: _flipImageButton)] 120 | } 121 | 122 | 123 | 124 | } 125 | -------------------------------------------------------------------------------- /Source/StickerView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // StickerView.swift 3 | // StickerView 4 | // 5 | // Created by sachitha on 9/19/20. 6 | // 7 | 8 | import Foundation 9 | import UIKit 10 | /// Delegates 11 | @objc public protocol StickerViewDelegate { 12 | @objc func stickerViewDidRemove(_ stickerView:StickerView) 13 | @objc func stickerViewDidBeginScale(_ stickerView:StickerView) 14 | @objc func stickerViewDidChangeScale(_ stickerView:StickerView) 15 | @objc func stickerViewDidBeginRotating(_ stickerView: StickerView) 16 | @objc func stickerViewDidChangeRotating(_ stickerView: StickerView) 17 | @objc func stickerViewDidEndRotating(_ stickerView: StickerView) 18 | @objc func stickerViewDidBeginMoving(_ stickerView: StickerView) 19 | @objc func stickerViewDidChangeMoving(_ stickerView: StickerView) 20 | @objc func stickerViewDidEndMoving(_ stickerView: StickerView) 21 | @objc func stickerViewDidBeginFlip(_ stickerView: StickerView) 22 | @objc func stickerViewDidFlip(_ stickerView: StickerView) 23 | @objc func stickerViewSelect(_ stickerView: StickerView) 24 | } 25 | 26 | 27 | @inline(__always) func CGRectGetCenter(_ rect:CGRect) -> CGPoint { 28 | return CGPoint(x: rect.midX, y: rect.midY) 29 | } 30 | 31 | @inline(__always) func CGPointGetDistance(point1:CGPoint, point2:CGPoint) -> CGFloat { 32 | let fx = point2.x - point1.x 33 | let fy = point2.y - point1.y 34 | return sqrt(fx * fx + fy * fy) 35 | } 36 | @inline(__always) func CGRectScale(_ rect:CGRect, wScale:CGFloat, hScale:CGFloat) -> CGRect { 37 | return CGRect(x: rect.origin.x, y: rect.origin.y, width: rect.size.width * wScale, height: rect.size.height * hScale) 38 | } 39 | 40 | @inline(__always) func CGAffineTransformGetAngle(_ t:CGAffineTransform) -> CGFloat { 41 | return atan2(t.b, t.a) 42 | } 43 | 44 | open class StickerView:UIView{ 45 | var allHandlerViews:[UIButton] = [] 46 | public var showEditingHandlers:Bool = true { 47 | didSet { 48 | if self.showEditingHandlers { 49 | if configuration != nil { 50 | self.boundaryView?.layer.borderWidth = configuration.borderWidth 51 | }else{ 52 | self.boundaryView?.layer.borderWidth = 1 53 | 54 | } 55 | isHandlerViews(isHidden: false) 56 | } 57 | else { 58 | self.boundaryView?.layer.borderWidth = 0 59 | isHandlerViews(isHidden: true) 60 | } 61 | } 62 | } 63 | private func isHandlerViews(isHidden:Bool){ 64 | allHandlerViews.forEach({btn in 65 | btn.isHidden = isHidden 66 | }) 67 | } 68 | 69 | //gestures 70 | private lazy var removeGesture = { 71 | return UITapGestureRecognizer(target: self, action: #selector(removeGesture(_:))) 72 | }() 73 | private lazy var scaleGesture = { 74 | return UIPanGestureRecognizer(target: self, action: #selector(scaleGesture(_:))) 75 | }() 76 | 77 | private lazy var scaleFingureGesture = { 78 | return UIPinchGestureRecognizer(target: self, action: #selector(scaleFingureGesture(_:))) 79 | }() 80 | 81 | private lazy var selectFingureGesture = { 82 | return UITapGestureRecognizer(target: self, action: #selector(selectFingureGesture(_:))) 83 | }() 84 | 85 | private lazy var rotateGesture = { 86 | return UIPanGestureRecognizer(target: self, action: #selector(rotateGesture(_:))) 87 | }() 88 | 89 | private lazy var rotateFingureGesture = { 90 | return UIRotationGestureRecognizer(target: self, action: #selector(rotateFingureGesture(_:))) 91 | }() 92 | private lazy var stretchWidthGesture = { 93 | return UIPanGestureRecognizer(target: self, action: #selector(stretchWidthGesture(_:))) 94 | }() 95 | 96 | private lazy var stretchHeightGesture = { 97 | return UIPanGestureRecognizer(target: self, action: #selector(stretchHeightGesture(_:))) 98 | }() 99 | 100 | private lazy var movFingureGesture = { 101 | return UIPanGestureRecognizer(target: self, action: #selector(movFingureGesture(_:))) 102 | }() 103 | 104 | private lazy var flipGesture = { 105 | return UITapGestureRecognizer(target: self, action:#selector(handleFlipGesture(_:))) 106 | }() 107 | 108 | 109 | public var delegate: StickerViewDelegate? = nil 110 | private var configuration: Configuration! 111 | public var contentView:UIView! 112 | var boundaryView:UIView! 113 | 114 | /** 115 | * Variables for rotating and resizing view 116 | */ 117 | private var initialBounds = CGRect.zero 118 | private var initialDistance:CGFloat = 0 119 | private var deltaAngle:CGFloat = 0 120 | /** 121 | * Variables for moving view 122 | */ 123 | private var beginningPoint = CGPoint.zero 124 | private var beginningCenter = CGPoint.zero 125 | 126 | required public init?(coder aDecoder: NSCoder) { 127 | fatalError("init(coder:) has not been implemented") 128 | } 129 | 130 | public init(contentView: UIView,configuration:Configuration) { 131 | //super view 132 | let frame = contentView.frame 133 | super.init(frame: frame) 134 | boundaryView = UIView() 135 | 136 | self.addGestureRecognizer(scaleFingureGesture) 137 | self.addGestureRecognizer(rotateFingureGesture) 138 | self.addGestureRecognizer(movFingureGesture) 139 | self.addGestureRecognizer(selectFingureGesture) 140 | // Setup content view 141 | self.contentView = contentView 142 | self.contentView.center = CGRectGetCenter(self.bounds) 143 | self.contentView.isUserInteractionEnabled = false 144 | self.contentView.autoresizingMask = [.flexibleWidth, .flexibleHeight] 145 | self.contentView.layer.allowsEdgeAntialiasing = true 146 | self.addSubview(self.contentView) 147 | 148 | 149 | //configuration bounding view 150 | self.setConfiguration(configuration: configuration) 151 | } 152 | 153 | 154 | } 155 | //MARK: - Configuration Set Gestures 156 | extension StickerView{ 157 | @objc func removeGesture(_ recognizer: UITapGestureRecognizer) { 158 | if let delegate = self.delegate { 159 | delegate.stickerViewDidRemove(self) 160 | } 161 | self.removeFromSuperview() 162 | } 163 | @objc func scaleGesture(_ recognizer: UITapGestureRecognizer) { 164 | let touchLocation = recognizer.location(in: self.superview) 165 | let center = self.center 166 | 167 | switch recognizer.state { 168 | case .began: 169 | self.initialBounds = self.bounds 170 | self.initialDistance = CGPointGetDistance(point1: center, point2: touchLocation) 171 | if let delegate = self.delegate { 172 | delegate.stickerViewDidBeginScale(self) 173 | } 174 | break 175 | case .possible: 176 | break 177 | case .changed: 178 | var scale = CGPointGetDistance(point1: center, point2: touchLocation) / self.initialDistance 179 | let minimumScale = self.configuration.minimumSize / min(self.initialBounds.size.width, self.initialBounds.size.height) 180 | scale = max(scale, minimumScale) 181 | let scaledBounds = CGRectScale(self.initialBounds, wScale: scale, hScale: scale) 182 | self.bounds = scaledBounds 183 | self.setNeedsDisplay() 184 | 185 | if let delegate = self.delegate { 186 | delegate.stickerViewDidChangeScale(self) 187 | } 188 | break 189 | case .ended: 190 | break 191 | case .cancelled: 192 | break 193 | case .failed: 194 | break 195 | } 196 | } 197 | //scretch 198 | @objc func stretchWidthGesture(_ recognizer: UITapGestureRecognizer) { 199 | let touchLocation = recognizer.location(in: self.superview) 200 | let center = self.center 201 | 202 | switch recognizer.state { 203 | case .began: 204 | self.initialBounds = self.bounds 205 | self.initialDistance = CGPointGetDistance(point1: center, point2: touchLocation) 206 | if let delegate = self.delegate { 207 | delegate.stickerViewDidBeginScale(self) 208 | } 209 | break 210 | case .possible: 211 | break 212 | case .changed: 213 | var scale = CGPointGetDistance(point1: center, point2: touchLocation) / self.initialDistance 214 | let minimumScale = self.configuration.minimumSize / min(self.initialBounds.size.width, self.initialBounds.size.height) 215 | scale = max(scale, minimumScale) 216 | let scaledBounds = CGRectScale(self.initialBounds, wScale: scale, hScale: 1) 217 | self.bounds = scaledBounds 218 | self.setNeedsDisplay() 219 | 220 | if let delegate = self.delegate { 221 | delegate.stickerViewDidChangeScale(self) 222 | } 223 | break 224 | case .ended: 225 | break 226 | case .cancelled: 227 | break 228 | case .failed: 229 | break 230 | } 231 | } 232 | 233 | @objc func stretchHeightGesture(_ recognizer: UITapGestureRecognizer) { 234 | let touchLocation = recognizer.location(in: self.superview) 235 | let center = self.center 236 | 237 | switch recognizer.state { 238 | case .began: 239 | self.initialBounds = self.bounds 240 | self.initialDistance = CGPointGetDistance(point1: center, point2: touchLocation) 241 | if let delegate = self.delegate { 242 | delegate.stickerViewDidBeginScale(self) 243 | } 244 | break 245 | case .possible: 246 | break 247 | case .changed: 248 | var scale = CGPointGetDistance(point1: center, point2: touchLocation) / self.initialDistance 249 | let minimumScale = self.configuration.minimumSize / min(self.initialBounds.size.width, self.initialBounds.size.height) 250 | scale = max(scale, minimumScale) 251 | let scaledBounds = CGRectScale(self.initialBounds, wScale: 1, hScale: scale) 252 | self.bounds = scaledBounds 253 | self.setNeedsDisplay() 254 | 255 | if let delegate = self.delegate { 256 | delegate.stickerViewDidChangeScale(self) 257 | } 258 | break 259 | case .ended: 260 | break 261 | case .cancelled: 262 | break 263 | case .failed: 264 | break 265 | } 266 | } 267 | 268 | @objc func scaleFingureGesture(_ recognizer: UIPinchGestureRecognizer) { 269 | let touchLocation = recognizer.location(in: self.superview) 270 | let center = self.center 271 | 272 | switch recognizer.state { 273 | case .began: 274 | self.initialBounds = self.bounds 275 | self.initialDistance = CGPointGetDistance(point1: center, point2: touchLocation) 276 | if let delegate = self.delegate { 277 | delegate.stickerViewDidBeginScale(self) 278 | } 279 | break 280 | case .possible: 281 | break 282 | case .changed: 283 | var scale = recognizer.scale 284 | let minimumScale = self.configuration.minimumSize / min(self.initialBounds.size.width, self.initialBounds.size.height) 285 | scale = max(scale, minimumScale) 286 | let scaledBounds = CGRectScale(self.initialBounds, wScale: scale, hScale: scale) 287 | self.bounds = scaledBounds 288 | self.setNeedsDisplay() 289 | 290 | if let delegate = self.delegate { 291 | delegate.stickerViewDidChangeScale(self) 292 | } 293 | break 294 | case .ended: 295 | break 296 | case .cancelled: 297 | break 298 | case .failed: 299 | break 300 | } 301 | } 302 | @objc func rotateGesture(_ recognizer: UITapGestureRecognizer) { 303 | let touchLocation = recognizer.location(in: self.superview) 304 | let center = self.center 305 | 306 | switch recognizer.state { 307 | case .began: 308 | self.deltaAngle = CGFloat(atan2f(Float(touchLocation.y - center.y), Float(touchLocation.x - center.x))) - CGAffineTransformGetAngle(self.transform) 309 | self.initialBounds = self.bounds 310 | self.initialDistance = CGPointGetDistance(point1: center, point2: touchLocation) 311 | if let delegate = self.delegate { 312 | delegate.stickerViewDidBeginRotating(self) 313 | } 314 | case .changed: 315 | let angle = atan2f(Float(touchLocation.y - center.y), Float(touchLocation.x - center.x)) 316 | let angleDiff = Float(self.deltaAngle) - angle 317 | self.transform = CGAffineTransform(rotationAngle: CGFloat(-angleDiff)) 318 | 319 | self.setNeedsDisplay() 320 | 321 | if let delegate = self.delegate { 322 | delegate.stickerViewDidChangeRotating(self) 323 | } 324 | case .ended: 325 | if let delegate = self.delegate { 326 | delegate.stickerViewDidEndRotating(self) 327 | } 328 | default: 329 | break 330 | } 331 | } 332 | @objc func rotateFingureGesture(_ recognizer: UIRotationGestureRecognizer) { 333 | switch recognizer.state { 334 | 335 | case .possible: 336 | break 337 | case .began: 338 | if let delegate = self.delegate { 339 | delegate.stickerViewDidBeginRotating(self) 340 | } 341 | self.transform = self.transform.rotated(by: recognizer.rotation) 342 | break 343 | case .changed: 344 | self.transform = self.transform.rotated(by: recognizer.rotation) 345 | if let delegate = self.delegate { 346 | delegate.stickerViewDidChangeRotating(self) 347 | } 348 | break 349 | case .ended: 350 | if let delegate = self.delegate { 351 | delegate.stickerViewDidEndRotating(self) 352 | } 353 | break 354 | case .cancelled: 355 | break 356 | case .failed: 357 | break 358 | } 359 | 360 | recognizer.rotation = 0 361 | } 362 | @objc func movFingureGesture(_ recognizer: UIPanGestureRecognizer) { 363 | let touchLocation = recognizer.location(in: self.superview) 364 | switch recognizer.state { 365 | case .began: 366 | self.beginningPoint = touchLocation 367 | self.beginningCenter = self.center 368 | if let delegate = self.delegate { 369 | delegate.stickerViewDidBeginMoving(self) 370 | } 371 | case .changed: 372 | self.center = CGPoint(x: self.beginningCenter.x + (touchLocation.x - self.beginningPoint.x), y: self.beginningCenter.y + (touchLocation.y - self.beginningPoint.y)) 373 | if let delegate = self.delegate { 374 | delegate.stickerViewDidChangeMoving(self) 375 | } 376 | case .ended: 377 | self.center = CGPoint(x: self.beginningCenter.x + (touchLocation.x - self.beginningPoint.x), y: self.beginningCenter.y + (touchLocation.y - self.beginningPoint.y)) 378 | if let delegate = self.delegate { 379 | delegate.stickerViewDidEndMoving(self) 380 | } 381 | default: 382 | break 383 | } 384 | } 385 | 386 | @objc func handleFlipGesture(_ recognizer: UITapGestureRecognizer) { 387 | delegate?.stickerViewDidBeginFlip(self) 388 | UIView.animate(withDuration: 0.2) {[weak self] in 389 | guard let strongSelf = self else{return} 390 | strongSelf.contentView.transform = strongSelf.contentView.transform.scaledBy(x: -1, y: 1) 391 | 392 | strongSelf.delegate?.stickerViewDidFlip(strongSelf) 393 | } 394 | } 395 | @objc func selectFingureGesture(_ recognizer: UITapGestureRecognizer){ 396 | delegate?.stickerViewSelect(self) 397 | } 398 | } 399 | //MARK: - Configuration Set Functions 400 | extension StickerView{ 401 | private func setConfiguration(configuration:Configuration){ 402 | self.configuration = configuration 403 | self.setupFrame(insetMarging: configuration.insetMarging, 404 | borderWidth: configuration.borderWidth, 405 | borderColor: configuration.boarderColor) 406 | 407 | for index in 0.. 'MIT', :file => 'LICENSE' } 26 | s.author = { 'sachithamh' => 'sachithamh@gmail.com' } 27 | s.source = { :git => 'https://github.com/native-mobile-app-developers/SwiftStickerView.git', :tag => s.version.to_s } 28 | # s.social_media_url = 'https://twitter.com/' 29 | 30 | s.ios.deployment_target = '8.0' 31 | 32 | s.source_files = 'Source/*.swift' 33 | s.swift_version = '4.0' 34 | s.platforms = { 35 | "ios":"13.0" 36 | } 37 | # s.resource_bundles = { 38 | # 'SwiftStickerView' => ['SwiftStickerView/Assets/*.png'] 39 | # } 40 | 41 | # s.public_header_files = 'Pod/Classes/**/*.h' 42 | # s.frameworks = 'UIKit', 'MapKit' 43 | # s.dependency 'AFNetworking', '~> 2.3' 44 | end 45 | -------------------------------------------------------------------------------- /SwiftStickerView/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/native-mobile-app-developers/SwiftStickerView/85242a34dc821751774b62a685a964217789cee5/SwiftStickerView/Assets/.gitkeep -------------------------------------------------------------------------------- /SwiftStickerView/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/native-mobile-app-developers/SwiftStickerView/85242a34dc821751774b62a685a964217789cee5/SwiftStickerView/Classes/.gitkeep -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------