├── .gitignore ├── .travis.yml ├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── TimedPageControlView.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── Pods-TimedPageControlView_Example │ │ ├── Info.plist │ │ ├── Pods-TimedPageControlView_Example-acknowledgements.markdown │ │ ├── Pods-TimedPageControlView_Example-acknowledgements.plist │ │ ├── Pods-TimedPageControlView_Example-dummy.m │ │ ├── Pods-TimedPageControlView_Example-frameworks.sh │ │ ├── Pods-TimedPageControlView_Example-resources.sh │ │ ├── Pods-TimedPageControlView_Example-umbrella.h │ │ ├── Pods-TimedPageControlView_Example.debug.xcconfig │ │ ├── Pods-TimedPageControlView_Example.modulemap │ │ └── Pods-TimedPageControlView_Example.release.xcconfig │ │ ├── Pods-TimedPageControlView_Tests │ │ ├── Info.plist │ │ ├── Pods-TimedPageControlView_Tests-acknowledgements.markdown │ │ ├── Pods-TimedPageControlView_Tests-acknowledgements.plist │ │ ├── Pods-TimedPageControlView_Tests-dummy.m │ │ ├── Pods-TimedPageControlView_Tests-frameworks.sh │ │ ├── Pods-TimedPageControlView_Tests-resources.sh │ │ ├── Pods-TimedPageControlView_Tests-umbrella.h │ │ ├── Pods-TimedPageControlView_Tests.debug.xcconfig │ │ ├── Pods-TimedPageControlView_Tests.modulemap │ │ └── Pods-TimedPageControlView_Tests.release.xcconfig │ │ └── TimedPageControlView │ │ ├── Info.plist │ │ ├── TimedPageControlView-dummy.m │ │ ├── TimedPageControlView-prefix.pch │ │ ├── TimedPageControlView-umbrella.h │ │ ├── TimedPageControlView.modulemap │ │ └── TimedPageControlView.xcconfig ├── Tests │ ├── Info.plist │ └── Tests.swift ├── TimedPageControlView.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── TimedPageControlView-Example.xcscheme ├── TimedPageControlView.xcworkspace │ └── contents.xcworkspacedata └── TimedPageControlView │ ├── AppDelegate.swift │ ├── Base.lproj │ └── LaunchScreen.xib │ ├── Cell.swift │ ├── Images.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Info.plist │ └── ViewController.swift ├── LICENSE ├── README.md ├── TimedPageControlView.podspec ├── TimedPageControlView ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ └── TimedPageControlView.swift ├── _Pods.xcodeproj └── demo.gif /.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/TimedPageControlView.xcworkspace -scheme TimedPageControlView-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'TimedPageControlView_Example' do 4 | pod 'TimedPageControlView', :path => '../' 5 | 6 | target 'TimedPageControlView_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - TimedPageControlView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - TimedPageControlView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | TimedPageControlView: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | TimedPageControlView: b1df65e7d8d8df8171c0ce40955d400e92dbd0a7 13 | 14 | PODFILE CHECKSUM: 9096dabaae6cf129fa4a7792f5460dbc0b633380 15 | 16 | COCOAPODS: 1.1.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/TimedPageControlView.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "TimedPageControlView", 3 | "version": "0.1.0", 4 | "summary": "A short description of TimedPageControlView.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com//TimedPageControlView", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "Dana Majid": "hi@danamajid.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com//TimedPageControlView.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "TimedPageControlView/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - TimedPageControlView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - TimedPageControlView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | TimedPageControlView: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | TimedPageControlView: b1df65e7d8d8df8171c0ce40955d400e92dbd0a7 13 | 14 | PODFILE CHECKSUM: 9096dabaae6cf129fa4a7792f5460dbc0b633380 15 | 16 | COCOAPODS: 1.1.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 | 2AFC8124D0BF53FD9D10FFEDD4B1C6C1 /* Pods-TimedPageControlView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5C8C33EDE484C6D96E984E32F74A2862 /* Pods-TimedPageControlView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 42D83D61D2E79FF49DD8D704389ABABE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 12 | 54912A325489F612B251C39A6A9585A6 /* TimedPageControlView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 2401AB020201045A57D2474CBF15FEBA /* TimedPageControlView-dummy.m */; }; 13 | 7E16B1C572013F2D1D53C17FFD5BA73F /* Pods-TimedPageControlView_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F14CDF8C0FBFA038011AA5C1E9F22020 /* Pods-TimedPageControlView_Tests-dummy.m */; }; 14 | 8926D63C48FB597F4437CE4344255098 /* TimedPageControlView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = FB06A1D85AFFD5C24013FAB6A1537644 /* TimedPageControlView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | 9DF671A8F5826F86618D84A60ADA0FEF /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 16 | B2A147D5819D16041EAA87285C277FB4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 17 | BA0047BC516307D99DB7B6ABAA83D251 /* Pods-TimedPageControlView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 891F4A91C8866A42A75D51952FE47327 /* Pods-TimedPageControlView_Example-dummy.m */; }; 18 | CD0CD8C85742F16EED7F8794B34E0BAA /* TimedPageControlView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8FC4A70DDA628481CAE47F5BA802083 /* TimedPageControlView.swift */; }; 19 | FF40E6913DB0FDB4BE2656E9446C1024 /* Pods-TimedPageControlView_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 4144FB85C6E857AB12904162A56F1643 /* Pods-TimedPageControlView_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | 8542E57566F8D40A6AC30B5F062DD5A3 /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = 420B48214823273491B44112D4353E14; 28 | remoteInfo = TimedPageControlView; 29 | }; 30 | /* End PBXContainerItemProxy section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 0D6207EED56FF18BCFF6AE98E124E719 /* TimedPageControlView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = TimedPageControlView.modulemap; sourceTree = ""; }; 34 | 1289A0F41B5B5DDA91C927BF5586E424 /* Pods-TimedPageControlView_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-TimedPageControlView_Tests-acknowledgements.plist"; sourceTree = ""; }; 35 | 1BEA79A561D1BCBFBDFB54CB2827B857 /* Pods-TimedPageControlView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-TimedPageControlView_Tests.release.xcconfig"; sourceTree = ""; }; 36 | 2401AB020201045A57D2474CBF15FEBA /* TimedPageControlView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "TimedPageControlView-dummy.m"; sourceTree = ""; }; 37 | 348893B96D0B15C0BC335957A5C7F96A /* TimedPageControlView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = TimedPageControlView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 38 | 4144FB85C6E857AB12904162A56F1643 /* Pods-TimedPageControlView_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-TimedPageControlView_Tests-umbrella.h"; sourceTree = ""; }; 39 | 4590A0E0A370E11F842C59CC59DAD4B6 /* Pods-TimedPageControlView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-TimedPageControlView_Example-acknowledgements.plist"; sourceTree = ""; }; 40 | 471F81EF1520D33A9A1865CC93278F97 /* Pods-TimedPageControlView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-TimedPageControlView_Tests.debug.xcconfig"; sourceTree = ""; }; 41 | 47CCDABFABC6D18964A936CDE254525A /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 42 | 55FFDF75EC9D6D2158A476AF8FD4E0CA /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 43 | 5C8C33EDE484C6D96E984E32F74A2862 /* Pods-TimedPageControlView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-TimedPageControlView_Example-umbrella.h"; sourceTree = ""; }; 44 | 6B721342EDD1238A870255F2AD20C24E /* TimedPageControlView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = TimedPageControlView.xcconfig; sourceTree = ""; }; 45 | 6C0C19DDB8D3E3043319E56259458C96 /* Pods-TimedPageControlView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-TimedPageControlView_Example.debug.xcconfig"; sourceTree = ""; }; 46 | 75A9BCCB8542641574CD9FE25D160FC0 /* Pods_TimedPageControlView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TimedPageControlView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | 891F4A91C8866A42A75D51952FE47327 /* Pods-TimedPageControlView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-TimedPageControlView_Example-dummy.m"; sourceTree = ""; }; 48 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 49 | A121806E64C72EEE2694EDAE393DAFF4 /* Pods-TimedPageControlView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-TimedPageControlView_Example-acknowledgements.markdown"; sourceTree = ""; }; 50 | A8F773442BC18E0B47D34F5BB3DF967F /* TimedPageControlView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "TimedPageControlView-prefix.pch"; sourceTree = ""; }; 51 | A96EFE35BFA6CCE9ACE0E5627F437CE4 /* Pods-TimedPageControlView_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-TimedPageControlView_Tests-acknowledgements.markdown"; sourceTree = ""; }; 52 | AFBA592E73AFEB312A624654ABA7ED5C /* Pods-TimedPageControlView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-TimedPageControlView_Example-frameworks.sh"; sourceTree = ""; }; 53 | BE531AF7F45824508116211484B776AD /* Pods-TimedPageControlView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-TimedPageControlView_Example.release.xcconfig"; sourceTree = ""; }; 54 | C39AB1849E108632367B0F61E244BA79 /* Pods-TimedPageControlView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-TimedPageControlView_Example.modulemap"; sourceTree = ""; }; 55 | C66035958069384E7DC4AEF1F5D14389 /* Pods-TimedPageControlView_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-TimedPageControlView_Tests-resources.sh"; sourceTree = ""; }; 56 | 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; }; 57 | D00131E065E7987986ED0EE104240B8E /* Pods-TimedPageControlView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-TimedPageControlView_Example-resources.sh"; sourceTree = ""; }; 58 | D7BC2C440B29E6393423C5BCA99329AA /* Pods-TimedPageControlView_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-TimedPageControlView_Tests-frameworks.sh"; sourceTree = ""; }; 59 | D8FC4A70DDA628481CAE47F5BA802083 /* TimedPageControlView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = TimedPageControlView.swift; sourceTree = ""; }; 60 | E43D4717E09A5AD28692585415D57713 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 61 | F14CDF8C0FBFA038011AA5C1E9F22020 /* Pods-TimedPageControlView_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-TimedPageControlView_Tests-dummy.m"; sourceTree = ""; }; 62 | F93754D58813E7FBBDCD0803D16E99A7 /* Pods_TimedPageControlView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TimedPageControlView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 63 | FB06A1D85AFFD5C24013FAB6A1537644 /* TimedPageControlView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "TimedPageControlView-umbrella.h"; sourceTree = ""; }; 64 | FF9956961990176F8E5AD66E3707C732 /* Pods-TimedPageControlView_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-TimedPageControlView_Tests.modulemap"; sourceTree = ""; }; 65 | /* End PBXFileReference section */ 66 | 67 | /* Begin PBXFrameworksBuildPhase section */ 68 | 4C1C063B34A236ECED195CE9710341E3 /* Frameworks */ = { 69 | isa = PBXFrameworksBuildPhase; 70 | buildActionMask = 2147483647; 71 | files = ( 72 | 42D83D61D2E79FF49DD8D704389ABABE /* Foundation.framework in Frameworks */, 73 | ); 74 | runOnlyForDeploymentPostprocessing = 0; 75 | }; 76 | BC42124DE8CF022A76B41BEFBE4B45ED /* Frameworks */ = { 77 | isa = PBXFrameworksBuildPhase; 78 | buildActionMask = 2147483647; 79 | files = ( 80 | 9DF671A8F5826F86618D84A60ADA0FEF /* Foundation.framework in Frameworks */, 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | F7B6776B7566550CED908EB57F1653B0 /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | B2A147D5819D16041EAA87285C277FB4 /* Foundation.framework in Frameworks */, 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | /* End PBXFrameworksBuildPhase section */ 93 | 94 | /* Begin PBXGroup section */ 95 | 04A15FAB95838102845298FF45AE1AFE /* Pods-TimedPageControlView_Tests */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | E43D4717E09A5AD28692585415D57713 /* Info.plist */, 99 | FF9956961990176F8E5AD66E3707C732 /* Pods-TimedPageControlView_Tests.modulemap */, 100 | A96EFE35BFA6CCE9ACE0E5627F437CE4 /* Pods-TimedPageControlView_Tests-acknowledgements.markdown */, 101 | 1289A0F41B5B5DDA91C927BF5586E424 /* Pods-TimedPageControlView_Tests-acknowledgements.plist */, 102 | F14CDF8C0FBFA038011AA5C1E9F22020 /* Pods-TimedPageControlView_Tests-dummy.m */, 103 | D7BC2C440B29E6393423C5BCA99329AA /* Pods-TimedPageControlView_Tests-frameworks.sh */, 104 | C66035958069384E7DC4AEF1F5D14389 /* Pods-TimedPageControlView_Tests-resources.sh */, 105 | 4144FB85C6E857AB12904162A56F1643 /* Pods-TimedPageControlView_Tests-umbrella.h */, 106 | 471F81EF1520D33A9A1865CC93278F97 /* Pods-TimedPageControlView_Tests.debug.xcconfig */, 107 | 1BEA79A561D1BCBFBDFB54CB2827B857 /* Pods-TimedPageControlView_Tests.release.xcconfig */, 108 | ); 109 | name = "Pods-TimedPageControlView_Tests"; 110 | path = "Target Support Files/Pods-TimedPageControlView_Tests"; 111 | sourceTree = ""; 112 | }; 113 | 04C2B5D66C9DA8B450B3C82B21E85456 /* Development Pods */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | B6C596583CADFE9F45A12A4425E74411 /* TimedPageControlView */, 117 | ); 118 | name = "Development Pods"; 119 | sourceTree = ""; 120 | }; 121 | 369EC24422C9A5B4C65870A0FC4B5229 /* Support Files */ = { 122 | isa = PBXGroup; 123 | children = ( 124 | 47CCDABFABC6D18964A936CDE254525A /* Info.plist */, 125 | 0D6207EED56FF18BCFF6AE98E124E719 /* TimedPageControlView.modulemap */, 126 | 6B721342EDD1238A870255F2AD20C24E /* TimedPageControlView.xcconfig */, 127 | 2401AB020201045A57D2474CBF15FEBA /* TimedPageControlView-dummy.m */, 128 | A8F773442BC18E0B47D34F5BB3DF967F /* TimedPageControlView-prefix.pch */, 129 | FB06A1D85AFFD5C24013FAB6A1537644 /* TimedPageControlView-umbrella.h */, 130 | ); 131 | name = "Support Files"; 132 | path = "Example/Pods/Target Support Files/TimedPageControlView"; 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 | 04C2B5D66C9DA8B450B3C82B21E85456 /* Development Pods */, 148 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 149 | 8E80BC9B5A467B21A4E830CA42EF860B /* Products */, 150 | EAFA82946BDB736CF8E405B4AB5AEB2E /* Targets Support Files */, 151 | ); 152 | sourceTree = ""; 153 | }; 154 | 8E80BC9B5A467B21A4E830CA42EF860B /* Products */ = { 155 | isa = PBXGroup; 156 | children = ( 157 | F93754D58813E7FBBDCD0803D16E99A7 /* Pods_TimedPageControlView_Example.framework */, 158 | 75A9BCCB8542641574CD9FE25D160FC0 /* Pods_TimedPageControlView_Tests.framework */, 159 | 348893B96D0B15C0BC335957A5C7F96A /* TimedPageControlView.framework */, 160 | ); 161 | name = Products; 162 | sourceTree = ""; 163 | }; 164 | 9A2F93BB001C3AC14664A1A3F1A0949A /* Classes */ = { 165 | isa = PBXGroup; 166 | children = ( 167 | D8FC4A70DDA628481CAE47F5BA802083 /* TimedPageControlView.swift */, 168 | ); 169 | path = Classes; 170 | sourceTree = ""; 171 | }; 172 | A4F392860B5B5220D7CB169CFA4B87F0 /* Pods-TimedPageControlView_Example */ = { 173 | isa = PBXGroup; 174 | children = ( 175 | 55FFDF75EC9D6D2158A476AF8FD4E0CA /* Info.plist */, 176 | C39AB1849E108632367B0F61E244BA79 /* Pods-TimedPageControlView_Example.modulemap */, 177 | A121806E64C72EEE2694EDAE393DAFF4 /* Pods-TimedPageControlView_Example-acknowledgements.markdown */, 178 | 4590A0E0A370E11F842C59CC59DAD4B6 /* Pods-TimedPageControlView_Example-acknowledgements.plist */, 179 | 891F4A91C8866A42A75D51952FE47327 /* Pods-TimedPageControlView_Example-dummy.m */, 180 | AFBA592E73AFEB312A624654ABA7ED5C /* Pods-TimedPageControlView_Example-frameworks.sh */, 181 | D00131E065E7987986ED0EE104240B8E /* Pods-TimedPageControlView_Example-resources.sh */, 182 | 5C8C33EDE484C6D96E984E32F74A2862 /* Pods-TimedPageControlView_Example-umbrella.h */, 183 | 6C0C19DDB8D3E3043319E56259458C96 /* Pods-TimedPageControlView_Example.debug.xcconfig */, 184 | BE531AF7F45824508116211484B776AD /* Pods-TimedPageControlView_Example.release.xcconfig */, 185 | ); 186 | name = "Pods-TimedPageControlView_Example"; 187 | path = "Target Support Files/Pods-TimedPageControlView_Example"; 188 | sourceTree = ""; 189 | }; 190 | B6C596583CADFE9F45A12A4425E74411 /* TimedPageControlView */ = { 191 | isa = PBXGroup; 192 | children = ( 193 | 369EC24422C9A5B4C65870A0FC4B5229 /* Support Files */, 194 | FFE9A1FD8BD02C22A76567DE6074B67D /* TimedPageControlView */, 195 | ); 196 | name = TimedPageControlView; 197 | path = ../..; 198 | sourceTree = ""; 199 | }; 200 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 201 | isa = PBXGroup; 202 | children = ( 203 | 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */, 204 | ); 205 | name = Frameworks; 206 | sourceTree = ""; 207 | }; 208 | EAFA82946BDB736CF8E405B4AB5AEB2E /* Targets Support Files */ = { 209 | isa = PBXGroup; 210 | children = ( 211 | A4F392860B5B5220D7CB169CFA4B87F0 /* Pods-TimedPageControlView_Example */, 212 | 04A15FAB95838102845298FF45AE1AFE /* Pods-TimedPageControlView_Tests */, 213 | ); 214 | name = "Targets Support Files"; 215 | sourceTree = ""; 216 | }; 217 | FFE9A1FD8BD02C22A76567DE6074B67D /* TimedPageControlView */ = { 218 | isa = PBXGroup; 219 | children = ( 220 | 9A2F93BB001C3AC14664A1A3F1A0949A /* Classes */, 221 | ); 222 | path = TimedPageControlView; 223 | sourceTree = ""; 224 | }; 225 | /* End PBXGroup section */ 226 | 227 | /* Begin PBXHeadersBuildPhase section */ 228 | 04F1963F93F2DF370FD3025168A97131 /* Headers */ = { 229 | isa = PBXHeadersBuildPhase; 230 | buildActionMask = 2147483647; 231 | files = ( 232 | 8926D63C48FB597F4437CE4344255098 /* TimedPageControlView-umbrella.h in Headers */, 233 | ); 234 | runOnlyForDeploymentPostprocessing = 0; 235 | }; 236 | 2C82D3A640418F71DF6CCFD1A3E4A329 /* Headers */ = { 237 | isa = PBXHeadersBuildPhase; 238 | buildActionMask = 2147483647; 239 | files = ( 240 | FF40E6913DB0FDB4BE2656E9446C1024 /* Pods-TimedPageControlView_Tests-umbrella.h in Headers */, 241 | ); 242 | runOnlyForDeploymentPostprocessing = 0; 243 | }; 244 | 8D6BD1AFC9276C35715D350245C83486 /* Headers */ = { 245 | isa = PBXHeadersBuildPhase; 246 | buildActionMask = 2147483647; 247 | files = ( 248 | 2AFC8124D0BF53FD9D10FFEDD4B1C6C1 /* Pods-TimedPageControlView_Example-umbrella.h in Headers */, 249 | ); 250 | runOnlyForDeploymentPostprocessing = 0; 251 | }; 252 | /* End PBXHeadersBuildPhase section */ 253 | 254 | /* Begin PBXNativeTarget section */ 255 | 211DE20723BD8081E7E26494E3252025 /* Pods-TimedPageControlView_Tests */ = { 256 | isa = PBXNativeTarget; 257 | buildConfigurationList = 23451BC66941C434B7A3A5C1B63643A8 /* Build configuration list for PBXNativeTarget "Pods-TimedPageControlView_Tests" */; 258 | buildPhases = ( 259 | C4709E3CD3EF239A388E0598DFA3C4DA /* Sources */, 260 | F7B6776B7566550CED908EB57F1653B0 /* Frameworks */, 261 | 2C82D3A640418F71DF6CCFD1A3E4A329 /* Headers */, 262 | ); 263 | buildRules = ( 264 | ); 265 | dependencies = ( 266 | ); 267 | name = "Pods-TimedPageControlView_Tests"; 268 | productName = "Pods-TimedPageControlView_Tests"; 269 | productReference = 75A9BCCB8542641574CD9FE25D160FC0 /* Pods_TimedPageControlView_Tests.framework */; 270 | productType = "com.apple.product-type.framework"; 271 | }; 272 | 420B48214823273491B44112D4353E14 /* TimedPageControlView */ = { 273 | isa = PBXNativeTarget; 274 | buildConfigurationList = 53C2F2998B3EDB7704C4606E53888C9E /* Build configuration list for PBXNativeTarget "TimedPageControlView" */; 275 | buildPhases = ( 276 | ADF2FF652664C4F363E56B6452853FB0 /* Sources */, 277 | BC42124DE8CF022A76B41BEFBE4B45ED /* Frameworks */, 278 | 04F1963F93F2DF370FD3025168A97131 /* Headers */, 279 | ); 280 | buildRules = ( 281 | ); 282 | dependencies = ( 283 | ); 284 | name = TimedPageControlView; 285 | productName = TimedPageControlView; 286 | productReference = 348893B96D0B15C0BC335957A5C7F96A /* TimedPageControlView.framework */; 287 | productType = "com.apple.product-type.framework"; 288 | }; 289 | ACA4DDE8C8CCA4B546DC1437FF187F97 /* Pods-TimedPageControlView_Example */ = { 290 | isa = PBXNativeTarget; 291 | buildConfigurationList = 1B0C8373E071B5F9263EC9FF1DC07799 /* Build configuration list for PBXNativeTarget "Pods-TimedPageControlView_Example" */; 292 | buildPhases = ( 293 | FCCEFC377DE75729C9C7A69B71661C84 /* Sources */, 294 | 4C1C063B34A236ECED195CE9710341E3 /* Frameworks */, 295 | 8D6BD1AFC9276C35715D350245C83486 /* Headers */, 296 | ); 297 | buildRules = ( 298 | ); 299 | dependencies = ( 300 | 91D66407BD31EC5B1977B3D732A5F0AA /* PBXTargetDependency */, 301 | ); 302 | name = "Pods-TimedPageControlView_Example"; 303 | productName = "Pods-TimedPageControlView_Example"; 304 | productReference = F93754D58813E7FBBDCD0803D16E99A7 /* Pods_TimedPageControlView_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 = 0820; 315 | TargetAttributes = { 316 | 420B48214823273491B44112D4353E14 = { 317 | LastSwiftMigration = 0820; 318 | }; 319 | ACA4DDE8C8CCA4B546DC1437FF187F97 = { 320 | LastSwiftMigration = 0820; 321 | }; 322 | }; 323 | }; 324 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 325 | compatibilityVersion = "Xcode 3.2"; 326 | developmentRegion = English; 327 | hasScannedForEncodings = 0; 328 | knownRegions = ( 329 | en, 330 | ); 331 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 332 | productRefGroup = 8E80BC9B5A467B21A4E830CA42EF860B /* Products */; 333 | projectDirPath = ""; 334 | projectRoot = ""; 335 | targets = ( 336 | ACA4DDE8C8CCA4B546DC1437FF187F97 /* Pods-TimedPageControlView_Example */, 337 | 211DE20723BD8081E7E26494E3252025 /* Pods-TimedPageControlView_Tests */, 338 | 420B48214823273491B44112D4353E14 /* TimedPageControlView */, 339 | ); 340 | }; 341 | /* End PBXProject section */ 342 | 343 | /* Begin PBXSourcesBuildPhase section */ 344 | ADF2FF652664C4F363E56B6452853FB0 /* Sources */ = { 345 | isa = PBXSourcesBuildPhase; 346 | buildActionMask = 2147483647; 347 | files = ( 348 | CD0CD8C85742F16EED7F8794B34E0BAA /* TimedPageControlView.swift in Sources */, 349 | 54912A325489F612B251C39A6A9585A6 /* TimedPageControlView-dummy.m in Sources */, 350 | ); 351 | runOnlyForDeploymentPostprocessing = 0; 352 | }; 353 | C4709E3CD3EF239A388E0598DFA3C4DA /* Sources */ = { 354 | isa = PBXSourcesBuildPhase; 355 | buildActionMask = 2147483647; 356 | files = ( 357 | 7E16B1C572013F2D1D53C17FFD5BA73F /* Pods-TimedPageControlView_Tests-dummy.m in Sources */, 358 | ); 359 | runOnlyForDeploymentPostprocessing = 0; 360 | }; 361 | FCCEFC377DE75729C9C7A69B71661C84 /* Sources */ = { 362 | isa = PBXSourcesBuildPhase; 363 | buildActionMask = 2147483647; 364 | files = ( 365 | BA0047BC516307D99DB7B6ABAA83D251 /* Pods-TimedPageControlView_Example-dummy.m in Sources */, 366 | ); 367 | runOnlyForDeploymentPostprocessing = 0; 368 | }; 369 | /* End PBXSourcesBuildPhase section */ 370 | 371 | /* Begin PBXTargetDependency section */ 372 | 91D66407BD31EC5B1977B3D732A5F0AA /* PBXTargetDependency */ = { 373 | isa = PBXTargetDependency; 374 | name = TimedPageControlView; 375 | target = 420B48214823273491B44112D4353E14 /* TimedPageControlView */; 376 | targetProxy = 8542E57566F8D40A6AC30B5F062DD5A3 /* PBXContainerItemProxy */; 377 | }; 378 | /* End PBXTargetDependency section */ 379 | 380 | /* Begin XCBuildConfiguration section */ 381 | 1E95903154D619807757E56042AFCDED /* Release */ = { 382 | isa = XCBuildConfiguration; 383 | baseConfigurationReference = 1BEA79A561D1BCBFBDFB54CB2827B857 /* Pods-TimedPageControlView_Tests.release.xcconfig */; 384 | buildSettings = { 385 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 386 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 387 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 388 | CURRENT_PROJECT_VERSION = 1; 389 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 390 | DEFINES_MODULE = YES; 391 | DYLIB_COMPATIBILITY_VERSION = 1; 392 | DYLIB_CURRENT_VERSION = 1; 393 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 394 | ENABLE_STRICT_OBJC_MSGSEND = YES; 395 | GCC_NO_COMMON_BLOCKS = YES; 396 | INFOPLIST_FILE = "Target Support Files/Pods-TimedPageControlView_Tests/Info.plist"; 397 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 398 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 399 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 400 | MACH_O_TYPE = staticlib; 401 | MODULEMAP_FILE = "Target Support Files/Pods-TimedPageControlView_Tests/Pods-TimedPageControlView_Tests.modulemap"; 402 | MTL_ENABLE_DEBUG_INFO = NO; 403 | OTHER_LDFLAGS = ""; 404 | OTHER_LIBTOOLFLAGS = ""; 405 | PODS_ROOT = "$(SRCROOT)"; 406 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 407 | PRODUCT_NAME = Pods_TimedPageControlView_Tests; 408 | SDKROOT = iphoneos; 409 | SKIP_INSTALL = YES; 410 | TARGETED_DEVICE_FAMILY = "1,2"; 411 | VERSIONING_SYSTEM = "apple-generic"; 412 | VERSION_INFO_PREFIX = ""; 413 | }; 414 | name = Release; 415 | }; 416 | 2277BEDFECE464EA0D79EDB3C543CB32 /* Debug */ = { 417 | isa = XCBuildConfiguration; 418 | baseConfigurationReference = 6B721342EDD1238A870255F2AD20C24E /* TimedPageControlView.xcconfig */; 419 | buildSettings = { 420 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 421 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 422 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 423 | CURRENT_PROJECT_VERSION = 1; 424 | DEBUG_INFORMATION_FORMAT = dwarf; 425 | DEFINES_MODULE = YES; 426 | DYLIB_COMPATIBILITY_VERSION = 1; 427 | DYLIB_CURRENT_VERSION = 1; 428 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 429 | ENABLE_STRICT_OBJC_MSGSEND = YES; 430 | GCC_NO_COMMON_BLOCKS = YES; 431 | GCC_PREFIX_HEADER = "Target Support Files/TimedPageControlView/TimedPageControlView-prefix.pch"; 432 | INFOPLIST_FILE = "Target Support Files/TimedPageControlView/Info.plist"; 433 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 434 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 435 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 436 | MODULEMAP_FILE = "Target Support Files/TimedPageControlView/TimedPageControlView.modulemap"; 437 | MTL_ENABLE_DEBUG_INFO = YES; 438 | PRODUCT_NAME = TimedPageControlView; 439 | SDKROOT = iphoneos; 440 | SKIP_INSTALL = YES; 441 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 442 | SWIFT_VERSION = 3.0; 443 | TARGETED_DEVICE_FAMILY = "1,2"; 444 | VERSIONING_SYSTEM = "apple-generic"; 445 | VERSION_INFO_PREFIX = ""; 446 | }; 447 | name = Debug; 448 | }; 449 | 295625F45D9B8E0DE6E0BD12C65375AF /* Debug */ = { 450 | isa = XCBuildConfiguration; 451 | baseConfigurationReference = 471F81EF1520D33A9A1865CC93278F97 /* Pods-TimedPageControlView_Tests.debug.xcconfig */; 452 | buildSettings = { 453 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 454 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 455 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 456 | CURRENT_PROJECT_VERSION = 1; 457 | DEBUG_INFORMATION_FORMAT = dwarf; 458 | DEFINES_MODULE = YES; 459 | DYLIB_COMPATIBILITY_VERSION = 1; 460 | DYLIB_CURRENT_VERSION = 1; 461 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 462 | ENABLE_STRICT_OBJC_MSGSEND = YES; 463 | GCC_NO_COMMON_BLOCKS = YES; 464 | INFOPLIST_FILE = "Target Support Files/Pods-TimedPageControlView_Tests/Info.plist"; 465 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 466 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 467 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 468 | MACH_O_TYPE = staticlib; 469 | MODULEMAP_FILE = "Target Support Files/Pods-TimedPageControlView_Tests/Pods-TimedPageControlView_Tests.modulemap"; 470 | MTL_ENABLE_DEBUG_INFO = YES; 471 | OTHER_LDFLAGS = ""; 472 | OTHER_LIBTOOLFLAGS = ""; 473 | PODS_ROOT = "$(SRCROOT)"; 474 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 475 | PRODUCT_NAME = Pods_TimedPageControlView_Tests; 476 | SDKROOT = iphoneos; 477 | SKIP_INSTALL = YES; 478 | TARGETED_DEVICE_FAMILY = "1,2"; 479 | VERSIONING_SYSTEM = "apple-generic"; 480 | VERSION_INFO_PREFIX = ""; 481 | }; 482 | name = Debug; 483 | }; 484 | 442EF36F9B4FDD7B3EC0FAE7D09C3DF5 /* Release */ = { 485 | isa = XCBuildConfiguration; 486 | baseConfigurationReference = 6B721342EDD1238A870255F2AD20C24E /* TimedPageControlView.xcconfig */; 487 | buildSettings = { 488 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 489 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 490 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 491 | CURRENT_PROJECT_VERSION = 1; 492 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 493 | DEFINES_MODULE = YES; 494 | DYLIB_COMPATIBILITY_VERSION = 1; 495 | DYLIB_CURRENT_VERSION = 1; 496 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 497 | ENABLE_STRICT_OBJC_MSGSEND = YES; 498 | GCC_NO_COMMON_BLOCKS = YES; 499 | GCC_PREFIX_HEADER = "Target Support Files/TimedPageControlView/TimedPageControlView-prefix.pch"; 500 | INFOPLIST_FILE = "Target Support Files/TimedPageControlView/Info.plist"; 501 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 502 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 503 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 504 | MODULEMAP_FILE = "Target Support Files/TimedPageControlView/TimedPageControlView.modulemap"; 505 | MTL_ENABLE_DEBUG_INFO = NO; 506 | PRODUCT_NAME = TimedPageControlView; 507 | SDKROOT = iphoneos; 508 | SKIP_INSTALL = YES; 509 | SWIFT_VERSION = 3.0; 510 | TARGETED_DEVICE_FAMILY = "1,2"; 511 | VERSIONING_SYSTEM = "apple-generic"; 512 | VERSION_INFO_PREFIX = ""; 513 | }; 514 | name = Release; 515 | }; 516 | 578330B2E91820992F9134B99136D94A /* Debug */ = { 517 | isa = XCBuildConfiguration; 518 | baseConfigurationReference = 6C0C19DDB8D3E3043319E56259458C96 /* Pods-TimedPageControlView_Example.debug.xcconfig */; 519 | buildSettings = { 520 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 521 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 522 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 523 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 524 | CURRENT_PROJECT_VERSION = 1; 525 | DEBUG_INFORMATION_FORMAT = dwarf; 526 | DEFINES_MODULE = YES; 527 | DYLIB_COMPATIBILITY_VERSION = 1; 528 | DYLIB_CURRENT_VERSION = 1; 529 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 530 | ENABLE_STRICT_OBJC_MSGSEND = YES; 531 | GCC_NO_COMMON_BLOCKS = YES; 532 | INFOPLIST_FILE = "Target Support Files/Pods-TimedPageControlView_Example/Info.plist"; 533 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 534 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 535 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 536 | MACH_O_TYPE = staticlib; 537 | MODULEMAP_FILE = "Target Support Files/Pods-TimedPageControlView_Example/Pods-TimedPageControlView_Example.modulemap"; 538 | MTL_ENABLE_DEBUG_INFO = YES; 539 | OTHER_LDFLAGS = ""; 540 | OTHER_LIBTOOLFLAGS = ""; 541 | PODS_ROOT = "$(SRCROOT)"; 542 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 543 | PRODUCT_NAME = Pods_TimedPageControlView_Example; 544 | SDKROOT = iphoneos; 545 | SKIP_INSTALL = YES; 546 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 547 | SWIFT_VERSION = 3.0; 548 | TARGETED_DEVICE_FAMILY = "1,2"; 549 | VERSIONING_SYSTEM = "apple-generic"; 550 | VERSION_INFO_PREFIX = ""; 551 | }; 552 | name = Debug; 553 | }; 554 | 8DED8AD26D381A6ACFF202E5217EC498 /* Release */ = { 555 | isa = XCBuildConfiguration; 556 | buildSettings = { 557 | ALWAYS_SEARCH_USER_PATHS = NO; 558 | CLANG_ANALYZER_NONNULL = YES; 559 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 560 | CLANG_CXX_LIBRARY = "libc++"; 561 | CLANG_ENABLE_MODULES = YES; 562 | CLANG_ENABLE_OBJC_ARC = YES; 563 | CLANG_WARN_BOOL_CONVERSION = YES; 564 | CLANG_WARN_CONSTANT_CONVERSION = YES; 565 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 566 | CLANG_WARN_EMPTY_BODY = YES; 567 | CLANG_WARN_ENUM_CONVERSION = YES; 568 | CLANG_WARN_INFINITE_RECURSION = YES; 569 | CLANG_WARN_INT_CONVERSION = YES; 570 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 571 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 572 | CLANG_WARN_UNREACHABLE_CODE = YES; 573 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 574 | CODE_SIGNING_REQUIRED = NO; 575 | COPY_PHASE_STRIP = YES; 576 | ENABLE_NS_ASSERTIONS = NO; 577 | ENABLE_STRICT_OBJC_MSGSEND = YES; 578 | GCC_C_LANGUAGE_STANDARD = gnu99; 579 | GCC_NO_COMMON_BLOCKS = YES; 580 | GCC_PREPROCESSOR_DEFINITIONS = ( 581 | "POD_CONFIGURATION_RELEASE=1", 582 | "$(inherited)", 583 | ); 584 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 585 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 586 | GCC_WARN_UNDECLARED_SELECTOR = YES; 587 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 588 | GCC_WARN_UNUSED_FUNCTION = YES; 589 | GCC_WARN_UNUSED_VARIABLE = YES; 590 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 591 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 592 | STRIP_INSTALLED_PRODUCT = NO; 593 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 594 | SYMROOT = "${SRCROOT}/../build"; 595 | VALIDATE_PRODUCT = YES; 596 | }; 597 | name = Release; 598 | }; 599 | 9DCD124A42C9F6C78CC0E3F4452B3A50 /* Release */ = { 600 | isa = XCBuildConfiguration; 601 | baseConfigurationReference = BE531AF7F45824508116211484B776AD /* Pods-TimedPageControlView_Example.release.xcconfig */; 602 | buildSettings = { 603 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 604 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 605 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 606 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 607 | CURRENT_PROJECT_VERSION = 1; 608 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 609 | DEFINES_MODULE = YES; 610 | DYLIB_COMPATIBILITY_VERSION = 1; 611 | DYLIB_CURRENT_VERSION = 1; 612 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 613 | ENABLE_STRICT_OBJC_MSGSEND = YES; 614 | GCC_NO_COMMON_BLOCKS = YES; 615 | INFOPLIST_FILE = "Target Support Files/Pods-TimedPageControlView_Example/Info.plist"; 616 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 617 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 618 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 619 | MACH_O_TYPE = staticlib; 620 | MODULEMAP_FILE = "Target Support Files/Pods-TimedPageControlView_Example/Pods-TimedPageControlView_Example.modulemap"; 621 | MTL_ENABLE_DEBUG_INFO = NO; 622 | OTHER_LDFLAGS = ""; 623 | OTHER_LIBTOOLFLAGS = ""; 624 | PODS_ROOT = "$(SRCROOT)"; 625 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 626 | PRODUCT_NAME = Pods_TimedPageControlView_Example; 627 | SDKROOT = iphoneos; 628 | SKIP_INSTALL = YES; 629 | SWIFT_VERSION = 3.0; 630 | TARGETED_DEVICE_FAMILY = "1,2"; 631 | VERSIONING_SYSTEM = "apple-generic"; 632 | VERSION_INFO_PREFIX = ""; 633 | }; 634 | name = Release; 635 | }; 636 | 9E1E4E48AF2EAB23169E611BF694090A /* Debug */ = { 637 | isa = XCBuildConfiguration; 638 | buildSettings = { 639 | ALWAYS_SEARCH_USER_PATHS = NO; 640 | CLANG_ANALYZER_NONNULL = YES; 641 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 642 | CLANG_CXX_LIBRARY = "libc++"; 643 | CLANG_ENABLE_MODULES = YES; 644 | CLANG_ENABLE_OBJC_ARC = YES; 645 | CLANG_WARN_BOOL_CONVERSION = YES; 646 | CLANG_WARN_CONSTANT_CONVERSION = YES; 647 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 648 | CLANG_WARN_EMPTY_BODY = YES; 649 | CLANG_WARN_ENUM_CONVERSION = YES; 650 | CLANG_WARN_INFINITE_RECURSION = YES; 651 | CLANG_WARN_INT_CONVERSION = YES; 652 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 653 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 654 | CLANG_WARN_UNREACHABLE_CODE = YES; 655 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 656 | CODE_SIGNING_REQUIRED = NO; 657 | COPY_PHASE_STRIP = NO; 658 | ENABLE_STRICT_OBJC_MSGSEND = YES; 659 | ENABLE_TESTABILITY = YES; 660 | GCC_C_LANGUAGE_STANDARD = gnu99; 661 | GCC_DYNAMIC_NO_PIC = NO; 662 | GCC_NO_COMMON_BLOCKS = YES; 663 | GCC_OPTIMIZATION_LEVEL = 0; 664 | GCC_PREPROCESSOR_DEFINITIONS = ( 665 | "POD_CONFIGURATION_DEBUG=1", 666 | "DEBUG=1", 667 | "$(inherited)", 668 | ); 669 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 670 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 671 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 672 | GCC_WARN_UNDECLARED_SELECTOR = YES; 673 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 674 | GCC_WARN_UNUSED_FUNCTION = YES; 675 | GCC_WARN_UNUSED_VARIABLE = YES; 676 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 677 | ONLY_ACTIVE_ARCH = YES; 678 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 679 | STRIP_INSTALLED_PRODUCT = NO; 680 | SYMROOT = "${SRCROOT}/../build"; 681 | }; 682 | name = Debug; 683 | }; 684 | /* End XCBuildConfiguration section */ 685 | 686 | /* Begin XCConfigurationList section */ 687 | 1B0C8373E071B5F9263EC9FF1DC07799 /* Build configuration list for PBXNativeTarget "Pods-TimedPageControlView_Example" */ = { 688 | isa = XCConfigurationList; 689 | buildConfigurations = ( 690 | 578330B2E91820992F9134B99136D94A /* Debug */, 691 | 9DCD124A42C9F6C78CC0E3F4452B3A50 /* Release */, 692 | ); 693 | defaultConfigurationIsVisible = 0; 694 | defaultConfigurationName = Release; 695 | }; 696 | 23451BC66941C434B7A3A5C1B63643A8 /* Build configuration list for PBXNativeTarget "Pods-TimedPageControlView_Tests" */ = { 697 | isa = XCConfigurationList; 698 | buildConfigurations = ( 699 | 295625F45D9B8E0DE6E0BD12C65375AF /* Debug */, 700 | 1E95903154D619807757E56042AFCDED /* Release */, 701 | ); 702 | defaultConfigurationIsVisible = 0; 703 | defaultConfigurationName = Release; 704 | }; 705 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 706 | isa = XCConfigurationList; 707 | buildConfigurations = ( 708 | 9E1E4E48AF2EAB23169E611BF694090A /* Debug */, 709 | 8DED8AD26D381A6ACFF202E5217EC498 /* Release */, 710 | ); 711 | defaultConfigurationIsVisible = 0; 712 | defaultConfigurationName = Release; 713 | }; 714 | 53C2F2998B3EDB7704C4606E53888C9E /* Build configuration list for PBXNativeTarget "TimedPageControlView" */ = { 715 | isa = XCConfigurationList; 716 | buildConfigurations = ( 717 | 2277BEDFECE464EA0D79EDB3C543CB32 /* Debug */, 718 | 442EF36F9B4FDD7B3EC0FAE7D09C3DF5 /* Release */, 719 | ); 720 | defaultConfigurationIsVisible = 0; 721 | defaultConfigurationName = Release; 722 | }; 723 | /* End XCConfigurationList section */ 724 | }; 725 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 726 | } 727 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TimedPageControlView_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-TimedPageControlView_Example/Pods-TimedPageControlView_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## TimedPageControlView 5 | 6 | Copyright (c) 2017 Dana Majid 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-TimedPageControlView_Example/Pods-TimedPageControlView_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2017 Dana Majid <hi@danamajid.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 | TimedPageControlView 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-TimedPageControlView_Example/Pods-TimedPageControlView_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_TimedPageControlView_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_TimedPageControlView_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TimedPageControlView_Example/Pods-TimedPageControlView_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 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | 86 | if [[ "$CONFIGURATION" == "Debug" ]]; then 87 | install_framework "$BUILT_PRODUCTS_DIR/TimedPageControlView/TimedPageControlView.framework" 88 | fi 89 | if [[ "$CONFIGURATION" == "Release" ]]; then 90 | install_framework "$BUILT_PRODUCTS_DIR/TimedPageControlView/TimedPageControlView.framework" 91 | fi 92 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TimedPageControlView_Example/Pods-TimedPageControlView_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 | *) 22 | TARGET_DEVICE_ARGS="--target-device mac" 23 | ;; 24 | esac 25 | 26 | install_resource() 27 | { 28 | if [[ "$1" = /* ]] ; then 29 | RESOURCE_PATH="$1" 30 | else 31 | RESOURCE_PATH="${PODS_ROOT}/$1" 32 | fi 33 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 34 | cat << EOM 35 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 36 | EOM 37 | exit 1 38 | fi 39 | case $RESOURCE_PATH in 40 | *.storyboard) 41 | 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}" 42 | 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} 43 | ;; 44 | *.xib) 45 | 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}" 46 | 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} 47 | ;; 48 | *.framework) 49 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 50 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 51 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 52 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 53 | ;; 54 | *.xcdatamodel) 55 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 56 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 57 | ;; 58 | *.xcdatamodeld) 59 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 60 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 61 | ;; 62 | *.xcmappingmodel) 63 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 64 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 65 | ;; 66 | *.xcassets) 67 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 68 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 69 | ;; 70 | *) 71 | echo "$RESOURCE_PATH" 72 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 73 | ;; 74 | esac 75 | } 76 | 77 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 78 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 79 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 80 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 81 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 82 | fi 83 | rm -f "$RESOURCES_TO_COPY" 84 | 85 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 86 | then 87 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 88 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 89 | while read line; do 90 | if [[ $line != "${PODS_ROOT}*" ]]; then 91 | XCASSET_FILES+=("$line") 92 | fi 93 | done <<<"$OTHER_XCASSETS" 94 | 95 | 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}" 96 | fi 97 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TimedPageControlView_Example/Pods-TimedPageControlView_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | 6 | FOUNDATION_EXPORT double Pods_TimedPageControlView_ExampleVersionNumber; 7 | FOUNDATION_EXPORT const unsigned char Pods_TimedPageControlView_ExampleVersionString[]; 8 | 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TimedPageControlView_Example/Pods-TimedPageControlView_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | EMBEDDED_CONTENT_CONTAINS_SWIFT = YES 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/TimedPageControlView" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/TimedPageControlView/TimedPageControlView.framework/Headers" 7 | OTHER_LDFLAGS = $(inherited) -framework "TimedPageControlView" 8 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 9 | PODS_BUILD_DIR = $BUILD_DIR 10 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TimedPageControlView_Example/Pods-TimedPageControlView_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_TimedPageControlView_Example { 2 | umbrella header "Pods-TimedPageControlView_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TimedPageControlView_Example/Pods-TimedPageControlView_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | EMBEDDED_CONTENT_CONTAINS_SWIFT = YES 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/TimedPageControlView" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/TimedPageControlView/TimedPageControlView.framework/Headers" 7 | OTHER_LDFLAGS = $(inherited) -framework "TimedPageControlView" 8 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 9 | PODS_BUILD_DIR = $BUILD_DIR 10 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TimedPageControlView_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-TimedPageControlView_Tests/Pods-TimedPageControlView_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-TimedPageControlView_Tests/Pods-TimedPageControlView_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-TimedPageControlView_Tests/Pods-TimedPageControlView_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_TimedPageControlView_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_TimedPageControlView_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TimedPageControlView_Tests/Pods-TimedPageControlView_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 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TimedPageControlView_Tests/Pods-TimedPageControlView_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 | *) 22 | TARGET_DEVICE_ARGS="--target-device mac" 23 | ;; 24 | esac 25 | 26 | install_resource() 27 | { 28 | if [[ "$1" = /* ]] ; then 29 | RESOURCE_PATH="$1" 30 | else 31 | RESOURCE_PATH="${PODS_ROOT}/$1" 32 | fi 33 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 34 | cat << EOM 35 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 36 | EOM 37 | exit 1 38 | fi 39 | case $RESOURCE_PATH in 40 | *.storyboard) 41 | 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}" 42 | 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} 43 | ;; 44 | *.xib) 45 | 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}" 46 | 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} 47 | ;; 48 | *.framework) 49 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 50 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 51 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 52 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 53 | ;; 54 | *.xcdatamodel) 55 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 56 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 57 | ;; 58 | *.xcdatamodeld) 59 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 60 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 61 | ;; 62 | *.xcmappingmodel) 63 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 64 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 65 | ;; 66 | *.xcassets) 67 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 68 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 69 | ;; 70 | *) 71 | echo "$RESOURCE_PATH" 72 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 73 | ;; 74 | esac 75 | } 76 | 77 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 78 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 79 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 80 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 81 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 82 | fi 83 | rm -f "$RESOURCES_TO_COPY" 84 | 85 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 86 | then 87 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 88 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 89 | while read line; do 90 | if [[ $line != "${PODS_ROOT}*" ]]; then 91 | XCASSET_FILES+=("$line") 92 | fi 93 | done <<<"$OTHER_XCASSETS" 94 | 95 | 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}" 96 | fi 97 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TimedPageControlView_Tests/Pods-TimedPageControlView_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | 6 | FOUNDATION_EXPORT double Pods_TimedPageControlView_TestsVersionNumber; 7 | FOUNDATION_EXPORT const unsigned char Pods_TimedPageControlView_TestsVersionString[]; 8 | 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TimedPageControlView_Tests/Pods-TimedPageControlView_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/TimedPageControlView" 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/TimedPageControlView/TimedPageControlView.framework/Headers" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TimedPageControlView_Tests/Pods-TimedPageControlView_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_TimedPageControlView_Tests { 2 | umbrella header "Pods-TimedPageControlView_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TimedPageControlView_Tests/Pods-TimedPageControlView_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/TimedPageControlView" 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/TimedPageControlView/TimedPageControlView.framework/Headers" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TimedPageControlView/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 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TimedPageControlView/TimedPageControlView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_TimedPageControlView : NSObject 3 | @end 4 | @implementation PodsDummy_TimedPageControlView 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TimedPageControlView/TimedPageControlView-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TimedPageControlView/TimedPageControlView-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | 6 | FOUNDATION_EXPORT double TimedPageControlViewVersionNumber; 7 | FOUNDATION_EXPORT const unsigned char TimedPageControlViewVersionString[]; 8 | 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TimedPageControlView/TimedPageControlView.modulemap: -------------------------------------------------------------------------------- 1 | framework module TimedPageControlView { 2 | umbrella header "TimedPageControlView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TimedPageControlView/TimedPageControlView.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/TimedPageControlView 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 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /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 TimedPageControlView 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/TimedPageControlView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 11 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 12 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 13 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 14 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 15 | 6FDB63C8248B43039DC00559 /* Pods_TimedPageControlView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C30CAB93B854D9BCA10E7259 /* Pods_TimedPageControlView_Example.framework */; }; 16 | 7A947B71411BED17AE5B79C3 /* Pods_TimedPageControlView_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EAD3E6D7A3EC9AF36DF3E72B /* Pods_TimedPageControlView_Tests.framework */; }; 17 | F69BBCB91E1C7C9400CD6054 /* Cell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F69BBCB81E1C7C9400CD6054 /* Cell.swift */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 26 | remoteInfo = TimedPageControlView; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 5D0E0B67BC28DA04FC932F6E /* TimedPageControlView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = TimedPageControlView.podspec; path = ../TimedPageControlView.podspec; sourceTree = ""; }; 32 | 607FACD01AFB9204008FA782 /* TimedPageControlView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TimedPageControlView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 33 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 34 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 35 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 36 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 37 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 38 | 607FACE51AFB9204008FA782 /* TimedPageControlView_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TimedPageControlView_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 39 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 40 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 41 | 655A32172AE090DB86401EC1 /* Pods-TimedPageControlView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TimedPageControlView_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-TimedPageControlView_Tests/Pods-TimedPageControlView_Tests.release.xcconfig"; sourceTree = ""; }; 42 | 6F47D7B68679E7D7CA003FAE /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 43 | 97EE5E6DF6CBC997A4767B50 /* Pods-TimedPageControlView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TimedPageControlView_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-TimedPageControlView_Example/Pods-TimedPageControlView_Example.debug.xcconfig"; sourceTree = ""; }; 44 | B05E97C990197A14EE44F37C /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 45 | C30CAB93B854D9BCA10E7259 /* Pods_TimedPageControlView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TimedPageControlView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | E32BA32F79B9AE04909773AE /* Pods-TimedPageControlView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TimedPageControlView_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-TimedPageControlView_Tests/Pods-TimedPageControlView_Tests.debug.xcconfig"; sourceTree = ""; }; 47 | EAD3E6D7A3EC9AF36DF3E72B /* Pods_TimedPageControlView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TimedPageControlView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 48 | F23AC52AFB85FFDF7F40736C /* Pods-TimedPageControlView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TimedPageControlView_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-TimedPageControlView_Example/Pods-TimedPageControlView_Example.release.xcconfig"; sourceTree = ""; }; 49 | F69BBCB81E1C7C9400CD6054 /* Cell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Cell.swift; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | 6FDB63C8248B43039DC00559 /* Pods_TimedPageControlView_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | 7A947B71411BED17AE5B79C3 /* Pods_TimedPageControlView_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 59D68D5BD54C4E7B6EFD0215 /* Pods */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | 97EE5E6DF6CBC997A4767B50 /* Pods-TimedPageControlView_Example.debug.xcconfig */, 76 | F23AC52AFB85FFDF7F40736C /* Pods-TimedPageControlView_Example.release.xcconfig */, 77 | E32BA32F79B9AE04909773AE /* Pods-TimedPageControlView_Tests.debug.xcconfig */, 78 | 655A32172AE090DB86401EC1 /* Pods-TimedPageControlView_Tests.release.xcconfig */, 79 | ); 80 | name = Pods; 81 | sourceTree = ""; 82 | }; 83 | 607FACC71AFB9204008FA782 = { 84 | isa = PBXGroup; 85 | children = ( 86 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 87 | 607FACD21AFB9204008FA782 /* Example for TimedPageControlView */, 88 | 607FACE81AFB9204008FA782 /* Tests */, 89 | 607FACD11AFB9204008FA782 /* Products */, 90 | 59D68D5BD54C4E7B6EFD0215 /* Pods */, 91 | A007A24DF43D9C05F29193C3 /* Frameworks */, 92 | ); 93 | sourceTree = ""; 94 | }; 95 | 607FACD11AFB9204008FA782 /* Products */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 607FACD01AFB9204008FA782 /* TimedPageControlView_Example.app */, 99 | 607FACE51AFB9204008FA782 /* TimedPageControlView_Tests.xctest */, 100 | ); 101 | name = Products; 102 | sourceTree = ""; 103 | }; 104 | 607FACD21AFB9204008FA782 /* Example for TimedPageControlView */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 108 | F69BBCB81E1C7C9400CD6054 /* Cell.swift */, 109 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 110 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 111 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 112 | 607FACD31AFB9204008FA782 /* Supporting Files */, 113 | ); 114 | name = "Example for TimedPageControlView"; 115 | path = TimedPageControlView; 116 | sourceTree = ""; 117 | }; 118 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 607FACD41AFB9204008FA782 /* Info.plist */, 122 | ); 123 | name = "Supporting Files"; 124 | sourceTree = ""; 125 | }; 126 | 607FACE81AFB9204008FA782 /* Tests */ = { 127 | isa = PBXGroup; 128 | children = ( 129 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 130 | 607FACE91AFB9204008FA782 /* Supporting Files */, 131 | ); 132 | path = Tests; 133 | sourceTree = ""; 134 | }; 135 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | 607FACEA1AFB9204008FA782 /* Info.plist */, 139 | ); 140 | name = "Supporting Files"; 141 | sourceTree = ""; 142 | }; 143 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | 5D0E0B67BC28DA04FC932F6E /* TimedPageControlView.podspec */, 147 | B05E97C990197A14EE44F37C /* README.md */, 148 | 6F47D7B68679E7D7CA003FAE /* LICENSE */, 149 | ); 150 | name = "Podspec Metadata"; 151 | sourceTree = ""; 152 | }; 153 | A007A24DF43D9C05F29193C3 /* Frameworks */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | C30CAB93B854D9BCA10E7259 /* Pods_TimedPageControlView_Example.framework */, 157 | EAD3E6D7A3EC9AF36DF3E72B /* Pods_TimedPageControlView_Tests.framework */, 158 | ); 159 | name = Frameworks; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* TimedPageControlView_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "TimedPageControlView_Example" */; 168 | buildPhases = ( 169 | 9862204E780A731E34C99C42 /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | 044A09A1ACFCCC18ED86A74A /* [CP] Embed Pods Frameworks */, 174 | F2815F4311AE83378BA81563 /* [CP] Copy Pods Resources */, 175 | ); 176 | buildRules = ( 177 | ); 178 | dependencies = ( 179 | ); 180 | name = TimedPageControlView_Example; 181 | productName = TimedPageControlView; 182 | productReference = 607FACD01AFB9204008FA782 /* TimedPageControlView_Example.app */; 183 | productType = "com.apple.product-type.application"; 184 | }; 185 | 607FACE41AFB9204008FA782 /* TimedPageControlView_Tests */ = { 186 | isa = PBXNativeTarget; 187 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "TimedPageControlView_Tests" */; 188 | buildPhases = ( 189 | 02A3E6BE10BDB8A4E97D619B /* [CP] Check Pods Manifest.lock */, 190 | 607FACE11AFB9204008FA782 /* Sources */, 191 | 607FACE21AFB9204008FA782 /* Frameworks */, 192 | 607FACE31AFB9204008FA782 /* Resources */, 193 | 288C33040EC6A317D1D37A3D /* [CP] Embed Pods Frameworks */, 194 | 513492F2E6A9E1C0863EDA3B /* [CP] Copy Pods Resources */, 195 | ); 196 | buildRules = ( 197 | ); 198 | dependencies = ( 199 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 200 | ); 201 | name = TimedPageControlView_Tests; 202 | productName = Tests; 203 | productReference = 607FACE51AFB9204008FA782 /* TimedPageControlView_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 = 0820; 214 | ORGANIZATIONNAME = CocoaPods; 215 | TargetAttributes = { 216 | 607FACCF1AFB9204008FA782 = { 217 | CreatedOnToolsVersion = 6.3.1; 218 | LastSwiftMigration = 0820; 219 | }; 220 | 607FACE41AFB9204008FA782 = { 221 | CreatedOnToolsVersion = 6.3.1; 222 | LastSwiftMigration = 0820; 223 | TestTargetID = 607FACCF1AFB9204008FA782; 224 | }; 225 | }; 226 | }; 227 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "TimedPageControlView" */; 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 /* TimedPageControlView_Example */, 241 | 607FACE41AFB9204008FA782 /* TimedPageControlView_Tests */, 242 | ); 243 | }; 244 | /* End PBXProject section */ 245 | 246 | /* Begin PBXResourcesBuildPhase section */ 247 | 607FACCE1AFB9204008FA782 /* Resources */ = { 248 | isa = PBXResourcesBuildPhase; 249 | buildActionMask = 2147483647; 250 | files = ( 251 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 252 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 253 | ); 254 | runOnlyForDeploymentPostprocessing = 0; 255 | }; 256 | 607FACE31AFB9204008FA782 /* Resources */ = { 257 | isa = PBXResourcesBuildPhase; 258 | buildActionMask = 2147483647; 259 | files = ( 260 | ); 261 | runOnlyForDeploymentPostprocessing = 0; 262 | }; 263 | /* End PBXResourcesBuildPhase section */ 264 | 265 | /* Begin PBXShellScriptBuildPhase section */ 266 | 02A3E6BE10BDB8A4E97D619B /* [CP] Check Pods Manifest.lock */ = { 267 | isa = PBXShellScriptBuildPhase; 268 | buildActionMask = 2147483647; 269 | files = ( 270 | ); 271 | inputPaths = ( 272 | ); 273 | name = "[CP] Check Pods Manifest.lock"; 274 | outputPaths = ( 275 | ); 276 | runOnlyForDeploymentPostprocessing = 0; 277 | shellPath = /bin/sh; 278 | 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"; 279 | showEnvVarsInLog = 0; 280 | }; 281 | 044A09A1ACFCCC18ED86A74A /* [CP] Embed Pods Frameworks */ = { 282 | isa = PBXShellScriptBuildPhase; 283 | buildActionMask = 2147483647; 284 | files = ( 285 | ); 286 | inputPaths = ( 287 | ); 288 | name = "[CP] Embed Pods Frameworks"; 289 | outputPaths = ( 290 | ); 291 | runOnlyForDeploymentPostprocessing = 0; 292 | shellPath = /bin/sh; 293 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TimedPageControlView_Example/Pods-TimedPageControlView_Example-frameworks.sh\"\n"; 294 | showEnvVarsInLog = 0; 295 | }; 296 | 288C33040EC6A317D1D37A3D /* [CP] Embed Pods Frameworks */ = { 297 | isa = PBXShellScriptBuildPhase; 298 | buildActionMask = 2147483647; 299 | files = ( 300 | ); 301 | inputPaths = ( 302 | ); 303 | name = "[CP] Embed Pods Frameworks"; 304 | outputPaths = ( 305 | ); 306 | runOnlyForDeploymentPostprocessing = 0; 307 | shellPath = /bin/sh; 308 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TimedPageControlView_Tests/Pods-TimedPageControlView_Tests-frameworks.sh\"\n"; 309 | showEnvVarsInLog = 0; 310 | }; 311 | 513492F2E6A9E1C0863EDA3B /* [CP] Copy Pods Resources */ = { 312 | isa = PBXShellScriptBuildPhase; 313 | buildActionMask = 2147483647; 314 | files = ( 315 | ); 316 | inputPaths = ( 317 | ); 318 | name = "[CP] Copy Pods Resources"; 319 | outputPaths = ( 320 | ); 321 | runOnlyForDeploymentPostprocessing = 0; 322 | shellPath = /bin/sh; 323 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TimedPageControlView_Tests/Pods-TimedPageControlView_Tests-resources.sh\"\n"; 324 | showEnvVarsInLog = 0; 325 | }; 326 | 9862204E780A731E34C99C42 /* [CP] Check Pods Manifest.lock */ = { 327 | isa = PBXShellScriptBuildPhase; 328 | buildActionMask = 2147483647; 329 | files = ( 330 | ); 331 | inputPaths = ( 332 | ); 333 | name = "[CP] Check Pods Manifest.lock"; 334 | outputPaths = ( 335 | ); 336 | runOnlyForDeploymentPostprocessing = 0; 337 | shellPath = /bin/sh; 338 | 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"; 339 | showEnvVarsInLog = 0; 340 | }; 341 | F2815F4311AE83378BA81563 /* [CP] Copy Pods Resources */ = { 342 | isa = PBXShellScriptBuildPhase; 343 | buildActionMask = 2147483647; 344 | files = ( 345 | ); 346 | inputPaths = ( 347 | ); 348 | name = "[CP] Copy Pods Resources"; 349 | outputPaths = ( 350 | ); 351 | runOnlyForDeploymentPostprocessing = 0; 352 | shellPath = /bin/sh; 353 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TimedPageControlView_Example/Pods-TimedPageControlView_Example-resources.sh\"\n"; 354 | showEnvVarsInLog = 0; 355 | }; 356 | /* End PBXShellScriptBuildPhase section */ 357 | 358 | /* Begin PBXSourcesBuildPhase section */ 359 | 607FACCC1AFB9204008FA782 /* Sources */ = { 360 | isa = PBXSourcesBuildPhase; 361 | buildActionMask = 2147483647; 362 | files = ( 363 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 364 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 365 | F69BBCB91E1C7C9400CD6054 /* Cell.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 /* TimedPageControlView_Example */; 383 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 384 | }; 385 | /* End PBXTargetDependency section */ 386 | 387 | /* Begin PBXVariantGroup section */ 388 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 389 | isa = PBXVariantGroup; 390 | children = ( 391 | 607FACDF1AFB9204008FA782 /* Base */, 392 | ); 393 | name = LaunchScreen.xib; 394 | sourceTree = ""; 395 | }; 396 | /* End PBXVariantGroup section */ 397 | 398 | /* Begin XCBuildConfiguration section */ 399 | 607FACED1AFB9204008FA782 /* Debug */ = { 400 | isa = XCBuildConfiguration; 401 | buildSettings = { 402 | ALWAYS_SEARCH_USER_PATHS = NO; 403 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 404 | CLANG_CXX_LIBRARY = "libc++"; 405 | CLANG_ENABLE_MODULES = YES; 406 | CLANG_ENABLE_OBJC_ARC = YES; 407 | CLANG_WARN_BOOL_CONVERSION = YES; 408 | CLANG_WARN_CONSTANT_CONVERSION = YES; 409 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 410 | CLANG_WARN_EMPTY_BODY = YES; 411 | CLANG_WARN_ENUM_CONVERSION = YES; 412 | CLANG_WARN_INFINITE_RECURSION = YES; 413 | CLANG_WARN_INT_CONVERSION = YES; 414 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 415 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 416 | CLANG_WARN_UNREACHABLE_CODE = YES; 417 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 418 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 419 | COPY_PHASE_STRIP = NO; 420 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 421 | ENABLE_STRICT_OBJC_MSGSEND = YES; 422 | ENABLE_TESTABILITY = YES; 423 | GCC_C_LANGUAGE_STANDARD = gnu99; 424 | GCC_DYNAMIC_NO_PIC = NO; 425 | GCC_NO_COMMON_BLOCKS = YES; 426 | GCC_OPTIMIZATION_LEVEL = 0; 427 | GCC_PREPROCESSOR_DEFINITIONS = ( 428 | "DEBUG=1", 429 | "$(inherited)", 430 | ); 431 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 432 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 433 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 434 | GCC_WARN_UNDECLARED_SELECTOR = YES; 435 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 436 | GCC_WARN_UNUSED_FUNCTION = YES; 437 | GCC_WARN_UNUSED_VARIABLE = YES; 438 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 439 | MTL_ENABLE_DEBUG_INFO = YES; 440 | ONLY_ACTIVE_ARCH = YES; 441 | SDKROOT = iphoneos; 442 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 443 | }; 444 | name = Debug; 445 | }; 446 | 607FACEE1AFB9204008FA782 /* Release */ = { 447 | isa = XCBuildConfiguration; 448 | buildSettings = { 449 | ALWAYS_SEARCH_USER_PATHS = NO; 450 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 451 | CLANG_CXX_LIBRARY = "libc++"; 452 | CLANG_ENABLE_MODULES = YES; 453 | CLANG_ENABLE_OBJC_ARC = YES; 454 | CLANG_WARN_BOOL_CONVERSION = YES; 455 | CLANG_WARN_CONSTANT_CONVERSION = YES; 456 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 457 | CLANG_WARN_EMPTY_BODY = YES; 458 | CLANG_WARN_ENUM_CONVERSION = YES; 459 | CLANG_WARN_INFINITE_RECURSION = YES; 460 | CLANG_WARN_INT_CONVERSION = YES; 461 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 462 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 463 | CLANG_WARN_UNREACHABLE_CODE = YES; 464 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 465 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 466 | COPY_PHASE_STRIP = NO; 467 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 468 | ENABLE_NS_ASSERTIONS = NO; 469 | ENABLE_STRICT_OBJC_MSGSEND = YES; 470 | GCC_C_LANGUAGE_STANDARD = gnu99; 471 | GCC_NO_COMMON_BLOCKS = YES; 472 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 473 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 474 | GCC_WARN_UNDECLARED_SELECTOR = YES; 475 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 476 | GCC_WARN_UNUSED_FUNCTION = YES; 477 | GCC_WARN_UNUSED_VARIABLE = YES; 478 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 479 | MTL_ENABLE_DEBUG_INFO = NO; 480 | SDKROOT = iphoneos; 481 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 482 | VALIDATE_PRODUCT = YES; 483 | }; 484 | name = Release; 485 | }; 486 | 607FACF01AFB9204008FA782 /* Debug */ = { 487 | isa = XCBuildConfiguration; 488 | baseConfigurationReference = 97EE5E6DF6CBC997A4767B50 /* Pods-TimedPageControlView_Example.debug.xcconfig */; 489 | buildSettings = { 490 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 491 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 492 | INFOPLIST_FILE = TimedPageControlView/Info.plist; 493 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 494 | MODULE_NAME = ExampleApp; 495 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 496 | PRODUCT_NAME = "$(TARGET_NAME)"; 497 | SWIFT_VERSION = 3.0; 498 | }; 499 | name = Debug; 500 | }; 501 | 607FACF11AFB9204008FA782 /* Release */ = { 502 | isa = XCBuildConfiguration; 503 | baseConfigurationReference = F23AC52AFB85FFDF7F40736C /* Pods-TimedPageControlView_Example.release.xcconfig */; 504 | buildSettings = { 505 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 506 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 507 | INFOPLIST_FILE = TimedPageControlView/Info.plist; 508 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 509 | MODULE_NAME = ExampleApp; 510 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 511 | PRODUCT_NAME = "$(TARGET_NAME)"; 512 | SWIFT_VERSION = 3.0; 513 | }; 514 | name = Release; 515 | }; 516 | 607FACF31AFB9204008FA782 /* Debug */ = { 517 | isa = XCBuildConfiguration; 518 | baseConfigurationReference = E32BA32F79B9AE04909773AE /* Pods-TimedPageControlView_Tests.debug.xcconfig */; 519 | buildSettings = { 520 | FRAMEWORK_SEARCH_PATHS = ( 521 | "$(SDKROOT)/Developer/Library/Frameworks", 522 | "$(inherited)", 523 | ); 524 | GCC_PREPROCESSOR_DEFINITIONS = ( 525 | "DEBUG=1", 526 | "$(inherited)", 527 | ); 528 | INFOPLIST_FILE = Tests/Info.plist; 529 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 530 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 531 | PRODUCT_NAME = "$(TARGET_NAME)"; 532 | SWIFT_VERSION = 3.0; 533 | }; 534 | name = Debug; 535 | }; 536 | 607FACF41AFB9204008FA782 /* Release */ = { 537 | isa = XCBuildConfiguration; 538 | baseConfigurationReference = 655A32172AE090DB86401EC1 /* Pods-TimedPageControlView_Tests.release.xcconfig */; 539 | buildSettings = { 540 | FRAMEWORK_SEARCH_PATHS = ( 541 | "$(SDKROOT)/Developer/Library/Frameworks", 542 | "$(inherited)", 543 | ); 544 | INFOPLIST_FILE = Tests/Info.plist; 545 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 546 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 547 | PRODUCT_NAME = "$(TARGET_NAME)"; 548 | SWIFT_VERSION = 3.0; 549 | }; 550 | name = Release; 551 | }; 552 | /* End XCBuildConfiguration section */ 553 | 554 | /* Begin XCConfigurationList section */ 555 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "TimedPageControlView" */ = { 556 | isa = XCConfigurationList; 557 | buildConfigurations = ( 558 | 607FACED1AFB9204008FA782 /* Debug */, 559 | 607FACEE1AFB9204008FA782 /* Release */, 560 | ); 561 | defaultConfigurationIsVisible = 0; 562 | defaultConfigurationName = Release; 563 | }; 564 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "TimedPageControlView_Example" */ = { 565 | isa = XCConfigurationList; 566 | buildConfigurations = ( 567 | 607FACF01AFB9204008FA782 /* Debug */, 568 | 607FACF11AFB9204008FA782 /* Release */, 569 | ); 570 | defaultConfigurationIsVisible = 0; 571 | defaultConfigurationName = Release; 572 | }; 573 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "TimedPageControlView_Tests" */ = { 574 | isa = XCConfigurationList; 575 | buildConfigurations = ( 576 | 607FACF31AFB9204008FA782 /* Debug */, 577 | 607FACF41AFB9204008FA782 /* Release */, 578 | ); 579 | defaultConfigurationIsVisible = 0; 580 | defaultConfigurationName = Release; 581 | }; 582 | /* End XCConfigurationList section */ 583 | }; 584 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 585 | } 586 | -------------------------------------------------------------------------------- /Example/TimedPageControlView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/TimedPageControlView.xcodeproj/xcshareddata/xcschemes/TimedPageControlView-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/TimedPageControlView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/TimedPageControlView/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // TimedPageControlView 4 | // 5 | // Created by Dana Majid on 01/03/2017. 6 | // Copyright (c) 2017 Dana Majid. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | var viewController: ViewController? 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | 19 | self.window = UIWindow(frame: UIScreen.main.bounds) 20 | viewController = ViewController() 21 | 22 | self.window!.rootViewController = viewController 23 | 24 | self.window!.backgroundColor = UIColor.black 25 | self.window?.makeKeyAndVisible(); 26 | self.window!.tintColor = UIColor(red: 40/255, green: 145/255, blue: 247/255, alpha: 1) 27 | 28 | 29 | // Override point for customization after application launch. 30 | return true 31 | } 32 | 33 | 34 | func applicationWillResignActive(_ application: UIApplication) { 35 | // 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. 36 | // 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. 37 | } 38 | 39 | func applicationDidEnterBackground(_ application: UIApplication) { 40 | // 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. 41 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 42 | } 43 | 44 | func applicationWillEnterForeground(_ application: UIApplication) { 45 | // 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. 46 | } 47 | 48 | func applicationDidBecomeActive(_ application: UIApplication) { 49 | // 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. 50 | } 51 | 52 | func applicationWillTerminate(_ application: UIApplication) { 53 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 54 | } 55 | 56 | 57 | } 58 | 59 | -------------------------------------------------------------------------------- /Example/TimedPageControlView/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Example/TimedPageControlView/Cell.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Cell.swift 3 | // TimedPageControlView 4 | // 5 | // Created by Dana Majid on 1/3/17. 6 | // Copyright © 2017 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @objc class Cell: UICollectionViewCell { 12 | override init(frame: CGRect) { 13 | super.init(frame: frame) 14 | 15 | let titleLabel = UILabel() 16 | titleLabel.textColor = .white 17 | titleLabel.textAlignment = .center 18 | titleLabel.frame = CGRect(x: 0, y: 100, width: frame.width, height: 40) 19 | titleLabel.text = "Swipe left/right!" 20 | 21 | addSubview(titleLabel) 22 | } 23 | 24 | required init?(coder aDecoder: NSCoder) { 25 | fatalError("init(coder:) has not been implemented") 26 | } 27 | } 28 | 29 | -------------------------------------------------------------------------------- /Example/TimedPageControlView/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/TimedPageControlView/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 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UIStatusBarStyle 32 | UIStatusBarStyleDefault 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/TimedPageControlView/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // TimedPageControlView 4 | // 5 | // Created by Dana Majid on 01/03/2017. 6 | // Copyright (c) 2017 Dana Majid. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import TimedPageControlView 11 | 12 | class ViewController: UIViewController, UIScrollViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout, UICollectionViewDelegate { 13 | 14 | var collectionView: UICollectionView! 15 | var pagingView: TimedPageControlView! 16 | var currentPage = 0 17 | var currentActivePage = 0 18 | var currentActivePageProgress: Float = 0.0 19 | var timer: Timer? 20 | 21 | override func viewDidLoad() { 22 | super.viewDidLoad() 23 | 24 | // Set up collection view 25 | let flowLayout:UICollectionViewFlowLayout = UICollectionViewFlowLayout() 26 | flowLayout.scrollDirection = .horizontal 27 | collectionView = UICollectionView(frame: CGRect.zero, collectionViewLayout: flowLayout); 28 | collectionView.register(Cell.self, forCellWithReuseIdentifier: "cell"); 29 | collectionView.delegate = self; 30 | collectionView.dataSource = self; 31 | collectionView.contentInset = UIEdgeInsetsMake(0, 0, 0, 0) 32 | collectionView.showsHorizontalScrollIndicator = false 33 | collectionView.isPagingEnabled = true 34 | collectionView.backgroundColor = .gray 35 | collectionView.frame = view.frame 36 | view.addSubview(collectionView) 37 | 38 | 39 | // Set up paging control view 40 | pagingView = TimedPageControlView(collapsedWidth: 10, total: 5) 41 | pagingView.translatesAutoresizingMaskIntoConstraints = false 42 | pagingView.alpha = 0.5 43 | view.addSubview(pagingView!); 44 | 45 | 46 | // Layout our paging control view 47 | let top = NSLayoutConstraint(item: pagingView, attribute: .bottom, relatedBy: .equal, toItem: view, attribute: .bottom, multiplier: 1, constant: -40) 48 | let center = NSLayoutConstraint(item: pagingView, attribute: .centerX, relatedBy: .equal, toItem: view, attribute: .centerX, multiplier: 1, constant: 0) 49 | let h = NSLayoutConstraint(item: pagingView, attribute: .height, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1, constant: 10) 50 | let w = NSLayoutConstraint(item: pagingView, attribute: .width, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1, constant: 120) 51 | NSLayoutConstraint.activate([top, center, w, h]) 52 | 53 | // Simulate timer 54 | startTimer() 55 | } 56 | 57 | func startTimer() { 58 | currentActivePageProgress = 0 59 | timer = Timer.scheduledTimer(timeInterval: 0.01, target: self, selector: #selector(self.updateProgressForCurrentPage), userInfo: nil, repeats: true) 60 | } 61 | 62 | override func didReceiveMemoryWarning() { 63 | super.didReceiveMemoryWarning() 64 | } 65 | 66 | override func viewDidLayoutSubviews() { 67 | 68 | } 69 | 70 | func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer) { 71 | pagingView.scrollDirection = .none 72 | } 73 | 74 | func scrollViewDidScroll(_ scrollView: UIScrollView) { 75 | let currentOffsetX: CGFloat = scrollView.contentOffset.x; 76 | let pageWidth: CGFloat = scrollView.frame.size.width; 77 | 78 | let fractionalPage: CGFloat = currentOffsetX / pageWidth 79 | 80 | if(scrollView.panGestureRecognizer.translation(in: scrollView.superview).x > 0) { 81 | pagingView.scrollDirection = .left 82 | } else { 83 | pagingView.scrollDirection = .right 84 | } 85 | 86 | if(!fractionalPage.isNaN) { 87 | currentPage = lround(Double(fractionalPage)) 88 | pagingView.changePage(fractionalPage: min(fractionalPage, 4)) 89 | } 90 | } 91 | 92 | func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView) { 93 | currentActivePage = currentPage 94 | startTimer() 95 | } 96 | 97 | func updateProgressForCurrentPage() { 98 | currentActivePageProgress = Float(currentActivePageProgress) + 0.01 99 | 100 | setProgressOfPage(tag: currentActivePage + 1, progress: Float(currentActivePageProgress)) 101 | if (currentActivePageProgress >= 1) { 102 | timer?.invalidate() 103 | scrollToPage(page: currentActivePage + 1, animated: true) 104 | } 105 | } 106 | 107 | func setProgressOfPage(tag: Int, progress: Float) { 108 | if let pageProgress = pagingView.viewWithTag(tag) as? TimedPageButton { 109 | pageProgress.completePercentage = progress 110 | } 111 | } 112 | 113 | public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { 114 | return collectionView.dequeueReusableCell(withReuseIdentifier: "cell", for: indexPath) as! Cell 115 | } 116 | 117 | func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumLineSpacingForSectionAt section: Int) -> CGFloat { 118 | return 0; 119 | } 120 | 121 | func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, insetForSectionAt section: Int) -> UIEdgeInsets { 122 | return UIEdgeInsets.zero; 123 | } 124 | 125 | func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize { 126 | return CGSize(width: view.frame.width, height: view.frame.height); 127 | } 128 | 129 | func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { 130 | return 5 131 | } 132 | 133 | func numberOfSectionsInCollectionView(collectionView: UICollectionView) -> Int { 134 | return 1 135 | } 136 | 137 | func scrollToPage(page: Int, animated: Bool) { 138 | if (page > 5 || page < 0) { 139 | return; 140 | } 141 | 142 | var frame: CGRect = self.collectionView.frame 143 | frame.origin.x = frame.size.width * CGFloat(page); 144 | frame.origin.y = 0; 145 | self.collectionView.scrollRectToVisible(frame, animated: animated) 146 | } 147 | } 148 | 149 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 Dana Majid 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 | # TimedPageControlView 2 | 3 | [![CI Status](http://img.shields.io/travis/Dana Majid/TimedPageControlView.svg?style=flat)](https://travis-ci.org/Dana Majid/TimedPageControlView) 4 | [![Version](https://img.shields.io/cocoapods/v/TimedPageControlView.svg?style=flat)](http://cocoapods.org/pods/TimedPageControlView) 5 | [![License](https://img.shields.io/cocoapods/l/TimedPageControlView.svg?style=flat)](http://cocoapods.org/pods/TimedPageControlView) 6 | [![Platform](https://img.shields.io/cocoapods/p/TimedPageControlView.svg?style=flat)](http://cocoapods.org/pods/TimedPageControlView) 7 | 8 | ## Example 9 | 10 | ![Demo TimedPageControlView](https://github.com/danamajid/TimedPageControlView/raw/master/demo.gif) 11 | 12 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 13 | 14 | ## Requirements 15 | 16 | ## Installation 17 | 18 | TimedPageControlView is available through [CocoaPods](http://cocoapods.org). To install 19 | it, simply add the following line to your Podfile: 20 | 21 | ```ruby 22 | pod "TimedPageControlView" 23 | ``` 24 | 25 | ## Author 26 | 27 | Dana Majid, hi@danamajid.com 28 | 29 | ## License 30 | 31 | TimedPageControlView is available under the MIT license. See the LICENSE file for more info. 32 | -------------------------------------------------------------------------------- /TimedPageControlView.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint TimedPageControlView.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'TimedPageControlView' 11 | s.version = '0.1.1' 12 | s.summary = 'UIPageControl but with time-based pages.' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = <<-DESC 21 | TODO: Add long description of the pod here. 22 | DESC 23 | 24 | s.homepage = 'https://github.com/danamajid/TimedPageControlView' 25 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 26 | s.license = { :type => 'MIT', :file => 'LICENSE' } 27 | s.author = { 'Dana Majid' => 'hi@danamajid.com' } 28 | s.source = { :git => 'https://github.com/danamajid/TimedPageControlView.git', :tag => s.version.to_s } 29 | s.social_media_url = 'https://twitter.com/dnmjd' 30 | 31 | s.ios.deployment_target = '8.0' 32 | 33 | s.source_files = 'TimedPageControlView/Classes/**/*' 34 | 35 | # s.resource_bundles = { 36 | # 'TimedPageControlView' => ['TimedPageControlView/Assets/*.png'] 37 | # } 38 | 39 | # s.public_header_files = 'Pod/Classes/**/*.h' 40 | # s.frameworks = 'UIKit', 'MapKit' 41 | # s.dependency 'AFNetworking', '~> 2.3' 42 | end 43 | -------------------------------------------------------------------------------- /TimedPageControlView/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danamajid/TimedPageControlView/e4a5a4ddd73c5fa627daccc1ba62dbe52b64fe85/TimedPageControlView/Assets/.gitkeep -------------------------------------------------------------------------------- /TimedPageControlView/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danamajid/TimedPageControlView/e4a5a4ddd73c5fa627daccc1ba62dbe52b64fe85/TimedPageControlView/Classes/.gitkeep -------------------------------------------------------------------------------- /TimedPageControlView/Classes/TimedPageControlView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TimedPageControlView.swift 3 | // Five Videos 4 | // 5 | // Created by Dana Majid on 12/27/16. 6 | // Copyright © 2016 Dana Majid. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | public enum ScrollDirection { 12 | case none, left, right 13 | } 14 | 15 | @objc public class TimedPageButton: UIButton { 16 | var progressLayer: CALayer = CALayer() 17 | public var completePercentage: Float = 0 { 18 | didSet { 19 | layoutSubviews() 20 | } 21 | } 22 | 23 | override init(frame: CGRect) { 24 | super.init(frame: frame) 25 | 26 | backgroundColor = .lightGray 27 | progressLayer.backgroundColor = UIColor.white.cgColor 28 | layer.masksToBounds = true 29 | layer.insertSublayer(progressLayer, above: layer) 30 | } 31 | 32 | override public func layoutSubviews() { 33 | progressLayer.cornerRadius = max(1, (layer.cornerRadius * min(1, CGFloat(completePercentage / 0.2)))) 34 | progressLayer.frame = CGRect(x: 0, y: 0, width: bounds.width * CGFloat(completePercentage), height: bounds.height) 35 | } 36 | 37 | required public init?(coder aDecoder: NSCoder) { 38 | fatalError("init(coder:) has not been implemented") 39 | } 40 | } 41 | 42 | @objc public class TimedPageControlView: UIView { 43 | var widthConstraints: [NSLayoutConstraint?] = [] 44 | var collapsedWidth: CGFloat 45 | var expandedWidth: CGFloat = 0 46 | var totalWidth: CGFloat = 0 47 | var totalWidthCollapsed: CGFloat = 0 48 | var spacing: CGFloat = 3 49 | var totalPages: Int 50 | var _loaded = false 51 | public var scrollDirection: ScrollDirection? 52 | 53 | public init(collapsedWidth: CGFloat!, total: Int) { 54 | totalPages = total 55 | self.collapsedWidth = collapsedWidth 56 | super.init(frame: CGRect.zero) 57 | 58 | for index in 0...totalPages - 1 { 59 | let page: TimedPageButton = createPageAnchor(index: index) 60 | page.translatesAutoresizingMaskIntoConstraints = false 61 | 62 | widthConstraints.append(nil) 63 | addSubview(page) 64 | 65 | var prevPage: TimedPageButton? 66 | let timedPageButtonsubviews = subviews.filter{ $0 is TimedPageButton } 67 | if (index > 0 && index < timedPageButtonsubviews.count) { 68 | prevPage = timedPageButtonsubviews[index - 1] as? TimedPageButton 69 | } 70 | 71 | let top = NSLayoutConstraint(item: page, attribute: .top, relatedBy: .equal, toItem: page.superview!, attribute: .top, multiplier: 1, constant: 0) 72 | var left:NSLayoutConstraint 73 | 74 | let h = NSLayoutConstraint(item: page, attribute: .height, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1, constant: collapsedWidth) 75 | let w = NSLayoutConstraint(item: page, attribute: .width, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1, constant: collapsedWidth) 76 | widthConstraints[index] = w 77 | 78 | if (index == 0) { 79 | totalWidthCollapsed += collapsedWidth 80 | left = NSLayoutConstraint(item: page, attribute: .left, relatedBy: .equal, toItem: page.superview!, attribute: .left, multiplier: 1, constant: 0) 81 | } else { 82 | totalWidthCollapsed += collapsedWidth + spacing 83 | left = NSLayoutConstraint(item: page, attribute: .left, relatedBy: .equal, toItem: prevPage, attribute: .right, multiplier: 1, constant: spacing) 84 | } 85 | 86 | NSLayoutConstraint.activate([top, left, w, h]) 87 | } 88 | } 89 | 90 | override public func layoutSubviews() { 91 | if (!_loaded) { 92 | expandedWidth = frame.size.width - totalWidthCollapsed + collapsedWidth 93 | updateConstraintsForPageAnchors(targetViewIndex: 0, percentComplete: 1) 94 | _loaded = true 95 | } 96 | } 97 | 98 | func createPageAnchor(index:Int) -> TimedPageButton { 99 | let button = TimedPageButton(type: .system) 100 | button.layer.cornerRadius = collapsedWidth / 2 101 | button.tag = index + 1 102 | button.addTarget(self, action: #selector(pageAnchorTapped), for: .touchUpInside) 103 | 104 | return button 105 | } 106 | 107 | func pageAnchorTapped(sender : TimedPageButton) { 108 | updateConstraintsForPageAnchors(targetViewIndex: (sender.tag - 1), percentComplete: 1) 109 | } 110 | 111 | func ensureAppropriateWidth(width: CGFloat) -> CGFloat { 112 | return max(collapsedWidth, min(expandedWidth, width)) 113 | } 114 | 115 | func updateConstraintsForPageAnchors(targetViewIndex: Int, percentComplete: CGFloat) { 116 | let timedPageButtonSubviews = subviews.filter{ $0 is TimedPageButton } as! [TimedPageButton] 117 | 118 | for (index, item) in widthConstraints.enumerated() { 119 | if (index == targetViewIndex) { 120 | item?.constant = ensureAppropriateWidth(width: expandedWidth * percentComplete) 121 | timedPageButtonSubviews[index].progressLayer.opacity = Float(1) * Float(percentComplete) 122 | } else if (scrollDirection == .right && index == targetViewIndex + 1 || scrollDirection == .left && index == targetViewIndex + 1) { 123 | item?.constant = ensureAppropriateWidth(width: collapsedWidth + expandedWidth * (1 - percentComplete)) 124 | timedPageButtonSubviews[index].progressLayer.opacity = Float(1) * Float(1 - percentComplete) 125 | } else { 126 | item?.constant = ensureAppropriateWidth(width: collapsedWidth) 127 | timedPageButtonSubviews[index].progressLayer.opacity = 0 128 | } 129 | } 130 | } 131 | 132 | public func changePage(fractionalPage: CGFloat) { 133 | let complete = fractionalPage.truncatingRemainder(dividingBy: 1) 134 | let safeComplete = max(0, min(1, complete)) 135 | let currentPage = Int(fractionalPage) 136 | 137 | 138 | updateConstraintsForPageAnchors(targetViewIndex: currentPage, percentComplete: max(0, 1 - safeComplete)) 139 | } 140 | 141 | required public init(coder: NSCoder) { 142 | fatalError("init(coder:) has not been implemented") 143 | } 144 | } 145 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danamajid/TimedPageControlView/e4a5a4ddd73c5fa627daccc1ba62dbe52b64fe85/demo.gif --------------------------------------------------------------------------------