├── .gitignore ├── .travis.yml ├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── WOWCheckbox.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── Pods-WOWCheckbox_Example.xcscheme │ └── Target Support Files │ │ ├── Pods-WOWCheckbox_Example │ │ ├── Info.plist │ │ ├── Pods-WOWCheckbox_Example-acknowledgements.markdown │ │ ├── Pods-WOWCheckbox_Example-acknowledgements.plist │ │ ├── Pods-WOWCheckbox_Example-dummy.m │ │ ├── Pods-WOWCheckbox_Example-frameworks.sh │ │ ├── Pods-WOWCheckbox_Example-resources.sh │ │ ├── Pods-WOWCheckbox_Example-umbrella.h │ │ ├── Pods-WOWCheckbox_Example.debug.xcconfig │ │ ├── Pods-WOWCheckbox_Example.modulemap │ │ └── Pods-WOWCheckbox_Example.release.xcconfig │ │ ├── Pods-WOWCheckbox_Tests │ │ ├── Info.plist │ │ ├── Pods-WOWCheckbox_Tests-acknowledgements.markdown │ │ ├── Pods-WOWCheckbox_Tests-acknowledgements.plist │ │ ├── Pods-WOWCheckbox_Tests-dummy.m │ │ ├── Pods-WOWCheckbox_Tests-frameworks.sh │ │ ├── Pods-WOWCheckbox_Tests-resources.sh │ │ ├── Pods-WOWCheckbox_Tests-umbrella.h │ │ ├── Pods-WOWCheckbox_Tests.debug.xcconfig │ │ ├── Pods-WOWCheckbox_Tests.modulemap │ │ └── Pods-WOWCheckbox_Tests.release.xcconfig │ │ └── WOWCheckbox │ │ ├── Info.plist │ │ ├── WOWCheckbox-dummy.m │ │ ├── WOWCheckbox-prefix.pch │ │ ├── WOWCheckbox-umbrella.h │ │ ├── WOWCheckbox.modulemap │ │ └── WOWCheckbox.xcconfig ├── Tests │ ├── Info.plist │ └── Tests.swift ├── WOWCheckbox.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── WOWCheckbox-Example.xcscheme ├── WOWCheckbox.xcworkspace │ └── contents.xcworkspacedata └── WOWCheckbox │ ├── AppDelegate.swift │ ├── Base.lproj │ ├── LaunchScreen.xib │ └── Main.storyboard │ ├── Images.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Info.plist │ └── ViewController.swift ├── LICENSE ├── README.md ├── WOWCheckbox.podspec ├── WOWCheckbox ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ └── WOWCheckbox.swift ├── _Pods.xcodeproj └── demo.jpg /.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 | Carthage 26 | # We recommend against adding the Pods directory to your .gitignore. However 27 | # you should judge for yourself, the pros and cons are mentioned at: 28 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 29 | # 30 | # Note: if you ignore the Pods directory, make sure to uncomment 31 | # `pod install` in .travis.yml 32 | # 33 | # Pods/ 34 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 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 -workspace Example/WOWCheckbox.xcworkspace -scheme WOWCheckbox-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'WOWCheckbox_Example' do 4 | pod 'WOWCheckbox', :path => '../' 5 | 6 | target 'WOWCheckbox_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - WOWCheckbox (1.1.0) 3 | 4 | DEPENDENCIES: 5 | - WOWCheckbox (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | WOWCheckbox: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | WOWCheckbox: 79c104f0f94b3b3f18880dd85a03de02e2528041 13 | 14 | PODFILE CHECKSUM: e5a405c30c5af97533da16b73b3c00a704935fd3 15 | 16 | COCOAPODS: 1.2.0.beta.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/WOWCheckbox.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "WOWCheckbox", 3 | "version": "1.1.0", 4 | "summary": "Highly customisable checkbox in Swift.", 5 | "description": "A highly customisable checkbox in Swift. Swift 3.0 compatible.", 6 | "homepage": "https://github.com/zhouhao27/WOWCheckbox", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "Zhou Hao": "zhou.hao.27@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/zhouhao27/WOWCheckbox.git", 16 | "tag": "1.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "WOWCheckbox/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - WOWCheckbox (1.1.0) 3 | 4 | DEPENDENCIES: 5 | - WOWCheckbox (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | WOWCheckbox: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | WOWCheckbox: 79c104f0f94b3b3f18880dd85a03de02e2528041 13 | 14 | PODFILE CHECKSUM: e5a405c30c5af97533da16b73b3c00a704935fd3 15 | 16 | COCOAPODS: 1.2.0.beta.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 043FA1FE46F7238FFD298A013B796DC8 /* WOWCheckbox-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E4B9E5340D0AF189552BA2DD81BA83EE /* WOWCheckbox-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 29AA003EBBE428AAD15AC08D8F22DB79 /* Pods-WOWCheckbox_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 297C2BE6EF80FCE33E69BE97C3697AC3 /* Pods-WOWCheckbox_Example-dummy.m */; }; 12 | 2CFBF111CC09D38DB20A777575F3B8A2 /* Pods-WOWCheckbox_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 10FB57ACB303271E266211C1916EE692 /* Pods-WOWCheckbox_Tests-dummy.m */; }; 13 | 3439BACA492CE2700381394C23EF37C9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 14 | 4DC1B5D7F6B5E3AA33DA831BE5B5BB54 /* Pods-WOWCheckbox_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 1721D1AC3487E3D8D40DC67928C703BD /* Pods-WOWCheckbox_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | 7EEC025F009885C691DAEBD4559464D8 /* WOWCheckbox-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E04A759672D71C36A2ECF680723DCABA /* WOWCheckbox-dummy.m */; }; 16 | 93FAD8981FD3405A297915895BA65FF8 /* WOWCheckbox.swift in Sources */ = {isa = PBXBuildFile; fileRef = B98545D873863D9BF205C9FC80E1FB1C /* WOWCheckbox.swift */; }; 17 | 9EB951EB8FE8EB9938DD0FD9ACA14AFE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 18 | A597C2F3E4EB967A787F477FF6768075 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 19 | AE9111BA9968DAF11546160BBFA337BE /* Pods-WOWCheckbox_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 6DC8B0E5C0F31E60ADB2AE27CA71CE09 /* Pods-WOWCheckbox_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | 7745C8FA3F9A4CBC96379AB09781D708 /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = 75CB400A540E0337889A481DC74DC35C; 28 | remoteInfo = WOWCheckbox; 29 | }; 30 | /* End PBXContainerItemProxy section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 02D2C09C621A8DA045164A26BF090FBC /* Pods_WOWCheckbox_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_WOWCheckbox_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 0819EEC7C370595A7F13F12B4CAB156A /* Pods-WOWCheckbox_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-WOWCheckbox_Example.release.xcconfig"; sourceTree = ""; }; 35 | 10FB57ACB303271E266211C1916EE692 /* Pods-WOWCheckbox_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-WOWCheckbox_Tests-dummy.m"; sourceTree = ""; }; 36 | 15D109992EA843F7A782A926731A28B7 /* Pods-WOWCheckbox_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-WOWCheckbox_Tests.modulemap"; sourceTree = ""; }; 37 | 16D6250E13EA6B4F3CBFCC602CD0822D /* WOWCheckbox.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = WOWCheckbox.xcconfig; sourceTree = ""; }; 38 | 1721D1AC3487E3D8D40DC67928C703BD /* Pods-WOWCheckbox_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-WOWCheckbox_Tests-umbrella.h"; sourceTree = ""; }; 39 | 275114999D42024AB2C54649D0A6A9BB /* Pods-WOWCheckbox_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-WOWCheckbox_Example-acknowledgements.markdown"; sourceTree = ""; }; 40 | 297C2BE6EF80FCE33E69BE97C3697AC3 /* Pods-WOWCheckbox_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-WOWCheckbox_Example-dummy.m"; sourceTree = ""; }; 41 | 29B0389E462CEA35E0C8A2BA7447B8EF /* Pods-WOWCheckbox_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-WOWCheckbox_Example-frameworks.sh"; sourceTree = ""; }; 42 | 33B227C57B4B491DF820ED2CF1AE49F7 /* Pods-WOWCheckbox_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-WOWCheckbox_Tests-acknowledgements.markdown"; sourceTree = ""; }; 43 | 3A1E9826F95B76130401C7FBAE5B0B82 /* WOWCheckbox.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WOWCheckbox.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 3DEA0BC8F4227458D6101BDDE7D8F0AE /* Pods-WOWCheckbox_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-WOWCheckbox_Example.modulemap"; sourceTree = ""; }; 45 | 41BF885E7F0B8F207D3E18D2B6560742 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 46 | 4838CF5F58A19F686D940D5739AB75A4 /* Pods-WOWCheckbox_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-WOWCheckbox_Tests.debug.xcconfig"; sourceTree = ""; }; 47 | 648FECC9D89822C9690C0001431769BC /* Pods-WOWCheckbox_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-WOWCheckbox_Tests-acknowledgements.plist"; sourceTree = ""; }; 48 | 6AF7F060EA4181343C7B9423B9DC86A8 /* Pods-WOWCheckbox_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-WOWCheckbox_Tests-frameworks.sh"; sourceTree = ""; }; 49 | 6DA5884BF3E41BE20E72C483FE0F63AB /* Pods-WOWCheckbox_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-WOWCheckbox_Tests-resources.sh"; sourceTree = ""; }; 50 | 6DC8B0E5C0F31E60ADB2AE27CA71CE09 /* Pods-WOWCheckbox_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-WOWCheckbox_Example-umbrella.h"; sourceTree = ""; }; 51 | 78CFEABC32E98A63952BA07A0FCB8081 /* WOWCheckbox.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = WOWCheckbox.modulemap; sourceTree = ""; }; 52 | 7E8E08B0A89DACB58364A95CE6C67889 /* WOWCheckbox-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "WOWCheckbox-prefix.pch"; sourceTree = ""; }; 53 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 54 | 95D939E4350B937ED522F91BA47BCD1F /* Pods-WOWCheckbox_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-WOWCheckbox_Example-resources.sh"; sourceTree = ""; }; 55 | A5906F14FFAD3E44D239EC69CC3A78F8 /* Pods-WOWCheckbox_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-WOWCheckbox_Example-acknowledgements.plist"; sourceTree = ""; }; 56 | AB142244818AEF1117D6DA7608BDEBF4 /* Pods-WOWCheckbox_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-WOWCheckbox_Example.debug.xcconfig"; sourceTree = ""; }; 57 | AEA2B911AB4858772B8EDC875F013DC9 /* Pods-WOWCheckbox_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-WOWCheckbox_Tests.release.xcconfig"; sourceTree = ""; }; 58 | B98545D873863D9BF205C9FC80E1FB1C /* WOWCheckbox.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WOWCheckbox.swift; sourceTree = ""; }; 59 | BCC850278AD879756695E9809ECDED99 /* Pods_WOWCheckbox_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_WOWCheckbox_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 60 | CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 61 | E04A759672D71C36A2ECF680723DCABA /* WOWCheckbox-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "WOWCheckbox-dummy.m"; sourceTree = ""; }; 62 | E4B9E5340D0AF189552BA2DD81BA83EE /* WOWCheckbox-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "WOWCheckbox-umbrella.h"; sourceTree = ""; }; 63 | E6C87CC9AE31B23A4F2B7AEACF2D20EF /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 64 | F6474B45B0B55FDDAE9FF3DE99BE5CFF /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 65 | /* End PBXFileReference section */ 66 | 67 | /* Begin PBXFrameworksBuildPhase section */ 68 | 7B624DDD8EE2E1DAC59D72C21A726970 /* Frameworks */ = { 69 | isa = PBXFrameworksBuildPhase; 70 | buildActionMask = 2147483647; 71 | files = ( 72 | 9EB951EB8FE8EB9938DD0FD9ACA14AFE /* Foundation.framework in Frameworks */, 73 | ); 74 | runOnlyForDeploymentPostprocessing = 0; 75 | }; 76 | C14EB557304DAB6C9CFC3581563F910A /* Frameworks */ = { 77 | isa = PBXFrameworksBuildPhase; 78 | buildActionMask = 2147483647; 79 | files = ( 80 | A597C2F3E4EB967A787F477FF6768075 /* Foundation.framework in Frameworks */, 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | E7C2DA246ABBE0C5285412BA8FC229F0 /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | 3439BACA492CE2700381394C23EF37C9 /* Foundation.framework in Frameworks */, 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | /* End PBXFrameworksBuildPhase section */ 93 | 94 | /* Begin PBXGroup section */ 95 | 1E4EB31C43A32EC03FBCE66BC8B94AC2 /* Products */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 02D2C09C621A8DA045164A26BF090FBC /* Pods_WOWCheckbox_Example.framework */, 99 | BCC850278AD879756695E9809ECDED99 /* Pods_WOWCheckbox_Tests.framework */, 100 | 3A1E9826F95B76130401C7FBAE5B0B82 /* WOWCheckbox.framework */, 101 | ); 102 | name = Products; 103 | sourceTree = ""; 104 | }; 105 | 2F12EDD0F617786C0822ABDE8158450C /* Support Files */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | E6C87CC9AE31B23A4F2B7AEACF2D20EF /* Info.plist */, 109 | 78CFEABC32E98A63952BA07A0FCB8081 /* WOWCheckbox.modulemap */, 110 | 16D6250E13EA6B4F3CBFCC602CD0822D /* WOWCheckbox.xcconfig */, 111 | E04A759672D71C36A2ECF680723DCABA /* WOWCheckbox-dummy.m */, 112 | 7E8E08B0A89DACB58364A95CE6C67889 /* WOWCheckbox-prefix.pch */, 113 | E4B9E5340D0AF189552BA2DD81BA83EE /* WOWCheckbox-umbrella.h */, 114 | ); 115 | name = "Support Files"; 116 | path = "Example/Pods/Target Support Files/WOWCheckbox"; 117 | sourceTree = ""; 118 | }; 119 | 5DD3BAC91D97A5723AB7F53BA3D53BA5 /* Classes */ = { 120 | isa = PBXGroup; 121 | children = ( 122 | B98545D873863D9BF205C9FC80E1FB1C /* WOWCheckbox.swift */, 123 | ); 124 | path = Classes; 125 | sourceTree = ""; 126 | }; 127 | 65A4FF724FF2EAE9CD7E3E98AB8FE418 /* Development Pods */ = { 128 | isa = PBXGroup; 129 | children = ( 130 | F2D4849EB8277FE812B7D8F8BE5148D6 /* WOWCheckbox */, 131 | ); 132 | name = "Development Pods"; 133 | sourceTree = ""; 134 | }; 135 | 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */, 139 | ); 140 | name = iOS; 141 | sourceTree = ""; 142 | }; 143 | 7DB346D0F39D3F0E887471402A8071AB = { 144 | isa = PBXGroup; 145 | children = ( 146 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 147 | 65A4FF724FF2EAE9CD7E3E98AB8FE418 /* Development Pods */, 148 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 149 | 1E4EB31C43A32EC03FBCE66BC8B94AC2 /* Products */, 150 | DA7C70D016A29D3CFACEEEB6F7CC6D39 /* Targets Support Files */, 151 | ); 152 | sourceTree = ""; 153 | }; 154 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 155 | isa = PBXGroup; 156 | children = ( 157 | 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */, 158 | ); 159 | name = Frameworks; 160 | sourceTree = ""; 161 | }; 162 | C103DDBE5B7E2B1A50B7B7074C43F46C /* WOWCheckbox */ = { 163 | isa = PBXGroup; 164 | children = ( 165 | 5DD3BAC91D97A5723AB7F53BA3D53BA5 /* Classes */, 166 | ); 167 | path = WOWCheckbox; 168 | sourceTree = ""; 169 | }; 170 | DA7C70D016A29D3CFACEEEB6F7CC6D39 /* Targets Support Files */ = { 171 | isa = PBXGroup; 172 | children = ( 173 | F77884060D1541DEA92815CA5A49169F /* Pods-WOWCheckbox_Example */, 174 | FEEA8351562CD99B4CD6CAA076CBD3E4 /* Pods-WOWCheckbox_Tests */, 175 | ); 176 | name = "Targets Support Files"; 177 | sourceTree = ""; 178 | }; 179 | F2D4849EB8277FE812B7D8F8BE5148D6 /* WOWCheckbox */ = { 180 | isa = PBXGroup; 181 | children = ( 182 | 2F12EDD0F617786C0822ABDE8158450C /* Support Files */, 183 | C103DDBE5B7E2B1A50B7B7074C43F46C /* WOWCheckbox */, 184 | ); 185 | name = WOWCheckbox; 186 | path = ../..; 187 | sourceTree = ""; 188 | }; 189 | F77884060D1541DEA92815CA5A49169F /* Pods-WOWCheckbox_Example */ = { 190 | isa = PBXGroup; 191 | children = ( 192 | 41BF885E7F0B8F207D3E18D2B6560742 /* Info.plist */, 193 | 3DEA0BC8F4227458D6101BDDE7D8F0AE /* Pods-WOWCheckbox_Example.modulemap */, 194 | 275114999D42024AB2C54649D0A6A9BB /* Pods-WOWCheckbox_Example-acknowledgements.markdown */, 195 | A5906F14FFAD3E44D239EC69CC3A78F8 /* Pods-WOWCheckbox_Example-acknowledgements.plist */, 196 | 297C2BE6EF80FCE33E69BE97C3697AC3 /* Pods-WOWCheckbox_Example-dummy.m */, 197 | 29B0389E462CEA35E0C8A2BA7447B8EF /* Pods-WOWCheckbox_Example-frameworks.sh */, 198 | 95D939E4350B937ED522F91BA47BCD1F /* Pods-WOWCheckbox_Example-resources.sh */, 199 | 6DC8B0E5C0F31E60ADB2AE27CA71CE09 /* Pods-WOWCheckbox_Example-umbrella.h */, 200 | AB142244818AEF1117D6DA7608BDEBF4 /* Pods-WOWCheckbox_Example.debug.xcconfig */, 201 | 0819EEC7C370595A7F13F12B4CAB156A /* Pods-WOWCheckbox_Example.release.xcconfig */, 202 | ); 203 | name = "Pods-WOWCheckbox_Example"; 204 | path = "Target Support Files/Pods-WOWCheckbox_Example"; 205 | sourceTree = ""; 206 | }; 207 | FEEA8351562CD99B4CD6CAA076CBD3E4 /* Pods-WOWCheckbox_Tests */ = { 208 | isa = PBXGroup; 209 | children = ( 210 | F6474B45B0B55FDDAE9FF3DE99BE5CFF /* Info.plist */, 211 | 15D109992EA843F7A782A926731A28B7 /* Pods-WOWCheckbox_Tests.modulemap */, 212 | 33B227C57B4B491DF820ED2CF1AE49F7 /* Pods-WOWCheckbox_Tests-acknowledgements.markdown */, 213 | 648FECC9D89822C9690C0001431769BC /* Pods-WOWCheckbox_Tests-acknowledgements.plist */, 214 | 10FB57ACB303271E266211C1916EE692 /* Pods-WOWCheckbox_Tests-dummy.m */, 215 | 6AF7F060EA4181343C7B9423B9DC86A8 /* Pods-WOWCheckbox_Tests-frameworks.sh */, 216 | 6DA5884BF3E41BE20E72C483FE0F63AB /* Pods-WOWCheckbox_Tests-resources.sh */, 217 | 1721D1AC3487E3D8D40DC67928C703BD /* Pods-WOWCheckbox_Tests-umbrella.h */, 218 | 4838CF5F58A19F686D940D5739AB75A4 /* Pods-WOWCheckbox_Tests.debug.xcconfig */, 219 | AEA2B911AB4858772B8EDC875F013DC9 /* Pods-WOWCheckbox_Tests.release.xcconfig */, 220 | ); 221 | name = "Pods-WOWCheckbox_Tests"; 222 | path = "Target Support Files/Pods-WOWCheckbox_Tests"; 223 | sourceTree = ""; 224 | }; 225 | /* End PBXGroup section */ 226 | 227 | /* Begin PBXHeadersBuildPhase section */ 228 | 8CF31C690981BF43C02D145FBE3D58C3 /* Headers */ = { 229 | isa = PBXHeadersBuildPhase; 230 | buildActionMask = 2147483647; 231 | files = ( 232 | 043FA1FE46F7238FFD298A013B796DC8 /* WOWCheckbox-umbrella.h in Headers */, 233 | ); 234 | runOnlyForDeploymentPostprocessing = 0; 235 | }; 236 | C3588AD34B5786F2D8EE661F4BD0FADE /* Headers */ = { 237 | isa = PBXHeadersBuildPhase; 238 | buildActionMask = 2147483647; 239 | files = ( 240 | AE9111BA9968DAF11546160BBFA337BE /* Pods-WOWCheckbox_Example-umbrella.h in Headers */, 241 | ); 242 | runOnlyForDeploymentPostprocessing = 0; 243 | }; 244 | EF3F347A816A99C405EF0371CE35F94D /* Headers */ = { 245 | isa = PBXHeadersBuildPhase; 246 | buildActionMask = 2147483647; 247 | files = ( 248 | 4DC1B5D7F6B5E3AA33DA831BE5B5BB54 /* Pods-WOWCheckbox_Tests-umbrella.h in Headers */, 249 | ); 250 | runOnlyForDeploymentPostprocessing = 0; 251 | }; 252 | /* End PBXHeadersBuildPhase section */ 253 | 254 | /* Begin PBXNativeTarget section */ 255 | 75CB400A540E0337889A481DC74DC35C /* WOWCheckbox */ = { 256 | isa = PBXNativeTarget; 257 | buildConfigurationList = F2C6E7ECB861FA9F976B184E98A522D7 /* Build configuration list for PBXNativeTarget "WOWCheckbox" */; 258 | buildPhases = ( 259 | 88C317493646DC9184A5278198FB115F /* Sources */, 260 | C14EB557304DAB6C9CFC3581563F910A /* Frameworks */, 261 | 8CF31C690981BF43C02D145FBE3D58C3 /* Headers */, 262 | ); 263 | buildRules = ( 264 | ); 265 | dependencies = ( 266 | ); 267 | name = WOWCheckbox; 268 | productName = WOWCheckbox; 269 | productReference = 3A1E9826F95B76130401C7FBAE5B0B82 /* WOWCheckbox.framework */; 270 | productType = "com.apple.product-type.framework"; 271 | }; 272 | 8F58E5E863330AF39953BEEA25F529E7 /* Pods-WOWCheckbox_Tests */ = { 273 | isa = PBXNativeTarget; 274 | buildConfigurationList = D2391FED82BA312D637654C2DB831FED /* Build configuration list for PBXNativeTarget "Pods-WOWCheckbox_Tests" */; 275 | buildPhases = ( 276 | 7469BCF2A8EE580FC081B37C495EDA10 /* Sources */, 277 | E7C2DA246ABBE0C5285412BA8FC229F0 /* Frameworks */, 278 | EF3F347A816A99C405EF0371CE35F94D /* Headers */, 279 | ); 280 | buildRules = ( 281 | ); 282 | dependencies = ( 283 | ); 284 | name = "Pods-WOWCheckbox_Tests"; 285 | productName = "Pods-WOWCheckbox_Tests"; 286 | productReference = BCC850278AD879756695E9809ECDED99 /* Pods_WOWCheckbox_Tests.framework */; 287 | productType = "com.apple.product-type.framework"; 288 | }; 289 | CA886BB485CAE7E7848AFE834F897C8B /* Pods-WOWCheckbox_Example */ = { 290 | isa = PBXNativeTarget; 291 | buildConfigurationList = 14B9AA86633FA33F7AF0B9DF0E6A0EE0 /* Build configuration list for PBXNativeTarget "Pods-WOWCheckbox_Example" */; 292 | buildPhases = ( 293 | B9EF6D8316C35158CE3BE30A2B363990 /* Sources */, 294 | 7B624DDD8EE2E1DAC59D72C21A726970 /* Frameworks */, 295 | C3588AD34B5786F2D8EE661F4BD0FADE /* Headers */, 296 | ); 297 | buildRules = ( 298 | ); 299 | dependencies = ( 300 | 88E0891527029D724FBCF80FDF8F5305 /* PBXTargetDependency */, 301 | ); 302 | name = "Pods-WOWCheckbox_Example"; 303 | productName = "Pods-WOWCheckbox_Example"; 304 | productReference = 02D2C09C621A8DA045164A26BF090FBC /* Pods_WOWCheckbox_Example.framework */; 305 | productType = "com.apple.product-type.framework"; 306 | }; 307 | /* End PBXNativeTarget section */ 308 | 309 | /* Begin PBXProject section */ 310 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 311 | isa = PBXProject; 312 | attributes = { 313 | LastSwiftUpdateCheck = 0730; 314 | LastUpgradeCheck = 0700; 315 | }; 316 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 317 | compatibilityVersion = "Xcode 3.2"; 318 | developmentRegion = English; 319 | hasScannedForEncodings = 0; 320 | knownRegions = ( 321 | en, 322 | ); 323 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 324 | productRefGroup = 1E4EB31C43A32EC03FBCE66BC8B94AC2 /* Products */; 325 | projectDirPath = ""; 326 | projectRoot = ""; 327 | targets = ( 328 | CA886BB485CAE7E7848AFE834F897C8B /* Pods-WOWCheckbox_Example */, 329 | 8F58E5E863330AF39953BEEA25F529E7 /* Pods-WOWCheckbox_Tests */, 330 | 75CB400A540E0337889A481DC74DC35C /* WOWCheckbox */, 331 | ); 332 | }; 333 | /* End PBXProject section */ 334 | 335 | /* Begin PBXSourcesBuildPhase section */ 336 | 7469BCF2A8EE580FC081B37C495EDA10 /* Sources */ = { 337 | isa = PBXSourcesBuildPhase; 338 | buildActionMask = 2147483647; 339 | files = ( 340 | 2CFBF111CC09D38DB20A777575F3B8A2 /* Pods-WOWCheckbox_Tests-dummy.m in Sources */, 341 | ); 342 | runOnlyForDeploymentPostprocessing = 0; 343 | }; 344 | 88C317493646DC9184A5278198FB115F /* Sources */ = { 345 | isa = PBXSourcesBuildPhase; 346 | buildActionMask = 2147483647; 347 | files = ( 348 | 7EEC025F009885C691DAEBD4559464D8 /* WOWCheckbox-dummy.m in Sources */, 349 | 93FAD8981FD3405A297915895BA65FF8 /* WOWCheckbox.swift in Sources */, 350 | ); 351 | runOnlyForDeploymentPostprocessing = 0; 352 | }; 353 | B9EF6D8316C35158CE3BE30A2B363990 /* Sources */ = { 354 | isa = PBXSourcesBuildPhase; 355 | buildActionMask = 2147483647; 356 | files = ( 357 | 29AA003EBBE428AAD15AC08D8F22DB79 /* Pods-WOWCheckbox_Example-dummy.m in Sources */, 358 | ); 359 | runOnlyForDeploymentPostprocessing = 0; 360 | }; 361 | /* End PBXSourcesBuildPhase section */ 362 | 363 | /* Begin PBXTargetDependency section */ 364 | 88E0891527029D724FBCF80FDF8F5305 /* PBXTargetDependency */ = { 365 | isa = PBXTargetDependency; 366 | name = WOWCheckbox; 367 | target = 75CB400A540E0337889A481DC74DC35C /* WOWCheckbox */; 368 | targetProxy = 7745C8FA3F9A4CBC96379AB09781D708 /* PBXContainerItemProxy */; 369 | }; 370 | /* End PBXTargetDependency section */ 371 | 372 | /* Begin XCBuildConfiguration section */ 373 | 10758D31B0B411977601D7641C3A0C52 /* Debug */ = { 374 | isa = XCBuildConfiguration; 375 | baseConfigurationReference = 4838CF5F58A19F686D940D5739AB75A4 /* Pods-WOWCheckbox_Tests.debug.xcconfig */; 376 | buildSettings = { 377 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 378 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 379 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 380 | CURRENT_PROJECT_VERSION = 1; 381 | DEBUG_INFORMATION_FORMAT = dwarf; 382 | DEFINES_MODULE = YES; 383 | DYLIB_COMPATIBILITY_VERSION = 1; 384 | DYLIB_CURRENT_VERSION = 1; 385 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 386 | ENABLE_STRICT_OBJC_MSGSEND = YES; 387 | GCC_NO_COMMON_BLOCKS = YES; 388 | INFOPLIST_FILE = "Target Support Files/Pods-WOWCheckbox_Tests/Info.plist"; 389 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 390 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 391 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 392 | MACH_O_TYPE = staticlib; 393 | MODULEMAP_FILE = "Target Support Files/Pods-WOWCheckbox_Tests/Pods-WOWCheckbox_Tests.modulemap"; 394 | MTL_ENABLE_DEBUG_INFO = YES; 395 | OTHER_LDFLAGS = ""; 396 | OTHER_LIBTOOLFLAGS = ""; 397 | PODS_ROOT = "$(SRCROOT)"; 398 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 399 | PRODUCT_NAME = Pods_WOWCheckbox_Tests; 400 | SDKROOT = iphoneos; 401 | SKIP_INSTALL = YES; 402 | TARGETED_DEVICE_FAMILY = "1,2"; 403 | VERSIONING_SYSTEM = "apple-generic"; 404 | VERSION_INFO_PREFIX = ""; 405 | }; 406 | name = Debug; 407 | }; 408 | 13E9C8F1F9810E899A043ABDEB378B6B /* Release */ = { 409 | isa = XCBuildConfiguration; 410 | baseConfigurationReference = 16D6250E13EA6B4F3CBFCC602CD0822D /* WOWCheckbox.xcconfig */; 411 | buildSettings = { 412 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 413 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 414 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 415 | CURRENT_PROJECT_VERSION = 1; 416 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 417 | DEFINES_MODULE = YES; 418 | DYLIB_COMPATIBILITY_VERSION = 1; 419 | DYLIB_CURRENT_VERSION = 1; 420 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 421 | ENABLE_STRICT_OBJC_MSGSEND = YES; 422 | GCC_NO_COMMON_BLOCKS = YES; 423 | GCC_PREFIX_HEADER = "Target Support Files/WOWCheckbox/WOWCheckbox-prefix.pch"; 424 | INFOPLIST_FILE = "Target Support Files/WOWCheckbox/Info.plist"; 425 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 426 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 427 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 428 | MODULEMAP_FILE = "Target Support Files/WOWCheckbox/WOWCheckbox.modulemap"; 429 | MTL_ENABLE_DEBUG_INFO = NO; 430 | PRODUCT_NAME = WOWCheckbox; 431 | SDKROOT = iphoneos; 432 | SKIP_INSTALL = YES; 433 | SWIFT_VERSION = 4.2; 434 | TARGETED_DEVICE_FAMILY = "1,2"; 435 | VERSIONING_SYSTEM = "apple-generic"; 436 | VERSION_INFO_PREFIX = ""; 437 | }; 438 | name = Release; 439 | }; 440 | 14594E454D29A66722E2FC1D54880E91 /* Release */ = { 441 | isa = XCBuildConfiguration; 442 | baseConfigurationReference = AEA2B911AB4858772B8EDC875F013DC9 /* Pods-WOWCheckbox_Tests.release.xcconfig */; 443 | buildSettings = { 444 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 445 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 446 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 447 | CURRENT_PROJECT_VERSION = 1; 448 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 449 | DEFINES_MODULE = YES; 450 | DYLIB_COMPATIBILITY_VERSION = 1; 451 | DYLIB_CURRENT_VERSION = 1; 452 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 453 | ENABLE_STRICT_OBJC_MSGSEND = YES; 454 | GCC_NO_COMMON_BLOCKS = YES; 455 | INFOPLIST_FILE = "Target Support Files/Pods-WOWCheckbox_Tests/Info.plist"; 456 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 457 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 458 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 459 | MACH_O_TYPE = staticlib; 460 | MODULEMAP_FILE = "Target Support Files/Pods-WOWCheckbox_Tests/Pods-WOWCheckbox_Tests.modulemap"; 461 | MTL_ENABLE_DEBUG_INFO = NO; 462 | OTHER_LDFLAGS = ""; 463 | OTHER_LIBTOOLFLAGS = ""; 464 | PODS_ROOT = "$(SRCROOT)"; 465 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 466 | PRODUCT_NAME = Pods_WOWCheckbox_Tests; 467 | SDKROOT = iphoneos; 468 | SKIP_INSTALL = YES; 469 | TARGETED_DEVICE_FAMILY = "1,2"; 470 | VERSIONING_SYSTEM = "apple-generic"; 471 | VERSION_INFO_PREFIX = ""; 472 | }; 473 | name = Release; 474 | }; 475 | 18324B3B624EFE6265A5E8C35BE43CB5 /* Release */ = { 476 | isa = XCBuildConfiguration; 477 | baseConfigurationReference = 0819EEC7C370595A7F13F12B4CAB156A /* Pods-WOWCheckbox_Example.release.xcconfig */; 478 | buildSettings = { 479 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 480 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 481 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 482 | CURRENT_PROJECT_VERSION = 1; 483 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 484 | DEFINES_MODULE = YES; 485 | DYLIB_COMPATIBILITY_VERSION = 1; 486 | DYLIB_CURRENT_VERSION = 1; 487 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 488 | ENABLE_STRICT_OBJC_MSGSEND = YES; 489 | GCC_NO_COMMON_BLOCKS = YES; 490 | INFOPLIST_FILE = "Target Support Files/Pods-WOWCheckbox_Example/Info.plist"; 491 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 492 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 493 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 494 | MACH_O_TYPE = staticlib; 495 | MODULEMAP_FILE = "Target Support Files/Pods-WOWCheckbox_Example/Pods-WOWCheckbox_Example.modulemap"; 496 | MTL_ENABLE_DEBUG_INFO = NO; 497 | OTHER_LDFLAGS = ""; 498 | OTHER_LIBTOOLFLAGS = ""; 499 | PODS_ROOT = "$(SRCROOT)"; 500 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 501 | PRODUCT_NAME = Pods_WOWCheckbox_Example; 502 | SDKROOT = iphoneos; 503 | SKIP_INSTALL = YES; 504 | TARGETED_DEVICE_FAMILY = "1,2"; 505 | VERSIONING_SYSTEM = "apple-generic"; 506 | VERSION_INFO_PREFIX = ""; 507 | }; 508 | name = Release; 509 | }; 510 | 77B570D0E8D44C5B321C73B7D0C3820E /* Debug */ = { 511 | isa = XCBuildConfiguration; 512 | baseConfigurationReference = 16D6250E13EA6B4F3CBFCC602CD0822D /* WOWCheckbox.xcconfig */; 513 | buildSettings = { 514 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 515 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 516 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 517 | CURRENT_PROJECT_VERSION = 1; 518 | DEBUG_INFORMATION_FORMAT = dwarf; 519 | DEFINES_MODULE = YES; 520 | DYLIB_COMPATIBILITY_VERSION = 1; 521 | DYLIB_CURRENT_VERSION = 1; 522 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 523 | ENABLE_STRICT_OBJC_MSGSEND = YES; 524 | GCC_NO_COMMON_BLOCKS = YES; 525 | GCC_PREFIX_HEADER = "Target Support Files/WOWCheckbox/WOWCheckbox-prefix.pch"; 526 | INFOPLIST_FILE = "Target Support Files/WOWCheckbox/Info.plist"; 527 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 528 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 529 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 530 | MODULEMAP_FILE = "Target Support Files/WOWCheckbox/WOWCheckbox.modulemap"; 531 | MTL_ENABLE_DEBUG_INFO = YES; 532 | PRODUCT_NAME = WOWCheckbox; 533 | SDKROOT = iphoneos; 534 | SKIP_INSTALL = YES; 535 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 536 | SWIFT_VERSION = 4.2; 537 | TARGETED_DEVICE_FAMILY = "1,2"; 538 | VERSIONING_SYSTEM = "apple-generic"; 539 | VERSION_INFO_PREFIX = ""; 540 | }; 541 | name = Debug; 542 | }; 543 | 866544D74EEA29F01311B1B1FD7A4A6B /* Debug */ = { 544 | isa = XCBuildConfiguration; 545 | baseConfigurationReference = AB142244818AEF1117D6DA7608BDEBF4 /* Pods-WOWCheckbox_Example.debug.xcconfig */; 546 | buildSettings = { 547 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 548 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 549 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 550 | CURRENT_PROJECT_VERSION = 1; 551 | DEBUG_INFORMATION_FORMAT = dwarf; 552 | DEFINES_MODULE = YES; 553 | DYLIB_COMPATIBILITY_VERSION = 1; 554 | DYLIB_CURRENT_VERSION = 1; 555 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 556 | ENABLE_STRICT_OBJC_MSGSEND = YES; 557 | GCC_NO_COMMON_BLOCKS = YES; 558 | INFOPLIST_FILE = "Target Support Files/Pods-WOWCheckbox_Example/Info.plist"; 559 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 560 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 561 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 562 | MACH_O_TYPE = staticlib; 563 | MODULEMAP_FILE = "Target Support Files/Pods-WOWCheckbox_Example/Pods-WOWCheckbox_Example.modulemap"; 564 | MTL_ENABLE_DEBUG_INFO = YES; 565 | OTHER_LDFLAGS = ""; 566 | OTHER_LIBTOOLFLAGS = ""; 567 | PODS_ROOT = "$(SRCROOT)"; 568 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 569 | PRODUCT_NAME = Pods_WOWCheckbox_Example; 570 | SDKROOT = iphoneos; 571 | SKIP_INSTALL = YES; 572 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 573 | TARGETED_DEVICE_FAMILY = "1,2"; 574 | VERSIONING_SYSTEM = "apple-generic"; 575 | VERSION_INFO_PREFIX = ""; 576 | }; 577 | name = Debug; 578 | }; 579 | 8DED8AD26D381A6ACFF202E5217EC498 /* Release */ = { 580 | isa = XCBuildConfiguration; 581 | buildSettings = { 582 | ALWAYS_SEARCH_USER_PATHS = NO; 583 | CLANG_ANALYZER_NONNULL = YES; 584 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 585 | CLANG_CXX_LIBRARY = "libc++"; 586 | CLANG_ENABLE_MODULES = YES; 587 | CLANG_ENABLE_OBJC_ARC = YES; 588 | CLANG_WARN_BOOL_CONVERSION = YES; 589 | CLANG_WARN_CONSTANT_CONVERSION = YES; 590 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 591 | CLANG_WARN_EMPTY_BODY = YES; 592 | CLANG_WARN_ENUM_CONVERSION = YES; 593 | CLANG_WARN_INT_CONVERSION = YES; 594 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 595 | CLANG_WARN_UNREACHABLE_CODE = YES; 596 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 597 | CODE_SIGNING_REQUIRED = NO; 598 | COPY_PHASE_STRIP = YES; 599 | ENABLE_NS_ASSERTIONS = NO; 600 | GCC_C_LANGUAGE_STANDARD = gnu99; 601 | GCC_PREPROCESSOR_DEFINITIONS = ( 602 | "POD_CONFIGURATION_RELEASE=1", 603 | "$(inherited)", 604 | ); 605 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 606 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 607 | GCC_WARN_UNDECLARED_SELECTOR = YES; 608 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 609 | GCC_WARN_UNUSED_FUNCTION = YES; 610 | GCC_WARN_UNUSED_VARIABLE = YES; 611 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 612 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 613 | STRIP_INSTALLED_PRODUCT = NO; 614 | SYMROOT = "${SRCROOT}/../build"; 615 | VALIDATE_PRODUCT = YES; 616 | }; 617 | name = Release; 618 | }; 619 | 9E1E4E48AF2EAB23169E611BF694090A /* Debug */ = { 620 | isa = XCBuildConfiguration; 621 | buildSettings = { 622 | ALWAYS_SEARCH_USER_PATHS = NO; 623 | CLANG_ANALYZER_NONNULL = YES; 624 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 625 | CLANG_CXX_LIBRARY = "libc++"; 626 | CLANG_ENABLE_MODULES = YES; 627 | CLANG_ENABLE_OBJC_ARC = YES; 628 | CLANG_WARN_BOOL_CONVERSION = YES; 629 | CLANG_WARN_CONSTANT_CONVERSION = YES; 630 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 631 | CLANG_WARN_EMPTY_BODY = YES; 632 | CLANG_WARN_ENUM_CONVERSION = YES; 633 | CLANG_WARN_INT_CONVERSION = YES; 634 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 635 | CLANG_WARN_UNREACHABLE_CODE = YES; 636 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 637 | CODE_SIGNING_REQUIRED = NO; 638 | COPY_PHASE_STRIP = NO; 639 | ENABLE_TESTABILITY = YES; 640 | GCC_C_LANGUAGE_STANDARD = gnu99; 641 | GCC_DYNAMIC_NO_PIC = NO; 642 | GCC_OPTIMIZATION_LEVEL = 0; 643 | GCC_PREPROCESSOR_DEFINITIONS = ( 644 | "POD_CONFIGURATION_DEBUG=1", 645 | "DEBUG=1", 646 | "$(inherited)", 647 | ); 648 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 649 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 650 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 651 | GCC_WARN_UNDECLARED_SELECTOR = YES; 652 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 653 | GCC_WARN_UNUSED_FUNCTION = YES; 654 | GCC_WARN_UNUSED_VARIABLE = YES; 655 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 656 | ONLY_ACTIVE_ARCH = YES; 657 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 658 | STRIP_INSTALLED_PRODUCT = NO; 659 | SYMROOT = "${SRCROOT}/../build"; 660 | }; 661 | name = Debug; 662 | }; 663 | /* End XCBuildConfiguration section */ 664 | 665 | /* Begin XCConfigurationList section */ 666 | 14B9AA86633FA33F7AF0B9DF0E6A0EE0 /* Build configuration list for PBXNativeTarget "Pods-WOWCheckbox_Example" */ = { 667 | isa = XCConfigurationList; 668 | buildConfigurations = ( 669 | 866544D74EEA29F01311B1B1FD7A4A6B /* Debug */, 670 | 18324B3B624EFE6265A5E8C35BE43CB5 /* Release */, 671 | ); 672 | defaultConfigurationIsVisible = 0; 673 | defaultConfigurationName = Release; 674 | }; 675 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 676 | isa = XCConfigurationList; 677 | buildConfigurations = ( 678 | 9E1E4E48AF2EAB23169E611BF694090A /* Debug */, 679 | 8DED8AD26D381A6ACFF202E5217EC498 /* Release */, 680 | ); 681 | defaultConfigurationIsVisible = 0; 682 | defaultConfigurationName = Release; 683 | }; 684 | D2391FED82BA312D637654C2DB831FED /* Build configuration list for PBXNativeTarget "Pods-WOWCheckbox_Tests" */ = { 685 | isa = XCConfigurationList; 686 | buildConfigurations = ( 687 | 10758D31B0B411977601D7641C3A0C52 /* Debug */, 688 | 14594E454D29A66722E2FC1D54880E91 /* Release */, 689 | ); 690 | defaultConfigurationIsVisible = 0; 691 | defaultConfigurationName = Release; 692 | }; 693 | F2C6E7ECB861FA9F976B184E98A522D7 /* Build configuration list for PBXNativeTarget "WOWCheckbox" */ = { 694 | isa = XCConfigurationList; 695 | buildConfigurations = ( 696 | 77B570D0E8D44C5B321C73B7D0C3820E /* Debug */, 697 | 13E9C8F1F9810E899A043ABDEB378B6B /* Release */, 698 | ); 699 | defaultConfigurationIsVisible = 0; 700 | defaultConfigurationName = Release; 701 | }; 702 | /* End XCConfigurationList section */ 703 | }; 704 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 705 | } 706 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-WOWCheckbox_Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 70 | 71 | 72 | 73 | 75 | 76 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-WOWCheckbox_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-WOWCheckbox_Example/Pods-WOWCheckbox_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## WOWCheckbox 5 | 6 | Copyright (c) 2016 Zhou Hao 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-WOWCheckbox_Example/Pods-WOWCheckbox_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) 2016 Zhou Hao <zhou.hao.27@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 | WOWCheckbox 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-WOWCheckbox_Example/Pods-WOWCheckbox_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_WOWCheckbox_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_WOWCheckbox_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-WOWCheckbox_Example/Pods-WOWCheckbox_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1"" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | 91 | if [[ "$CONFIGURATION" == "Debug" ]]; then 92 | install_framework "$BUILT_PRODUCTS_DIR/WOWCheckbox/WOWCheckbox.framework" 93 | fi 94 | if [[ "$CONFIGURATION" == "Release" ]]; then 95 | install_framework "$BUILT_PRODUCTS_DIR/WOWCheckbox/WOWCheckbox.framework" 96 | fi 97 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 98 | wait 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-WOWCheckbox_Example/Pods-WOWCheckbox_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | *) 25 | TARGET_DEVICE_ARGS="--target-device mac" 26 | ;; 27 | esac 28 | 29 | install_resource() 30 | { 31 | if [[ "$1" = /* ]] ; then 32 | RESOURCE_PATH="$1" 33 | else 34 | RESOURCE_PATH="${PODS_ROOT}/$1" 35 | fi 36 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 37 | cat << EOM 38 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 39 | EOM 40 | exit 1 41 | fi 42 | case $RESOURCE_PATH in 43 | *.storyboard) 44 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 45 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 46 | ;; 47 | *.xib) 48 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 49 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 50 | ;; 51 | *.framework) 52 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 53 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 54 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 55 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | ;; 57 | *.xcdatamodel) 58 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 59 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 60 | ;; 61 | *.xcdatamodeld) 62 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 63 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 64 | ;; 65 | *.xcmappingmodel) 66 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 67 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 68 | ;; 69 | *.xcassets) 70 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 71 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 72 | ;; 73 | *) 74 | echo "$RESOURCE_PATH" 75 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 76 | ;; 77 | esac 78 | } 79 | 80 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 81 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 82 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 83 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | fi 86 | rm -f "$RESOURCES_TO_COPY" 87 | 88 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 89 | then 90 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 91 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 92 | while read line; do 93 | if [[ $line != "${PODS_ROOT}*" ]]; then 94 | XCASSET_FILES+=("$line") 95 | fi 96 | done <<<"$OTHER_XCASSETS" 97 | 98 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-WOWCheckbox_Example/Pods-WOWCheckbox_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_WOWCheckbox_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_WOWCheckbox_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-WOWCheckbox_Example/Pods-WOWCheckbox_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/WOWCheckbox" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/WOWCheckbox/WOWCheckbox.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "WOWCheckbox" 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_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-WOWCheckbox_Example/Pods-WOWCheckbox_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_WOWCheckbox_Example { 2 | umbrella header "Pods-WOWCheckbox_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-WOWCheckbox_Example/Pods-WOWCheckbox_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/WOWCheckbox" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/WOWCheckbox/WOWCheckbox.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "WOWCheckbox" 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_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-WOWCheckbox_Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-WOWCheckbox_Tests/Pods-WOWCheckbox_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-WOWCheckbox_Tests/Pods-WOWCheckbox_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-WOWCheckbox_Tests/Pods-WOWCheckbox_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_WOWCheckbox_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_WOWCheckbox_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-WOWCheckbox_Tests/Pods-WOWCheckbox_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1"" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 91 | wait 92 | fi 93 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-WOWCheckbox_Tests/Pods-WOWCheckbox_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | *) 25 | TARGET_DEVICE_ARGS="--target-device mac" 26 | ;; 27 | esac 28 | 29 | install_resource() 30 | { 31 | if [[ "$1" = /* ]] ; then 32 | RESOURCE_PATH="$1" 33 | else 34 | RESOURCE_PATH="${PODS_ROOT}/$1" 35 | fi 36 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 37 | cat << EOM 38 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 39 | EOM 40 | exit 1 41 | fi 42 | case $RESOURCE_PATH in 43 | *.storyboard) 44 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 45 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 46 | ;; 47 | *.xib) 48 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 49 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 50 | ;; 51 | *.framework) 52 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 53 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 54 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 55 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | ;; 57 | *.xcdatamodel) 58 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 59 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 60 | ;; 61 | *.xcdatamodeld) 62 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 63 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 64 | ;; 65 | *.xcmappingmodel) 66 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 67 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 68 | ;; 69 | *.xcassets) 70 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 71 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 72 | ;; 73 | *) 74 | echo "$RESOURCE_PATH" 75 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 76 | ;; 77 | esac 78 | } 79 | 80 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 81 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 82 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 83 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | fi 86 | rm -f "$RESOURCES_TO_COPY" 87 | 88 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 89 | then 90 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 91 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 92 | while read line; do 93 | if [[ $line != "${PODS_ROOT}*" ]]; then 94 | XCASSET_FILES+=("$line") 95 | fi 96 | done <<<"$OTHER_XCASSETS" 97 | 98 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-WOWCheckbox_Tests/Pods-WOWCheckbox_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_WOWCheckbox_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_WOWCheckbox_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-WOWCheckbox_Tests/Pods-WOWCheckbox_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/WOWCheckbox" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/WOWCheckbox/WOWCheckbox.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT}/Pods 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-WOWCheckbox_Tests/Pods-WOWCheckbox_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_WOWCheckbox_Tests { 2 | umbrella header "Pods-WOWCheckbox_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-WOWCheckbox_Tests/Pods-WOWCheckbox_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/WOWCheckbox" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/WOWCheckbox/WOWCheckbox.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT}/Pods 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/WOWCheckbox/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/WOWCheckbox/WOWCheckbox-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_WOWCheckbox : NSObject 3 | @end 4 | @implementation PodsDummy_WOWCheckbox 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/WOWCheckbox/WOWCheckbox-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/WOWCheckbox/WOWCheckbox-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 WOWCheckboxVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char WOWCheckboxVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/WOWCheckbox/WOWCheckbox.modulemap: -------------------------------------------------------------------------------- 1 | framework module WOWCheckbox { 2 | umbrella header "WOWCheckbox-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/WOWCheckbox/WOWCheckbox.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/WOWCheckbox 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import WOWCheckbox 4 | 5 | class Tests: XCTestCase { 6 | 7 | override func setUp() { 8 | super.setUp() 9 | // Put setup code here. This method is called before the invocation of each test method in the class. 10 | } 11 | 12 | override func tearDown() { 13 | // Put teardown code here. This method is called after the invocation of each test method in the class. 14 | super.tearDown() 15 | } 16 | 17 | func testExample() { 18 | // This is an example of a functional test case. 19 | XCTAssert(true, "Pass") 20 | } 21 | 22 | func testPerformanceExample() { 23 | // This is an example of a performance test case. 24 | self.measure() { 25 | // Put the code you want to measure the time of here. 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /Example/WOWCheckbox.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 56BAB60FCDC0759028409714 /* Pods_WOWCheckbox_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8FB94C5A0D8101EA20551983 /* Pods_WOWCheckbox_Example.framework */; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 13 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 14 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 15 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 16 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 17 | F5222D1B0A4D6A0494C55AEA /* Pods_WOWCheckbox_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E86FE78388C8550EADB1FA95 /* Pods_WOWCheckbox_Tests.framework */; }; 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 = WOWCheckbox; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 144CCD0EE9F168A05EC66788 /* Pods-WOWCheckbox_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-WOWCheckbox_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-WOWCheckbox_Example/Pods-WOWCheckbox_Example.debug.xcconfig"; sourceTree = ""; }; 32 | 1821235546650B6FB406048D /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 33 | 42B4298FE358679A49DD1455 /* Pods-WOWCheckbox_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-WOWCheckbox_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-WOWCheckbox_Example/Pods-WOWCheckbox_Example.release.xcconfig"; sourceTree = ""; }; 34 | 607FACD01AFB9204008FA782 /* WOWCheckbox_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = WOWCheckbox_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 35 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 36 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 37 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 38 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 39 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 40 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 41 | 607FACE51AFB9204008FA782 /* WOWCheckbox_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = WOWCheckbox_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 43 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 44 | 8FB94C5A0D8101EA20551983 /* Pods_WOWCheckbox_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_WOWCheckbox_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | A07CC0B66A88BB3C3EFDD32A /* Pods-WOWCheckbox_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-WOWCheckbox_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-WOWCheckbox_Tests/Pods-WOWCheckbox_Tests.release.xcconfig"; sourceTree = ""; }; 46 | CA7F9D8AF67D61090A4DB88F /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 47 | D0234DE053497B0994E3A541 /* WOWCheckbox.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = WOWCheckbox.podspec; path = ../WOWCheckbox.podspec; sourceTree = ""; }; 48 | DD721D6228E60FE754413ECC /* Pods-WOWCheckbox_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-WOWCheckbox_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-WOWCheckbox_Tests/Pods-WOWCheckbox_Tests.debug.xcconfig"; sourceTree = ""; }; 49 | E86FE78388C8550EADB1FA95 /* Pods_WOWCheckbox_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_WOWCheckbox_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | 56BAB60FCDC0759028409714 /* Pods_WOWCheckbox_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | F5222D1B0A4D6A0494C55AEA /* Pods_WOWCheckbox_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 4DA81CBA26E05EB17476CB27 /* Frameworks */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | 8FB94C5A0D8101EA20551983 /* Pods_WOWCheckbox_Example.framework */, 76 | E86FE78388C8550EADB1FA95 /* Pods_WOWCheckbox_Tests.framework */, 77 | ); 78 | name = Frameworks; 79 | sourceTree = ""; 80 | }; 81 | 607FACC71AFB9204008FA782 = { 82 | isa = PBXGroup; 83 | children = ( 84 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 85 | 607FACD21AFB9204008FA782 /* Example for WOWCheckbox */, 86 | 607FACE81AFB9204008FA782 /* Tests */, 87 | 607FACD11AFB9204008FA782 /* Products */, 88 | 7E581DF32D375EAD044978E1 /* Pods */, 89 | 4DA81CBA26E05EB17476CB27 /* Frameworks */, 90 | ); 91 | sourceTree = ""; 92 | }; 93 | 607FACD11AFB9204008FA782 /* Products */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 607FACD01AFB9204008FA782 /* WOWCheckbox_Example.app */, 97 | 607FACE51AFB9204008FA782 /* WOWCheckbox_Tests.xctest */, 98 | ); 99 | name = Products; 100 | sourceTree = ""; 101 | }; 102 | 607FACD21AFB9204008FA782 /* Example for WOWCheckbox */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 106 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 107 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 108 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 109 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 110 | 607FACD31AFB9204008FA782 /* Supporting Files */, 111 | ); 112 | name = "Example for WOWCheckbox"; 113 | path = WOWCheckbox; 114 | sourceTree = ""; 115 | }; 116 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 607FACD41AFB9204008FA782 /* Info.plist */, 120 | ); 121 | name = "Supporting Files"; 122 | sourceTree = ""; 123 | }; 124 | 607FACE81AFB9204008FA782 /* Tests */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 128 | 607FACE91AFB9204008FA782 /* Supporting Files */, 129 | ); 130 | path = Tests; 131 | sourceTree = ""; 132 | }; 133 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 607FACEA1AFB9204008FA782 /* Info.plist */, 137 | ); 138 | name = "Supporting Files"; 139 | sourceTree = ""; 140 | }; 141 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | D0234DE053497B0994E3A541 /* WOWCheckbox.podspec */, 145 | 1821235546650B6FB406048D /* README.md */, 146 | CA7F9D8AF67D61090A4DB88F /* LICENSE */, 147 | ); 148 | name = "Podspec Metadata"; 149 | sourceTree = ""; 150 | }; 151 | 7E581DF32D375EAD044978E1 /* Pods */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 144CCD0EE9F168A05EC66788 /* Pods-WOWCheckbox_Example.debug.xcconfig */, 155 | 42B4298FE358679A49DD1455 /* Pods-WOWCheckbox_Example.release.xcconfig */, 156 | DD721D6228E60FE754413ECC /* Pods-WOWCheckbox_Tests.debug.xcconfig */, 157 | A07CC0B66A88BB3C3EFDD32A /* Pods-WOWCheckbox_Tests.release.xcconfig */, 158 | ); 159 | name = Pods; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* WOWCheckbox_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "WOWCheckbox_Example" */; 168 | buildPhases = ( 169 | 2322EB5800248492F356BCFB /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | 4DF16C74FB810DDA769D80E9 /* [CP] Embed Pods Frameworks */, 174 | 32CB1DDF3DCC4A5A0C5ABFC6 /* [CP] Copy Pods Resources */, 175 | ); 176 | buildRules = ( 177 | ); 178 | dependencies = ( 179 | ); 180 | name = WOWCheckbox_Example; 181 | productName = WOWCheckbox; 182 | productReference = 607FACD01AFB9204008FA782 /* WOWCheckbox_Example.app */; 183 | productType = "com.apple.product-type.application"; 184 | }; 185 | 607FACE41AFB9204008FA782 /* WOWCheckbox_Tests */ = { 186 | isa = PBXNativeTarget; 187 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "WOWCheckbox_Tests" */; 188 | buildPhases = ( 189 | BBB6997750CEC86D06FC8672 /* [CP] Check Pods Manifest.lock */, 190 | 607FACE11AFB9204008FA782 /* Sources */, 191 | 607FACE21AFB9204008FA782 /* Frameworks */, 192 | 607FACE31AFB9204008FA782 /* Resources */, 193 | 276EFD1AA100F68649693354 /* [CP] Embed Pods Frameworks */, 194 | 0C0AA6649D6CE3CCD224543B /* [CP] Copy Pods Resources */, 195 | ); 196 | buildRules = ( 197 | ); 198 | dependencies = ( 199 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 200 | ); 201 | name = WOWCheckbox_Tests; 202 | productName = Tests; 203 | productReference = 607FACE51AFB9204008FA782 /* WOWCheckbox_Tests.xctest */; 204 | productType = "com.apple.product-type.bundle.unit-test"; 205 | }; 206 | /* End PBXNativeTarget section */ 207 | 208 | /* Begin PBXProject section */ 209 | 607FACC81AFB9204008FA782 /* Project object */ = { 210 | isa = PBXProject; 211 | attributes = { 212 | LastSwiftUpdateCheck = 0720; 213 | LastUpgradeCheck = 0720; 214 | ORGANIZATIONNAME = CocoaPods; 215 | TargetAttributes = { 216 | 607FACCF1AFB9204008FA782 = { 217 | CreatedOnToolsVersion = 6.3.1; 218 | LastSwiftMigration = 0810; 219 | }; 220 | 607FACE41AFB9204008FA782 = { 221 | CreatedOnToolsVersion = 6.3.1; 222 | LastSwiftMigration = 0810; 223 | TestTargetID = 607FACCF1AFB9204008FA782; 224 | }; 225 | }; 226 | }; 227 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "WOWCheckbox" */; 228 | compatibilityVersion = "Xcode 3.2"; 229 | developmentRegion = English; 230 | hasScannedForEncodings = 0; 231 | knownRegions = ( 232 | en, 233 | Base, 234 | ); 235 | mainGroup = 607FACC71AFB9204008FA782; 236 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 237 | projectDirPath = ""; 238 | projectRoot = ""; 239 | targets = ( 240 | 607FACCF1AFB9204008FA782 /* WOWCheckbox_Example */, 241 | 607FACE41AFB9204008FA782 /* WOWCheckbox_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 | 0C0AA6649D6CE3CCD224543B /* [CP] Copy Pods Resources */ = { 268 | isa = PBXShellScriptBuildPhase; 269 | buildActionMask = 2147483647; 270 | files = ( 271 | ); 272 | inputPaths = ( 273 | ); 274 | name = "[CP] Copy Pods Resources"; 275 | outputPaths = ( 276 | ); 277 | runOnlyForDeploymentPostprocessing = 0; 278 | shellPath = /bin/sh; 279 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-WOWCheckbox_Tests/Pods-WOWCheckbox_Tests-resources.sh\"\n"; 280 | showEnvVarsInLog = 0; 281 | }; 282 | 2322EB5800248492F356BCFB /* [CP] Check Pods Manifest.lock */ = { 283 | isa = PBXShellScriptBuildPhase; 284 | buildActionMask = 2147483647; 285 | files = ( 286 | ); 287 | inputPaths = ( 288 | ); 289 | name = "[CP] Check Pods Manifest.lock"; 290 | outputPaths = ( 291 | ); 292 | runOnlyForDeploymentPostprocessing = 0; 293 | shellPath = /bin/sh; 294 | shellScript = "diff \"${PODS_ROOT}/../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"; 295 | showEnvVarsInLog = 0; 296 | }; 297 | 276EFD1AA100F68649693354 /* [CP] Embed Pods Frameworks */ = { 298 | isa = PBXShellScriptBuildPhase; 299 | buildActionMask = 2147483647; 300 | files = ( 301 | ); 302 | inputPaths = ( 303 | ); 304 | name = "[CP] Embed Pods Frameworks"; 305 | outputPaths = ( 306 | ); 307 | runOnlyForDeploymentPostprocessing = 0; 308 | shellPath = /bin/sh; 309 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-WOWCheckbox_Tests/Pods-WOWCheckbox_Tests-frameworks.sh\"\n"; 310 | showEnvVarsInLog = 0; 311 | }; 312 | 32CB1DDF3DCC4A5A0C5ABFC6 /* [CP] Copy Pods Resources */ = { 313 | isa = PBXShellScriptBuildPhase; 314 | buildActionMask = 2147483647; 315 | files = ( 316 | ); 317 | inputPaths = ( 318 | ); 319 | name = "[CP] Copy Pods Resources"; 320 | outputPaths = ( 321 | ); 322 | runOnlyForDeploymentPostprocessing = 0; 323 | shellPath = /bin/sh; 324 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-WOWCheckbox_Example/Pods-WOWCheckbox_Example-resources.sh\"\n"; 325 | showEnvVarsInLog = 0; 326 | }; 327 | 4DF16C74FB810DDA769D80E9 /* [CP] Embed Pods Frameworks */ = { 328 | isa = PBXShellScriptBuildPhase; 329 | buildActionMask = 2147483647; 330 | files = ( 331 | ); 332 | inputPaths = ( 333 | ); 334 | name = "[CP] Embed Pods Frameworks"; 335 | outputPaths = ( 336 | ); 337 | runOnlyForDeploymentPostprocessing = 0; 338 | shellPath = /bin/sh; 339 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-WOWCheckbox_Example/Pods-WOWCheckbox_Example-frameworks.sh\"\n"; 340 | showEnvVarsInLog = 0; 341 | }; 342 | BBB6997750CEC86D06FC8672 /* [CP] Check Pods Manifest.lock */ = { 343 | isa = PBXShellScriptBuildPhase; 344 | buildActionMask = 2147483647; 345 | files = ( 346 | ); 347 | inputPaths = ( 348 | ); 349 | name = "[CP] Check Pods Manifest.lock"; 350 | outputPaths = ( 351 | ); 352 | runOnlyForDeploymentPostprocessing = 0; 353 | shellPath = /bin/sh; 354 | shellScript = "diff \"${PODS_ROOT}/../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"; 355 | showEnvVarsInLog = 0; 356 | }; 357 | /* End PBXShellScriptBuildPhase section */ 358 | 359 | /* Begin PBXSourcesBuildPhase section */ 360 | 607FACCC1AFB9204008FA782 /* Sources */ = { 361 | isa = PBXSourcesBuildPhase; 362 | buildActionMask = 2147483647; 363 | files = ( 364 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 365 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 366 | ); 367 | runOnlyForDeploymentPostprocessing = 0; 368 | }; 369 | 607FACE11AFB9204008FA782 /* Sources */ = { 370 | isa = PBXSourcesBuildPhase; 371 | buildActionMask = 2147483647; 372 | files = ( 373 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 374 | ); 375 | runOnlyForDeploymentPostprocessing = 0; 376 | }; 377 | /* End PBXSourcesBuildPhase section */ 378 | 379 | /* Begin PBXTargetDependency section */ 380 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 381 | isa = PBXTargetDependency; 382 | target = 607FACCF1AFB9204008FA782 /* WOWCheckbox_Example */; 383 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 384 | }; 385 | /* End PBXTargetDependency section */ 386 | 387 | /* Begin PBXVariantGroup section */ 388 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 389 | isa = PBXVariantGroup; 390 | children = ( 391 | 607FACDA1AFB9204008FA782 /* Base */, 392 | ); 393 | name = Main.storyboard; 394 | sourceTree = ""; 395 | }; 396 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 397 | isa = PBXVariantGroup; 398 | children = ( 399 | 607FACDF1AFB9204008FA782 /* Base */, 400 | ); 401 | name = LaunchScreen.xib; 402 | sourceTree = ""; 403 | }; 404 | /* End PBXVariantGroup section */ 405 | 406 | /* Begin XCBuildConfiguration section */ 407 | 607FACED1AFB9204008FA782 /* Debug */ = { 408 | isa = XCBuildConfiguration; 409 | buildSettings = { 410 | ALWAYS_SEARCH_USER_PATHS = NO; 411 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 412 | CLANG_CXX_LIBRARY = "libc++"; 413 | CLANG_ENABLE_MODULES = YES; 414 | CLANG_ENABLE_OBJC_ARC = YES; 415 | CLANG_WARN_BOOL_CONVERSION = YES; 416 | CLANG_WARN_CONSTANT_CONVERSION = YES; 417 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 418 | CLANG_WARN_EMPTY_BODY = YES; 419 | CLANG_WARN_ENUM_CONVERSION = YES; 420 | CLANG_WARN_INT_CONVERSION = YES; 421 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 422 | CLANG_WARN_UNREACHABLE_CODE = YES; 423 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 424 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 425 | COPY_PHASE_STRIP = NO; 426 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 427 | ENABLE_STRICT_OBJC_MSGSEND = YES; 428 | ENABLE_TESTABILITY = YES; 429 | GCC_C_LANGUAGE_STANDARD = gnu99; 430 | GCC_DYNAMIC_NO_PIC = NO; 431 | GCC_NO_COMMON_BLOCKS = YES; 432 | GCC_OPTIMIZATION_LEVEL = 0; 433 | GCC_PREPROCESSOR_DEFINITIONS = ( 434 | "DEBUG=1", 435 | "$(inherited)", 436 | ); 437 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 438 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 439 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 440 | GCC_WARN_UNDECLARED_SELECTOR = YES; 441 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 442 | GCC_WARN_UNUSED_FUNCTION = YES; 443 | GCC_WARN_UNUSED_VARIABLE = YES; 444 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 445 | MTL_ENABLE_DEBUG_INFO = YES; 446 | ONLY_ACTIVE_ARCH = YES; 447 | SDKROOT = iphoneos; 448 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 449 | }; 450 | name = Debug; 451 | }; 452 | 607FACEE1AFB9204008FA782 /* Release */ = { 453 | isa = XCBuildConfiguration; 454 | buildSettings = { 455 | ALWAYS_SEARCH_USER_PATHS = NO; 456 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 457 | CLANG_CXX_LIBRARY = "libc++"; 458 | CLANG_ENABLE_MODULES = YES; 459 | CLANG_ENABLE_OBJC_ARC = YES; 460 | CLANG_WARN_BOOL_CONVERSION = YES; 461 | CLANG_WARN_CONSTANT_CONVERSION = YES; 462 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 463 | CLANG_WARN_EMPTY_BODY = YES; 464 | CLANG_WARN_ENUM_CONVERSION = YES; 465 | CLANG_WARN_INT_CONVERSION = YES; 466 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 467 | CLANG_WARN_UNREACHABLE_CODE = YES; 468 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 469 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 470 | COPY_PHASE_STRIP = NO; 471 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 472 | ENABLE_NS_ASSERTIONS = NO; 473 | ENABLE_STRICT_OBJC_MSGSEND = YES; 474 | GCC_C_LANGUAGE_STANDARD = gnu99; 475 | GCC_NO_COMMON_BLOCKS = YES; 476 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 477 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 478 | GCC_WARN_UNDECLARED_SELECTOR = YES; 479 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 480 | GCC_WARN_UNUSED_FUNCTION = YES; 481 | GCC_WARN_UNUSED_VARIABLE = YES; 482 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 483 | MTL_ENABLE_DEBUG_INFO = NO; 484 | SDKROOT = iphoneos; 485 | VALIDATE_PRODUCT = YES; 486 | }; 487 | name = Release; 488 | }; 489 | 607FACF01AFB9204008FA782 /* Debug */ = { 490 | isa = XCBuildConfiguration; 491 | baseConfigurationReference = 144CCD0EE9F168A05EC66788 /* Pods-WOWCheckbox_Example.debug.xcconfig */; 492 | buildSettings = { 493 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 494 | INFOPLIST_FILE = WOWCheckbox/Info.plist; 495 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 496 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 497 | MODULE_NAME = ExampleApp; 498 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 499 | PRODUCT_NAME = "$(TARGET_NAME)"; 500 | SWIFT_VERSION = 3.0; 501 | }; 502 | name = Debug; 503 | }; 504 | 607FACF11AFB9204008FA782 /* Release */ = { 505 | isa = XCBuildConfiguration; 506 | baseConfigurationReference = 42B4298FE358679A49DD1455 /* Pods-WOWCheckbox_Example.release.xcconfig */; 507 | buildSettings = { 508 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 509 | INFOPLIST_FILE = WOWCheckbox/Info.plist; 510 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 511 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 512 | MODULE_NAME = ExampleApp; 513 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 514 | PRODUCT_NAME = "$(TARGET_NAME)"; 515 | SWIFT_VERSION = 3.0; 516 | }; 517 | name = Release; 518 | }; 519 | 607FACF31AFB9204008FA782 /* Debug */ = { 520 | isa = XCBuildConfiguration; 521 | baseConfigurationReference = DD721D6228E60FE754413ECC /* Pods-WOWCheckbox_Tests.debug.xcconfig */; 522 | buildSettings = { 523 | FRAMEWORK_SEARCH_PATHS = ( 524 | "$(SDKROOT)/Developer/Library/Frameworks", 525 | "$(inherited)", 526 | ); 527 | GCC_PREPROCESSOR_DEFINITIONS = ( 528 | "DEBUG=1", 529 | "$(inherited)", 530 | ); 531 | INFOPLIST_FILE = Tests/Info.plist; 532 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 533 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 534 | PRODUCT_NAME = "$(TARGET_NAME)"; 535 | SWIFT_VERSION = 3.0; 536 | }; 537 | name = Debug; 538 | }; 539 | 607FACF41AFB9204008FA782 /* Release */ = { 540 | isa = XCBuildConfiguration; 541 | baseConfigurationReference = A07CC0B66A88BB3C3EFDD32A /* Pods-WOWCheckbox_Tests.release.xcconfig */; 542 | buildSettings = { 543 | FRAMEWORK_SEARCH_PATHS = ( 544 | "$(SDKROOT)/Developer/Library/Frameworks", 545 | "$(inherited)", 546 | ); 547 | INFOPLIST_FILE = Tests/Info.plist; 548 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 549 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 550 | PRODUCT_NAME = "$(TARGET_NAME)"; 551 | SWIFT_VERSION = 3.0; 552 | }; 553 | name = Release; 554 | }; 555 | /* End XCBuildConfiguration section */ 556 | 557 | /* Begin XCConfigurationList section */ 558 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "WOWCheckbox" */ = { 559 | isa = XCConfigurationList; 560 | buildConfigurations = ( 561 | 607FACED1AFB9204008FA782 /* Debug */, 562 | 607FACEE1AFB9204008FA782 /* Release */, 563 | ); 564 | defaultConfigurationIsVisible = 0; 565 | defaultConfigurationName = Release; 566 | }; 567 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "WOWCheckbox_Example" */ = { 568 | isa = XCConfigurationList; 569 | buildConfigurations = ( 570 | 607FACF01AFB9204008FA782 /* Debug */, 571 | 607FACF11AFB9204008FA782 /* Release */, 572 | ); 573 | defaultConfigurationIsVisible = 0; 574 | defaultConfigurationName = Release; 575 | }; 576 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "WOWCheckbox_Tests" */ = { 577 | isa = XCConfigurationList; 578 | buildConfigurations = ( 579 | 607FACF31AFB9204008FA782 /* Debug */, 580 | 607FACF41AFB9204008FA782 /* Release */, 581 | ); 582 | defaultConfigurationIsVisible = 0; 583 | defaultConfigurationName = Release; 584 | }; 585 | /* End XCConfigurationList section */ 586 | }; 587 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 588 | } 589 | -------------------------------------------------------------------------------- /Example/WOWCheckbox.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/WOWCheckbox.xcodeproj/xcshareddata/xcschemes/WOWCheckbox-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /Example/WOWCheckbox.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/WOWCheckbox/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // WOWCheckbox 4 | // 5 | // Created by Zhou Hao on 12/06/2016. 6 | // Copyright (c) 2016 Zhou Hao. 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/WOWCheckbox/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/WOWCheckbox/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 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /Example/WOWCheckbox/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Example/WOWCheckbox/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 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/WOWCheckbox/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // WOWCheckbox 4 | // 5 | // Created by Zhou Hao on 12/06/2016. 6 | // Copyright (c) 2016 Zhou Hao. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import WOWCheckbox 11 | 12 | class ViewController: UIViewController { 13 | 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | // Do any additional setup after loading the view, typically from a nib. 17 | } 18 | 19 | override func didReceiveMemoryWarning() { 20 | super.didReceiveMemoryWarning() 21 | // Dispose of any resources that can be recreated. 22 | } 23 | 24 | } 25 | 26 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016 Zhou Hao 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 | # WOWCheckbox 2 | 3 | [![CI Status](http://img.shields.io/travis/Zhou Hao/WOWCheckbox.svg?style=flat)](https://travis-ci.org/Zhou Hao/WOWCheckbox) 4 | [![Version](https://img.shields.io/cocoapods/v/WOWCheckbox.svg?style=flat)](http://cocoapods.org/pods/WOWCheckbox) 5 | [![License](https://img.shields.io/cocoapods/l/WOWCheckbox.svg?style=flat)](http://cocoapods.org/pods/WOWCheckbox) 6 | [![Platform](https://img.shields.io/cocoapods/p/WOWCheckbox.svg?style=flat)](http://cocoapods.org/pods/WOWCheckbox) 7 | 8 | Highly customisable checkbox in Swift. Drag to Storyboard and set the properties. 9 | 10 | 11 | 12 | ## Example 13 | 14 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 15 | 16 | ## Requirements 17 | 18 | ## Installation 19 | 20 | WOWCheckbox is available through [CocoaPods](http://cocoapods.org). To install 21 | it, simply add the following line to your Podfile: 22 | 23 | ```ruby 24 | pod "WOWCheckbox" 25 | ``` 26 | 27 | ## Author 28 | 29 | Zhou Hao, zhou.hao.27@gmail.com 30 | 31 | ## License 32 | 33 | WOWCheckbox is available under the MIT license. See the LICENSE file for more info. 34 | -------------------------------------------------------------------------------- /WOWCheckbox.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'WOWCheckbox' 3 | s.version = '1.2.2' 4 | s.summary = 'Highly customisable checkbox in Swift.' 5 | 6 | s.description = <<-DESC 7 | A highly customisable checkbox in Swift. Swift 4.0 compatible. 8 | DESC 9 | 10 | s.homepage = 'https://github.com/zhouhao27/WOWCheckbox' 11 | s.license = { :type => 'MIT', :file => 'LICENSE' } 12 | s.author = { 'Zhou Hao' => 'zhou.hao.27@gmail.com' } 13 | s.source = { :git => 'https://github.com/zhouhao27/WOWCheckbox.git', :tag => s.version.to_s } 14 | 15 | s.ios.deployment_target = '8.0' 16 | s.swift_version = '4.1' 17 | 18 | s.source_files = 'WOWCheckbox/Classes/**/*' 19 | end 20 | -------------------------------------------------------------------------------- /WOWCheckbox/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhouhao27/WOWCheckbox/17cfa67aa17bfd71b10832d00e302f376deaaa53/WOWCheckbox/Assets/.gitkeep -------------------------------------------------------------------------------- /WOWCheckbox/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhouhao27/WOWCheckbox/17cfa67aa17bfd71b10832d00e302f376deaaa53/WOWCheckbox/Classes/.gitkeep -------------------------------------------------------------------------------- /WOWCheckbox/Classes/WOWCheckbox.swift: -------------------------------------------------------------------------------- 1 | // 2 | // WOWCheckbox.swift 3 | // Checkbox 4 | // 5 | // Created by Zhou Hao on 11/8/15. 6 | // Copyright (c) 2015 WOWtv. All rights reserved. 7 | // 8 | // 9 | 10 | import UIKit 11 | 12 | @objc public protocol WOWCheckboxDelegate { 13 | func didSelectCheckbox(_ checkbox : WOWCheckbox) 14 | } 15 | 16 | @IBDesignable 17 | open class WOWCheckbox : UIControl { 18 | 19 | // MARK: inspectable properties 20 | @IBInspectable 21 | open var isChecked : Bool = false { 22 | didSet { 23 | setNeedsDisplay() 24 | } 25 | } 26 | @IBInspectable 27 | open var lineWidth : CGFloat = 2 { 28 | didSet { 29 | setNeedsDisplay() 30 | } 31 | } 32 | 33 | @IBInspectable 34 | open var borderColor : UIColor = UIColor.black { 35 | didSet { 36 | setNeedsDisplay() 37 | } 38 | } 39 | @IBInspectable 40 | open var boxBackgroundColor : UIColor = UIColor.clear { 41 | didSet { 42 | setNeedsDisplay() 43 | } 44 | } 45 | @IBInspectable 46 | open var tickColor : UIColor = UIColor.black { 47 | didSet { 48 | setNeedsDisplay() 49 | } 50 | } 51 | 52 | // TODO: doesn't work for protocol, if it's possible in the future? 53 | @IBInspectable 54 | open var delegate: WOWCheckboxDelegate? = nil { 55 | didSet { 56 | 57 | } 58 | } 59 | 60 | // MARK: view life circle 61 | required public init?(coder aDecoder: NSCoder) { 62 | super.init(coder: aDecoder); 63 | 64 | setup() 65 | } 66 | 67 | override public init(frame: CGRect) { 68 | super.init(frame: frame); 69 | 70 | setup() 71 | } 72 | 73 | // MARK: local functions 74 | func setup() { 75 | 76 | self.addTarget(self, action: #selector(WOWCheckbox.onTouchUpInside(_:)), for: .touchUpInside); 77 | } 78 | 79 | @objc func onTouchUpInside(_ sender: UIButton) { 80 | isChecked = !isChecked 81 | delegate?.didSelectCheckbox(self) 82 | } 83 | 84 | // MARK: drawing 85 | open override func draw(_ frame: CGRect) { 86 | 87 | //// Rectangle Drawing 88 | let rectanglePath = UIBezierPath(roundedRect: CGRect(x: frame.minX + 10, y: frame.minY + 10, width: frame.width - 20, height: frame.height - 20), cornerRadius: 3) 89 | boxBackgroundColor.setFill() 90 | rectanglePath.fill() 91 | borderColor.setStroke() 92 | rectanglePath.lineWidth = lineWidth 93 | rectanglePath.stroke() 94 | 95 | if isChecked { 96 | 97 | let frame2 = CGRect(x: frame.minX + floor(frame.width * 0.34091 + 0.5), y: frame.minY + floor(frame.height * 0.34091 + 0.5), width: floor(frame.width * 0.65909 + 0.5) - floor(frame.width * 0.34091 + 0.5), height: floor(frame.height * 0.65909 + 0.5) - floor(frame.height * 0.34091 + 0.5)) 98 | 99 | let tickPath = UIBezierPath() 100 | tickPath.move(to: CGPoint(x: frame2.minX + 0.03571 * frame2.width, y: frame2.minY + 0.47468 * frame2.height)) 101 | tickPath.addCurve(to: CGPoint(x: frame2.minX + 0.42262 * frame2.width, y: frame2.minY + 0.96429 * frame2.height), controlPoint1: CGPoint(x: frame2.minX + 0.34205 * frame2.width, y: frame2.minY + 0.91364 * frame2.height), controlPoint2: CGPoint(x: frame2.minX + 0.42262 * frame2.width, y: frame2.minY + 0.96429 * frame2.height)) 102 | tickPath.addLine(to: CGPoint(x: frame2.minX + 0.96429 * frame2.width, y: frame2.minY + 0.03571 * frame2.height)) 103 | tickPath.lineCapStyle = .round 104 | tickPath.lineJoinStyle = .round 105 | 106 | tickColor.setStroke() 107 | tickPath.lineWidth = lineWidth 108 | tickPath.stroke() 109 | 110 | } 111 | } 112 | 113 | } 114 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /demo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhouhao27/WOWCheckbox/17cfa67aa17bfd71b10832d00e302f376deaaa53/demo.jpg --------------------------------------------------------------------------------