├── .gitignore ├── .swiftpm └── xcode │ └── package.xcworkspace │ └── contents.xcworkspacedata ├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── ScrollingPageControl.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── Pods-ScrollingPageControl_Example │ │ ├── Pods-ScrollingPageControl_Example-Info.plist │ │ ├── Pods-ScrollingPageControl_Example-acknowledgements.markdown │ │ ├── Pods-ScrollingPageControl_Example-acknowledgements.plist │ │ ├── Pods-ScrollingPageControl_Example-dummy.m │ │ ├── Pods-ScrollingPageControl_Example-frameworks.sh │ │ ├── Pods-ScrollingPageControl_Example-umbrella.h │ │ ├── Pods-ScrollingPageControl_Example.debug.xcconfig │ │ ├── Pods-ScrollingPageControl_Example.modulemap │ │ └── Pods-ScrollingPageControl_Example.release.xcconfig │ │ ├── Pods-ScrollingPageControl_Tests │ │ ├── Pods-ScrollingPageControl_Tests-Info.plist │ │ ├── Pods-ScrollingPageControl_Tests-acknowledgements.markdown │ │ ├── Pods-ScrollingPageControl_Tests-acknowledgements.plist │ │ ├── Pods-ScrollingPageControl_Tests-dummy.m │ │ ├── Pods-ScrollingPageControl_Tests-umbrella.h │ │ ├── Pods-ScrollingPageControl_Tests.debug.xcconfig │ │ ├── Pods-ScrollingPageControl_Tests.modulemap │ │ └── Pods-ScrollingPageControl_Tests.release.xcconfig │ │ └── ScrollingPageControl │ │ ├── ScrollingPageControl-Info.plist │ │ ├── ScrollingPageControl-dummy.m │ │ ├── ScrollingPageControl-prefix.pch │ │ ├── ScrollingPageControl-umbrella.h │ │ ├── ScrollingPageControl.modulemap │ │ └── ScrollingPageControl.xcconfig ├── ScrollingPageControl.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ └── xcshareddata │ │ └── xcschemes │ │ └── ScrollingPageControl-Example.xcscheme ├── ScrollingPageControl.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── ScrollingPageControl │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── TestViewController.swift │ └── TriangleView.swift └── Tests │ ├── Info.plist │ └── Tests.swift ├── LICENSE ├── Package.swift ├── README.md ├── ScrollingPageControl.podspec ├── Sources └── ScrollingPageControl │ ├── CircularView.swift │ └── ScrollingPageControl.swift └── Tests └── ScrollingPageControlTests └── File.swift /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | build/ 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | xcuserdata 13 | *.xccheckout 14 | *.moved-aside 15 | DerivedData 16 | *.hmap 17 | *.ipa 18 | *.xcuserstate 19 | .swiftpm 20 | 21 | # CocoaPods 22 | # 23 | # We recommend against adding the Pods directory to your .gitignore. However 24 | # you should judge for yourself, the pros and cons are mentioned at: 25 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 26 | # 27 | # Pods/ 28 | .DS_Store 29 | -------------------------------------------------------------------------------- /.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'ScrollingPageControl_Example' do 4 | pod 'ScrollingPageControl', :path => '../' 5 | 6 | target 'ScrollingPageControl_Tests' do 7 | inherit! :search_paths 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ScrollingPageControl (0.1.1) 3 | 4 | DEPENDENCIES: 5 | - ScrollingPageControl (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | ScrollingPageControl: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | ScrollingPageControl: 94a04b9a56c05f51c6454cca31bcecd0603a70fd 13 | 14 | PODFILE CHECKSUM: 4a14006f3ae58dc8b4e6f5a708c3d7f306f9c2e0 15 | 16 | COCOAPODS: 1.7.5 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/ScrollingPageControl.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ScrollingPageControl", 3 | "version": "0.1.1", 4 | "summary": "A custom page control that shows a maximum number of dots and scrolls to reveal more.", 5 | "description": "ScrollingPageControl is a custom page control that shows a maximum number of dots and scrolls to reveal more.\nIt's inspired by Instagram implementation of the page control.", 6 | "homepage": "https://github.com/EmilioPelaez/ScrollingPageControl", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "EmilioPelaez": "i.am@emiliopelaez.me" 13 | }, 14 | "source": { 15 | "git": "https://github.com/EmilioPelaez/ScrollingPageControl.git", 16 | "tag": "0.1.1" 17 | }, 18 | "social_media_url": "https://twitter.com/EmilioPelaez", 19 | "platforms": { 20 | "ios": "10.0" 21 | }, 22 | "source_files": "Sources/**/*.swift", 23 | "frameworks": "UIKit", 24 | "swift_versions": "5.1", 25 | "swift_version": "5.1" 26 | } 27 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ScrollingPageControl (0.1.1) 3 | 4 | DEPENDENCIES: 5 | - ScrollingPageControl (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | ScrollingPageControl: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | ScrollingPageControl: 94a04b9a56c05f51c6454cca31bcecd0603a70fd 13 | 14 | PODFILE CHECKSUM: 4a14006f3ae58dc8b4e6f5a708c3d7f306f9c2e0 15 | 16 | COCOAPODS: 1.7.5 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 | 381E3F1335B06F78BA4483692AD38F6A /* CircularView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 356078394FACBEFEB221A017F9F2D109 /* CircularView.swift */; }; 11 | 49D914B123613F7D289C622AD679FE4A /* Pods-ScrollingPageControl_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DFD6D6A325C4E4C6551A95A5BE646222 /* Pods-ScrollingPageControl_Example-dummy.m */; }; 12 | 6BD621AE9971F7A77806CC370CB20A7F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 436BAA54A31999B53B3CC7115C55FE50 /* Foundation.framework */; }; 13 | 94539AE46A25CB2299989E7526B31F69 /* ScrollingPageControl.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5FF98A36A906280C7E9BD25678B377A /* ScrollingPageControl.swift */; }; 14 | 95D32DE6B40F4D376E9F5C3D1E13DF7F /* Pods-ScrollingPageControl_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5A145551DF78C1CC76B04FF6089C65E3 /* Pods-ScrollingPageControl_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | AD714EE452977FBCAE2400B83637F434 /* Pods-ScrollingPageControl_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3E0C5AF2C22A0515333369146043D464 /* Pods-ScrollingPageControl_Tests-dummy.m */; }; 16 | DD6961D98F25B278E51522BD8C33709A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 312B988EF117AE4DE76A268D970131FE /* UIKit.framework */; }; 17 | DE252B9DAE2AC8378166F8CE7D57FDE6 /* Pods-ScrollingPageControl_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 90000AC4BE0DD8EE981B0B93F7A100E4 /* Pods-ScrollingPageControl_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 18 | EBC6A354ECD7476C7445864E902F165B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 436BAA54A31999B53B3CC7115C55FE50 /* Foundation.framework */; }; 19 | F1CD5F83A1F20978EB139F7B55C1BC14 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 436BAA54A31999B53B3CC7115C55FE50 /* Foundation.framework */; }; 20 | F5A59E1759411B06C5E880D549282E45 /* ScrollingPageControl-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 31397FAF8ED2A20AFBDFAF701E5D23D6 /* ScrollingPageControl-dummy.m */; }; 21 | F7D53688F81D8E0D985D4EEBA5C6760E /* ScrollingPageControl-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 6F958D4D9121102A8EDBD4B74883151A /* ScrollingPageControl-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 22 | /* End PBXBuildFile section */ 23 | 24 | /* Begin PBXContainerItemProxy section */ 25 | 04E0F50A451DFC4D26465E9C6425E183 /* PBXContainerItemProxy */ = { 26 | isa = PBXContainerItemProxy; 27 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 28 | proxyType = 1; 29 | remoteGlobalIDString = E4F8E6188370B81AEA43C868FC7BA0C2; 30 | remoteInfo = "Pods-ScrollingPageControl_Example"; 31 | }; 32 | 5D49EF6A30FFED2FCA80409DC696AA3F /* PBXContainerItemProxy */ = { 33 | isa = PBXContainerItemProxy; 34 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 35 | proxyType = 1; 36 | remoteGlobalIDString = D1A4A7CE621456B8B25FEEEF27FC983F; 37 | remoteInfo = ScrollingPageControl; 38 | }; 39 | /* End PBXContainerItemProxy section */ 40 | 41 | /* Begin PBXFileReference section */ 42 | 094DCD78FF95C549DB117D527A1EB298 /* Pods-ScrollingPageControl_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-ScrollingPageControl_Tests.modulemap"; sourceTree = ""; }; 43 | 1C901C93380D20EA88D27BF81D6882FE /* Pods-ScrollingPageControl_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ScrollingPageControl_Tests.debug.xcconfig"; sourceTree = ""; }; 44 | 257CFC19D4FB26D07E58BA4572132083 /* Pods-ScrollingPageControl_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ScrollingPageControl_Example.release.xcconfig"; sourceTree = ""; }; 45 | 312B988EF117AE4DE76A268D970131FE /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; 46 | 31397FAF8ED2A20AFBDFAF701E5D23D6 /* ScrollingPageControl-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ScrollingPageControl-dummy.m"; sourceTree = ""; }; 47 | 356078394FACBEFEB221A017F9F2D109 /* CircularView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CircularView.swift; path = Sources/ScrollingPageControl/CircularView.swift; sourceTree = ""; }; 48 | 35DA290A4E7C38ED2474B22C6349E5CE /* Pods-ScrollingPageControl_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ScrollingPageControl_Example.debug.xcconfig"; sourceTree = ""; }; 49 | 3B3511A353E5BAD1C3DC16FAB580F01D /* Pods-ScrollingPageControl_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ScrollingPageControl_Example-acknowledgements.markdown"; sourceTree = ""; }; 50 | 3E0C5AF2C22A0515333369146043D464 /* Pods-ScrollingPageControl_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ScrollingPageControl_Tests-dummy.m"; sourceTree = ""; }; 51 | 436BAA54A31999B53B3CC7115C55FE50 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 52 | 507D8BA4FF2C24DA6B22343C6D598595 /* Pods-ScrollingPageControl_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ScrollingPageControl_Tests-acknowledgements.plist"; sourceTree = ""; }; 53 | 5A145551DF78C1CC76B04FF6089C65E3 /* Pods-ScrollingPageControl_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ScrollingPageControl_Example-umbrella.h"; sourceTree = ""; }; 54 | 5C3D3F8997A25C5CE6A234FF1B590DAF /* Pods-ScrollingPageControl_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ScrollingPageControl_Tests.release.xcconfig"; sourceTree = ""; }; 55 | 5CDDD25A6E60A440873F3C5AD3CB0824 /* Pods_ScrollingPageControl_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ScrollingPageControl_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 56 | 62B906526FC5C82C5E4F1E698408CB94 /* Pods-ScrollingPageControl_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ScrollingPageControl_Example-acknowledgements.plist"; sourceTree = ""; }; 57 | 6F958D4D9121102A8EDBD4B74883151A /* ScrollingPageControl-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ScrollingPageControl-umbrella.h"; sourceTree = ""; }; 58 | 7518634293F71801B0ADB32483FBE6DC /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 59 | 75EF42B93CA3343CC17E8136E982C57A /* ScrollingPageControl-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ScrollingPageControl-prefix.pch"; sourceTree = ""; }; 60 | 7B652CDF0EE383423B23180487C12230 /* ScrollingPageControl.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ScrollingPageControl.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 61 | 7C571545962C37E3F4F3A9B91C8DAE12 /* ScrollingPageControl.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = ScrollingPageControl.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 62 | 886E423E23C349DF0D2D1897C9301378 /* Pods_ScrollingPageControl_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ScrollingPageControl_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 63 | 90000AC4BE0DD8EE981B0B93F7A100E4 /* Pods-ScrollingPageControl_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ScrollingPageControl_Tests-umbrella.h"; sourceTree = ""; }; 64 | 90D8877096D2E6F16CD905CF4040AEA8 /* Pods-ScrollingPageControl_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ScrollingPageControl_Tests-Info.plist"; sourceTree = ""; }; 65 | 969D16629E10774057240949610DFD5A /* Pods-ScrollingPageControl_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-ScrollingPageControl_Example.modulemap"; sourceTree = ""; }; 66 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 67 | 9F0B7957286E6D5F375725A72FB7E4CF /* ScrollingPageControl-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ScrollingPageControl-Info.plist"; sourceTree = ""; }; 68 | A3F99DDCAFD8D64D960D487CF303E40C /* ScrollingPageControl.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ScrollingPageControl.xcconfig; sourceTree = ""; }; 69 | A5FF98A36A906280C7E9BD25678B377A /* ScrollingPageControl.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScrollingPageControl.swift; path = Sources/ScrollingPageControl/ScrollingPageControl.swift; sourceTree = ""; }; 70 | B59A2448E3F9C97E07FDBE4A56C02A02 /* Pods-ScrollingPageControl_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ScrollingPageControl_Example-Info.plist"; sourceTree = ""; }; 71 | C8748D1F71DCF897CDCFD4B7D8F00C7E /* ScrollingPageControl.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = ScrollingPageControl.modulemap; sourceTree = ""; }; 72 | DFD6D6A325C4E4C6551A95A5BE646222 /* Pods-ScrollingPageControl_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ScrollingPageControl_Example-dummy.m"; sourceTree = ""; }; 73 | E9D9FFD76ED01A06BD827FD79194CA98 /* Pods-ScrollingPageControl_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ScrollingPageControl_Tests-acknowledgements.markdown"; sourceTree = ""; }; 74 | F0A2759DB28F795E97D9EA8FD336C28B /* Pods-ScrollingPageControl_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ScrollingPageControl_Example-frameworks.sh"; sourceTree = ""; }; 75 | F2194712E2AF20EEE535914C01C3BBF6 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 76 | /* End PBXFileReference section */ 77 | 78 | /* Begin PBXFrameworksBuildPhase section */ 79 | 8F51A0F2C75508DC7DB1BDABC8DFCEF8 /* Frameworks */ = { 80 | isa = PBXFrameworksBuildPhase; 81 | buildActionMask = 2147483647; 82 | files = ( 83 | EBC6A354ECD7476C7445864E902F165B /* Foundation.framework in Frameworks */, 84 | ); 85 | runOnlyForDeploymentPostprocessing = 0; 86 | }; 87 | A8B4E2A3416A14DA3EF70A3CF46311A6 /* Frameworks */ = { 88 | isa = PBXFrameworksBuildPhase; 89 | buildActionMask = 2147483647; 90 | files = ( 91 | 6BD621AE9971F7A77806CC370CB20A7F /* Foundation.framework in Frameworks */, 92 | DD6961D98F25B278E51522BD8C33709A /* UIKit.framework in Frameworks */, 93 | ); 94 | runOnlyForDeploymentPostprocessing = 0; 95 | }; 96 | E4765CCB95603D15522B09C38FF1FD03 /* Frameworks */ = { 97 | isa = PBXFrameworksBuildPhase; 98 | buildActionMask = 2147483647; 99 | files = ( 100 | F1CD5F83A1F20978EB139F7B55C1BC14 /* Foundation.framework in Frameworks */, 101 | ); 102 | runOnlyForDeploymentPostprocessing = 0; 103 | }; 104 | /* End PBXFrameworksBuildPhase section */ 105 | 106 | /* Begin PBXGroup section */ 107 | 1628BF05B4CAFDCC3549A101F5A10A17 /* Frameworks */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | E2983683FD097A93297E2F5D4E382B36 /* iOS */, 111 | ); 112 | name = Frameworks; 113 | sourceTree = ""; 114 | }; 115 | 4246229058257CC09984EE9F087A7CED /* Support Files */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | C8748D1F71DCF897CDCFD4B7D8F00C7E /* ScrollingPageControl.modulemap */, 119 | A3F99DDCAFD8D64D960D487CF303E40C /* ScrollingPageControl.xcconfig */, 120 | 31397FAF8ED2A20AFBDFAF701E5D23D6 /* ScrollingPageControl-dummy.m */, 121 | 9F0B7957286E6D5F375725A72FB7E4CF /* ScrollingPageControl-Info.plist */, 122 | 75EF42B93CA3343CC17E8136E982C57A /* ScrollingPageControl-prefix.pch */, 123 | 6F958D4D9121102A8EDBD4B74883151A /* ScrollingPageControl-umbrella.h */, 124 | ); 125 | name = "Support Files"; 126 | path = "Example/Pods/Target Support Files/ScrollingPageControl"; 127 | sourceTree = ""; 128 | }; 129 | 5F67CB91F1B9F34EDDF1D9D2EBDAAD1A /* Pods-ScrollingPageControl_Example */ = { 130 | isa = PBXGroup; 131 | children = ( 132 | 969D16629E10774057240949610DFD5A /* Pods-ScrollingPageControl_Example.modulemap */, 133 | 3B3511A353E5BAD1C3DC16FAB580F01D /* Pods-ScrollingPageControl_Example-acknowledgements.markdown */, 134 | 62B906526FC5C82C5E4F1E698408CB94 /* Pods-ScrollingPageControl_Example-acknowledgements.plist */, 135 | DFD6D6A325C4E4C6551A95A5BE646222 /* Pods-ScrollingPageControl_Example-dummy.m */, 136 | F0A2759DB28F795E97D9EA8FD336C28B /* Pods-ScrollingPageControl_Example-frameworks.sh */, 137 | B59A2448E3F9C97E07FDBE4A56C02A02 /* Pods-ScrollingPageControl_Example-Info.plist */, 138 | 5A145551DF78C1CC76B04FF6089C65E3 /* Pods-ScrollingPageControl_Example-umbrella.h */, 139 | 35DA290A4E7C38ED2474B22C6349E5CE /* Pods-ScrollingPageControl_Example.debug.xcconfig */, 140 | 257CFC19D4FB26D07E58BA4572132083 /* Pods-ScrollingPageControl_Example.release.xcconfig */, 141 | ); 142 | name = "Pods-ScrollingPageControl_Example"; 143 | path = "Target Support Files/Pods-ScrollingPageControl_Example"; 144 | sourceTree = ""; 145 | }; 146 | 68D819B1B0CC39732AD6BAA2B13216DB /* Targets Support Files */ = { 147 | isa = PBXGroup; 148 | children = ( 149 | 5F67CB91F1B9F34EDDF1D9D2EBDAAD1A /* Pods-ScrollingPageControl_Example */, 150 | F8F93A9795067456C0885F063BEEBD6D /* Pods-ScrollingPageControl_Tests */, 151 | ); 152 | name = "Targets Support Files"; 153 | sourceTree = ""; 154 | }; 155 | 6D8CCC22842E244ED4AFFBDB1BDD9088 /* Development Pods */ = { 156 | isa = PBXGroup; 157 | children = ( 158 | B62FA766ABE7CE8F416BE08089584259 /* ScrollingPageControl */, 159 | ); 160 | name = "Development Pods"; 161 | sourceTree = ""; 162 | }; 163 | 802EC2A5797039A011B6ECAD67DE2508 /* Products */ = { 164 | isa = PBXGroup; 165 | children = ( 166 | 5CDDD25A6E60A440873F3C5AD3CB0824 /* Pods_ScrollingPageControl_Example.framework */, 167 | 886E423E23C349DF0D2D1897C9301378 /* Pods_ScrollingPageControl_Tests.framework */, 168 | 7B652CDF0EE383423B23180487C12230 /* ScrollingPageControl.framework */, 169 | ); 170 | name = Products; 171 | sourceTree = ""; 172 | }; 173 | 8C8E3A575F66DB595B0C45CFECFA82F7 /* Pod */ = { 174 | isa = PBXGroup; 175 | children = ( 176 | F2194712E2AF20EEE535914C01C3BBF6 /* LICENSE */, 177 | 7518634293F71801B0ADB32483FBE6DC /* README.md */, 178 | 7C571545962C37E3F4F3A9B91C8DAE12 /* ScrollingPageControl.podspec */, 179 | ); 180 | name = Pod; 181 | sourceTree = ""; 182 | }; 183 | B62FA766ABE7CE8F416BE08089584259 /* ScrollingPageControl */ = { 184 | isa = PBXGroup; 185 | children = ( 186 | 356078394FACBEFEB221A017F9F2D109 /* CircularView.swift */, 187 | A5FF98A36A906280C7E9BD25678B377A /* ScrollingPageControl.swift */, 188 | 8C8E3A575F66DB595B0C45CFECFA82F7 /* Pod */, 189 | 4246229058257CC09984EE9F087A7CED /* Support Files */, 190 | ); 191 | name = ScrollingPageControl; 192 | path = ../..; 193 | sourceTree = ""; 194 | }; 195 | CF1408CF629C7361332E53B88F7BD30C = { 196 | isa = PBXGroup; 197 | children = ( 198 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 199 | 6D8CCC22842E244ED4AFFBDB1BDD9088 /* Development Pods */, 200 | 1628BF05B4CAFDCC3549A101F5A10A17 /* Frameworks */, 201 | 802EC2A5797039A011B6ECAD67DE2508 /* Products */, 202 | 68D819B1B0CC39732AD6BAA2B13216DB /* Targets Support Files */, 203 | ); 204 | sourceTree = ""; 205 | }; 206 | E2983683FD097A93297E2F5D4E382B36 /* iOS */ = { 207 | isa = PBXGroup; 208 | children = ( 209 | 436BAA54A31999B53B3CC7115C55FE50 /* Foundation.framework */, 210 | 312B988EF117AE4DE76A268D970131FE /* UIKit.framework */, 211 | ); 212 | name = iOS; 213 | sourceTree = ""; 214 | }; 215 | F8F93A9795067456C0885F063BEEBD6D /* Pods-ScrollingPageControl_Tests */ = { 216 | isa = PBXGroup; 217 | children = ( 218 | 094DCD78FF95C549DB117D527A1EB298 /* Pods-ScrollingPageControl_Tests.modulemap */, 219 | E9D9FFD76ED01A06BD827FD79194CA98 /* Pods-ScrollingPageControl_Tests-acknowledgements.markdown */, 220 | 507D8BA4FF2C24DA6B22343C6D598595 /* Pods-ScrollingPageControl_Tests-acknowledgements.plist */, 221 | 3E0C5AF2C22A0515333369146043D464 /* Pods-ScrollingPageControl_Tests-dummy.m */, 222 | 90D8877096D2E6F16CD905CF4040AEA8 /* Pods-ScrollingPageControl_Tests-Info.plist */, 223 | 90000AC4BE0DD8EE981B0B93F7A100E4 /* Pods-ScrollingPageControl_Tests-umbrella.h */, 224 | 1C901C93380D20EA88D27BF81D6882FE /* Pods-ScrollingPageControl_Tests.debug.xcconfig */, 225 | 5C3D3F8997A25C5CE6A234FF1B590DAF /* Pods-ScrollingPageControl_Tests.release.xcconfig */, 226 | ); 227 | name = "Pods-ScrollingPageControl_Tests"; 228 | path = "Target Support Files/Pods-ScrollingPageControl_Tests"; 229 | sourceTree = ""; 230 | }; 231 | /* End PBXGroup section */ 232 | 233 | /* Begin PBXHeadersBuildPhase section */ 234 | 55CE17B0C7B44F46D0CFFED9464D4C9E /* Headers */ = { 235 | isa = PBXHeadersBuildPhase; 236 | buildActionMask = 2147483647; 237 | files = ( 238 | 95D32DE6B40F4D376E9F5C3D1E13DF7F /* Pods-ScrollingPageControl_Example-umbrella.h in Headers */, 239 | ); 240 | runOnlyForDeploymentPostprocessing = 0; 241 | }; 242 | 58A8D0DAD5AC88A0632C7AA524FCCAF8 /* Headers */ = { 243 | isa = PBXHeadersBuildPhase; 244 | buildActionMask = 2147483647; 245 | files = ( 246 | F7D53688F81D8E0D985D4EEBA5C6760E /* ScrollingPageControl-umbrella.h in Headers */, 247 | ); 248 | runOnlyForDeploymentPostprocessing = 0; 249 | }; 250 | 92A8613AB63C32950D86210606CA4322 /* Headers */ = { 251 | isa = PBXHeadersBuildPhase; 252 | buildActionMask = 2147483647; 253 | files = ( 254 | DE252B9DAE2AC8378166F8CE7D57FDE6 /* Pods-ScrollingPageControl_Tests-umbrella.h in Headers */, 255 | ); 256 | runOnlyForDeploymentPostprocessing = 0; 257 | }; 258 | /* End PBXHeadersBuildPhase section */ 259 | 260 | /* Begin PBXNativeTarget section */ 261 | 6FB8BBD1DA7B1DE8EA9B66D1239A7E02 /* Pods-ScrollingPageControl_Tests */ = { 262 | isa = PBXNativeTarget; 263 | buildConfigurationList = 1942DD8ABAF45FECF8EA9A50CA1EF4E1 /* Build configuration list for PBXNativeTarget "Pods-ScrollingPageControl_Tests" */; 264 | buildPhases = ( 265 | 92A8613AB63C32950D86210606CA4322 /* Headers */, 266 | 2086C3548F6099FDD813E07869A71B5F /* Sources */, 267 | 8F51A0F2C75508DC7DB1BDABC8DFCEF8 /* Frameworks */, 268 | 3F98EC67A17F0044502C5038E8460184 /* Resources */, 269 | ); 270 | buildRules = ( 271 | ); 272 | dependencies = ( 273 | DA6335DB1D52C1E3471E7A68971E3C3B /* PBXTargetDependency */, 274 | ); 275 | name = "Pods-ScrollingPageControl_Tests"; 276 | productName = "Pods-ScrollingPageControl_Tests"; 277 | productReference = 886E423E23C349DF0D2D1897C9301378 /* Pods_ScrollingPageControl_Tests.framework */; 278 | productType = "com.apple.product-type.framework"; 279 | }; 280 | D1A4A7CE621456B8B25FEEEF27FC983F /* ScrollingPageControl */ = { 281 | isa = PBXNativeTarget; 282 | buildConfigurationList = 70F6430F9AF30BEFCEC645CA033A3C36 /* Build configuration list for PBXNativeTarget "ScrollingPageControl" */; 283 | buildPhases = ( 284 | 58A8D0DAD5AC88A0632C7AA524FCCAF8 /* Headers */, 285 | E717DA29139B9344356818BC37BB95AB /* Sources */, 286 | A8B4E2A3416A14DA3EF70A3CF46311A6 /* Frameworks */, 287 | F0A838A0C9896393222AB0C2E24A300E /* Resources */, 288 | ); 289 | buildRules = ( 290 | ); 291 | dependencies = ( 292 | ); 293 | name = ScrollingPageControl; 294 | productName = ScrollingPageControl; 295 | productReference = 7B652CDF0EE383423B23180487C12230 /* ScrollingPageControl.framework */; 296 | productType = "com.apple.product-type.framework"; 297 | }; 298 | E4F8E6188370B81AEA43C868FC7BA0C2 /* Pods-ScrollingPageControl_Example */ = { 299 | isa = PBXNativeTarget; 300 | buildConfigurationList = 21E37D99B1C58B83FA4CACE960DAF74C /* Build configuration list for PBXNativeTarget "Pods-ScrollingPageControl_Example" */; 301 | buildPhases = ( 302 | 55CE17B0C7B44F46D0CFFED9464D4C9E /* Headers */, 303 | 581A5F3FC056B8E9779A9CDD8D80A9B6 /* Sources */, 304 | E4765CCB95603D15522B09C38FF1FD03 /* Frameworks */, 305 | 15341829932784A731CD698E31E79CAA /* Resources */, 306 | ); 307 | buildRules = ( 308 | ); 309 | dependencies = ( 310 | 2D0A012956AA119CD95E27893B372FB1 /* PBXTargetDependency */, 311 | ); 312 | name = "Pods-ScrollingPageControl_Example"; 313 | productName = "Pods-ScrollingPageControl_Example"; 314 | productReference = 5CDDD25A6E60A440873F3C5AD3CB0824 /* Pods_ScrollingPageControl_Example.framework */; 315 | productType = "com.apple.product-type.framework"; 316 | }; 317 | /* End PBXNativeTarget section */ 318 | 319 | /* Begin PBXProject section */ 320 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 321 | isa = PBXProject; 322 | attributes = { 323 | LastSwiftUpdateCheck = 1100; 324 | LastUpgradeCheck = 1310; 325 | }; 326 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 327 | compatibilityVersion = "Xcode 3.2"; 328 | developmentRegion = en; 329 | hasScannedForEncodings = 0; 330 | knownRegions = ( 331 | en, 332 | Base, 333 | ); 334 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 335 | productRefGroup = 802EC2A5797039A011B6ECAD67DE2508 /* Products */; 336 | projectDirPath = ""; 337 | projectRoot = ""; 338 | targets = ( 339 | E4F8E6188370B81AEA43C868FC7BA0C2 /* Pods-ScrollingPageControl_Example */, 340 | 6FB8BBD1DA7B1DE8EA9B66D1239A7E02 /* Pods-ScrollingPageControl_Tests */, 341 | D1A4A7CE621456B8B25FEEEF27FC983F /* ScrollingPageControl */, 342 | ); 343 | }; 344 | /* End PBXProject section */ 345 | 346 | /* Begin PBXResourcesBuildPhase section */ 347 | 15341829932784A731CD698E31E79CAA /* Resources */ = { 348 | isa = PBXResourcesBuildPhase; 349 | buildActionMask = 2147483647; 350 | files = ( 351 | ); 352 | runOnlyForDeploymentPostprocessing = 0; 353 | }; 354 | 3F98EC67A17F0044502C5038E8460184 /* Resources */ = { 355 | isa = PBXResourcesBuildPhase; 356 | buildActionMask = 2147483647; 357 | files = ( 358 | ); 359 | runOnlyForDeploymentPostprocessing = 0; 360 | }; 361 | F0A838A0C9896393222AB0C2E24A300E /* Resources */ = { 362 | isa = PBXResourcesBuildPhase; 363 | buildActionMask = 2147483647; 364 | files = ( 365 | ); 366 | runOnlyForDeploymentPostprocessing = 0; 367 | }; 368 | /* End PBXResourcesBuildPhase section */ 369 | 370 | /* Begin PBXSourcesBuildPhase section */ 371 | 2086C3548F6099FDD813E07869A71B5F /* Sources */ = { 372 | isa = PBXSourcesBuildPhase; 373 | buildActionMask = 2147483647; 374 | files = ( 375 | AD714EE452977FBCAE2400B83637F434 /* Pods-ScrollingPageControl_Tests-dummy.m in Sources */, 376 | ); 377 | runOnlyForDeploymentPostprocessing = 0; 378 | }; 379 | 581A5F3FC056B8E9779A9CDD8D80A9B6 /* Sources */ = { 380 | isa = PBXSourcesBuildPhase; 381 | buildActionMask = 2147483647; 382 | files = ( 383 | 49D914B123613F7D289C622AD679FE4A /* Pods-ScrollingPageControl_Example-dummy.m in Sources */, 384 | ); 385 | runOnlyForDeploymentPostprocessing = 0; 386 | }; 387 | E717DA29139B9344356818BC37BB95AB /* Sources */ = { 388 | isa = PBXSourcesBuildPhase; 389 | buildActionMask = 2147483647; 390 | files = ( 391 | 381E3F1335B06F78BA4483692AD38F6A /* CircularView.swift in Sources */, 392 | F5A59E1759411B06C5E880D549282E45 /* ScrollingPageControl-dummy.m in Sources */, 393 | 94539AE46A25CB2299989E7526B31F69 /* ScrollingPageControl.swift in Sources */, 394 | ); 395 | runOnlyForDeploymentPostprocessing = 0; 396 | }; 397 | /* End PBXSourcesBuildPhase section */ 398 | 399 | /* Begin PBXTargetDependency section */ 400 | 2D0A012956AA119CD95E27893B372FB1 /* PBXTargetDependency */ = { 401 | isa = PBXTargetDependency; 402 | name = ScrollingPageControl; 403 | target = D1A4A7CE621456B8B25FEEEF27FC983F /* ScrollingPageControl */; 404 | targetProxy = 5D49EF6A30FFED2FCA80409DC696AA3F /* PBXContainerItemProxy */; 405 | }; 406 | DA6335DB1D52C1E3471E7A68971E3C3B /* PBXTargetDependency */ = { 407 | isa = PBXTargetDependency; 408 | name = "Pods-ScrollingPageControl_Example"; 409 | target = E4F8E6188370B81AEA43C868FC7BA0C2 /* Pods-ScrollingPageControl_Example */; 410 | targetProxy = 04E0F50A451DFC4D26465E9C6425E183 /* PBXContainerItemProxy */; 411 | }; 412 | /* End PBXTargetDependency section */ 413 | 414 | /* Begin XCBuildConfiguration section */ 415 | 124CB96D4E85617A16C95203942CD0DA /* Debug */ = { 416 | isa = XCBuildConfiguration; 417 | baseConfigurationReference = 35DA290A4E7C38ED2474B22C6349E5CE /* Pods-ScrollingPageControl_Example.debug.xcconfig */; 418 | buildSettings = { 419 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 420 | CODE_SIGN_IDENTITY = ""; 421 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 422 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 423 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 424 | CURRENT_PROJECT_VERSION = 1; 425 | DEFINES_MODULE = YES; 426 | DYLIB_COMPATIBILITY_VERSION = 1; 427 | DYLIB_CURRENT_VERSION = 1; 428 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 429 | INFOPLIST_FILE = "Target Support Files/Pods-ScrollingPageControl_Example/Pods-ScrollingPageControl_Example-Info.plist"; 430 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 431 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 432 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 433 | MACH_O_TYPE = staticlib; 434 | MODULEMAP_FILE = "Target Support Files/Pods-ScrollingPageControl_Example/Pods-ScrollingPageControl_Example.modulemap"; 435 | OTHER_LDFLAGS = ""; 436 | OTHER_LIBTOOLFLAGS = ""; 437 | PODS_ROOT = "$(SRCROOT)"; 438 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 439 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 440 | SDKROOT = iphoneos; 441 | SKIP_INSTALL = YES; 442 | TARGETED_DEVICE_FAMILY = "1,2"; 443 | VERSIONING_SYSTEM = "apple-generic"; 444 | VERSION_INFO_PREFIX = ""; 445 | }; 446 | name = Debug; 447 | }; 448 | 2DD9530EE17AE221356598F913216D6A /* Release */ = { 449 | isa = XCBuildConfiguration; 450 | baseConfigurationReference = A3F99DDCAFD8D64D960D487CF303E40C /* ScrollingPageControl.xcconfig */; 451 | buildSettings = { 452 | CLANG_ENABLE_OBJC_WEAK = NO; 453 | CODE_SIGN_IDENTITY = ""; 454 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 455 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 456 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 457 | CURRENT_PROJECT_VERSION = 1; 458 | DEFINES_MODULE = YES; 459 | DYLIB_COMPATIBILITY_VERSION = 1; 460 | DYLIB_CURRENT_VERSION = 1; 461 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 462 | GCC_PREFIX_HEADER = "Target Support Files/ScrollingPageControl/ScrollingPageControl-prefix.pch"; 463 | INFOPLIST_FILE = "Target Support Files/ScrollingPageControl/ScrollingPageControl-Info.plist"; 464 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 465 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 466 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 467 | MODULEMAP_FILE = "Target Support Files/ScrollingPageControl/ScrollingPageControl.modulemap"; 468 | PRODUCT_MODULE_NAME = ScrollingPageControl; 469 | PRODUCT_NAME = ScrollingPageControl; 470 | SDKROOT = iphoneos; 471 | SKIP_INSTALL = YES; 472 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 473 | SWIFT_VERSION = 5.1; 474 | TARGETED_DEVICE_FAMILY = "1,2"; 475 | VALIDATE_PRODUCT = YES; 476 | VERSIONING_SYSTEM = "apple-generic"; 477 | VERSION_INFO_PREFIX = ""; 478 | }; 479 | name = Release; 480 | }; 481 | 689F120CEA553091E1440F1E25CA7AE2 /* Release */ = { 482 | isa = XCBuildConfiguration; 483 | baseConfigurationReference = 5C3D3F8997A25C5CE6A234FF1B590DAF /* Pods-ScrollingPageControl_Tests.release.xcconfig */; 484 | buildSettings = { 485 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 486 | CODE_SIGN_IDENTITY = ""; 487 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 488 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 489 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 490 | CURRENT_PROJECT_VERSION = 1; 491 | DEFINES_MODULE = YES; 492 | DYLIB_COMPATIBILITY_VERSION = 1; 493 | DYLIB_CURRENT_VERSION = 1; 494 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 495 | INFOPLIST_FILE = "Target Support Files/Pods-ScrollingPageControl_Tests/Pods-ScrollingPageControl_Tests-Info.plist"; 496 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 497 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 498 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 499 | MACH_O_TYPE = staticlib; 500 | MODULEMAP_FILE = "Target Support Files/Pods-ScrollingPageControl_Tests/Pods-ScrollingPageControl_Tests.modulemap"; 501 | OTHER_LDFLAGS = ""; 502 | OTHER_LIBTOOLFLAGS = ""; 503 | PODS_ROOT = "$(SRCROOT)"; 504 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 505 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 506 | SDKROOT = iphoneos; 507 | SKIP_INSTALL = YES; 508 | TARGETED_DEVICE_FAMILY = "1,2"; 509 | VALIDATE_PRODUCT = YES; 510 | VERSIONING_SYSTEM = "apple-generic"; 511 | VERSION_INFO_PREFIX = ""; 512 | }; 513 | name = Release; 514 | }; 515 | 839AD1E04D27D05097ED421C5A5A7059 /* Debug */ = { 516 | isa = XCBuildConfiguration; 517 | baseConfigurationReference = A3F99DDCAFD8D64D960D487CF303E40C /* ScrollingPageControl.xcconfig */; 518 | buildSettings = { 519 | CLANG_ENABLE_OBJC_WEAK = NO; 520 | CODE_SIGN_IDENTITY = ""; 521 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 522 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 523 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 524 | CURRENT_PROJECT_VERSION = 1; 525 | DEFINES_MODULE = YES; 526 | DYLIB_COMPATIBILITY_VERSION = 1; 527 | DYLIB_CURRENT_VERSION = 1; 528 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 529 | GCC_PREFIX_HEADER = "Target Support Files/ScrollingPageControl/ScrollingPageControl-prefix.pch"; 530 | INFOPLIST_FILE = "Target Support Files/ScrollingPageControl/ScrollingPageControl-Info.plist"; 531 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 532 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 533 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 534 | MODULEMAP_FILE = "Target Support Files/ScrollingPageControl/ScrollingPageControl.modulemap"; 535 | PRODUCT_MODULE_NAME = ScrollingPageControl; 536 | PRODUCT_NAME = ScrollingPageControl; 537 | SDKROOT = iphoneos; 538 | SKIP_INSTALL = YES; 539 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 540 | SWIFT_VERSION = 5.1; 541 | TARGETED_DEVICE_FAMILY = "1,2"; 542 | VERSIONING_SYSTEM = "apple-generic"; 543 | VERSION_INFO_PREFIX = ""; 544 | }; 545 | name = Debug; 546 | }; 547 | 86618D933E870592A4E3EC4D305054A8 /* Release */ = { 548 | isa = XCBuildConfiguration; 549 | baseConfigurationReference = 257CFC19D4FB26D07E58BA4572132083 /* Pods-ScrollingPageControl_Example.release.xcconfig */; 550 | buildSettings = { 551 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 552 | CODE_SIGN_IDENTITY = ""; 553 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 554 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 555 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 556 | CURRENT_PROJECT_VERSION = 1; 557 | DEFINES_MODULE = YES; 558 | DYLIB_COMPATIBILITY_VERSION = 1; 559 | DYLIB_CURRENT_VERSION = 1; 560 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 561 | INFOPLIST_FILE = "Target Support Files/Pods-ScrollingPageControl_Example/Pods-ScrollingPageControl_Example-Info.plist"; 562 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 563 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 564 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 565 | MACH_O_TYPE = staticlib; 566 | MODULEMAP_FILE = "Target Support Files/Pods-ScrollingPageControl_Example/Pods-ScrollingPageControl_Example.modulemap"; 567 | OTHER_LDFLAGS = ""; 568 | OTHER_LIBTOOLFLAGS = ""; 569 | PODS_ROOT = "$(SRCROOT)"; 570 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 571 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 572 | SDKROOT = iphoneos; 573 | SKIP_INSTALL = YES; 574 | TARGETED_DEVICE_FAMILY = "1,2"; 575 | VALIDATE_PRODUCT = YES; 576 | VERSIONING_SYSTEM = "apple-generic"; 577 | VERSION_INFO_PREFIX = ""; 578 | }; 579 | name = Release; 580 | }; 581 | B0087CB4594321EF41619F3181FE120E /* Release */ = { 582 | isa = XCBuildConfiguration; 583 | buildSettings = { 584 | ALWAYS_SEARCH_USER_PATHS = NO; 585 | CLANG_ANALYZER_NONNULL = YES; 586 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 587 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 588 | CLANG_CXX_LIBRARY = "libc++"; 589 | CLANG_ENABLE_MODULES = YES; 590 | CLANG_ENABLE_OBJC_ARC = YES; 591 | CLANG_ENABLE_OBJC_WEAK = YES; 592 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 593 | CLANG_WARN_BOOL_CONVERSION = YES; 594 | CLANG_WARN_COMMA = YES; 595 | CLANG_WARN_CONSTANT_CONVERSION = YES; 596 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 597 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 598 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 599 | CLANG_WARN_EMPTY_BODY = YES; 600 | CLANG_WARN_ENUM_CONVERSION = YES; 601 | CLANG_WARN_INFINITE_RECURSION = YES; 602 | CLANG_WARN_INT_CONVERSION = YES; 603 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 604 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 605 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 606 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 607 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 608 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 609 | CLANG_WARN_STRICT_PROTOTYPES = YES; 610 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 611 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 612 | CLANG_WARN_UNREACHABLE_CODE = YES; 613 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 614 | COPY_PHASE_STRIP = NO; 615 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 616 | ENABLE_NS_ASSERTIONS = NO; 617 | ENABLE_STRICT_OBJC_MSGSEND = YES; 618 | GCC_C_LANGUAGE_STANDARD = gnu11; 619 | GCC_NO_COMMON_BLOCKS = YES; 620 | GCC_PREPROCESSOR_DEFINITIONS = ( 621 | "POD_CONFIGURATION_RELEASE=1", 622 | "$(inherited)", 623 | ); 624 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 625 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 626 | GCC_WARN_UNDECLARED_SELECTOR = YES; 627 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 628 | GCC_WARN_UNUSED_FUNCTION = YES; 629 | GCC_WARN_UNUSED_VARIABLE = YES; 630 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 631 | MTL_ENABLE_DEBUG_INFO = NO; 632 | MTL_FAST_MATH = YES; 633 | PRODUCT_NAME = "$(TARGET_NAME)"; 634 | STRIP_INSTALLED_PRODUCT = NO; 635 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 636 | SWIFT_VERSION = 5.0; 637 | SYMROOT = "${SRCROOT}/../build"; 638 | }; 639 | name = Release; 640 | }; 641 | B8BCBD0110C2658BB5DAADB9B7D97B92 /* Debug */ = { 642 | isa = XCBuildConfiguration; 643 | buildSettings = { 644 | ALWAYS_SEARCH_USER_PATHS = NO; 645 | CLANG_ANALYZER_NONNULL = YES; 646 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 647 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 648 | CLANG_CXX_LIBRARY = "libc++"; 649 | CLANG_ENABLE_MODULES = YES; 650 | CLANG_ENABLE_OBJC_ARC = YES; 651 | CLANG_ENABLE_OBJC_WEAK = YES; 652 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 653 | CLANG_WARN_BOOL_CONVERSION = YES; 654 | CLANG_WARN_COMMA = YES; 655 | CLANG_WARN_CONSTANT_CONVERSION = YES; 656 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 657 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 658 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 659 | CLANG_WARN_EMPTY_BODY = YES; 660 | CLANG_WARN_ENUM_CONVERSION = YES; 661 | CLANG_WARN_INFINITE_RECURSION = YES; 662 | CLANG_WARN_INT_CONVERSION = YES; 663 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 664 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 665 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 666 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 667 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 668 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 669 | CLANG_WARN_STRICT_PROTOTYPES = YES; 670 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 671 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 672 | CLANG_WARN_UNREACHABLE_CODE = YES; 673 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 674 | COPY_PHASE_STRIP = NO; 675 | DEBUG_INFORMATION_FORMAT = dwarf; 676 | ENABLE_STRICT_OBJC_MSGSEND = YES; 677 | ENABLE_TESTABILITY = YES; 678 | GCC_C_LANGUAGE_STANDARD = gnu11; 679 | GCC_DYNAMIC_NO_PIC = NO; 680 | GCC_NO_COMMON_BLOCKS = YES; 681 | GCC_OPTIMIZATION_LEVEL = 0; 682 | GCC_PREPROCESSOR_DEFINITIONS = ( 683 | "POD_CONFIGURATION_DEBUG=1", 684 | "DEBUG=1", 685 | "$(inherited)", 686 | ); 687 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 688 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 689 | GCC_WARN_UNDECLARED_SELECTOR = YES; 690 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 691 | GCC_WARN_UNUSED_FUNCTION = YES; 692 | GCC_WARN_UNUSED_VARIABLE = YES; 693 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 694 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 695 | MTL_FAST_MATH = YES; 696 | ONLY_ACTIVE_ARCH = YES; 697 | PRODUCT_NAME = "$(TARGET_NAME)"; 698 | STRIP_INSTALLED_PRODUCT = NO; 699 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 700 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 701 | SWIFT_VERSION = 5.0; 702 | SYMROOT = "${SRCROOT}/../build"; 703 | }; 704 | name = Debug; 705 | }; 706 | E90C9D3C89B08D6CF2238A7089779842 /* Debug */ = { 707 | isa = XCBuildConfiguration; 708 | baseConfigurationReference = 1C901C93380D20EA88D27BF81D6882FE /* Pods-ScrollingPageControl_Tests.debug.xcconfig */; 709 | buildSettings = { 710 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 711 | CODE_SIGN_IDENTITY = ""; 712 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 713 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 714 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 715 | CURRENT_PROJECT_VERSION = 1; 716 | DEFINES_MODULE = YES; 717 | DYLIB_COMPATIBILITY_VERSION = 1; 718 | DYLIB_CURRENT_VERSION = 1; 719 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 720 | INFOPLIST_FILE = "Target Support Files/Pods-ScrollingPageControl_Tests/Pods-ScrollingPageControl_Tests-Info.plist"; 721 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 722 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 723 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 724 | MACH_O_TYPE = staticlib; 725 | MODULEMAP_FILE = "Target Support Files/Pods-ScrollingPageControl_Tests/Pods-ScrollingPageControl_Tests.modulemap"; 726 | OTHER_LDFLAGS = ""; 727 | OTHER_LIBTOOLFLAGS = ""; 728 | PODS_ROOT = "$(SRCROOT)"; 729 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 730 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 731 | SDKROOT = iphoneos; 732 | SKIP_INSTALL = YES; 733 | TARGETED_DEVICE_FAMILY = "1,2"; 734 | VERSIONING_SYSTEM = "apple-generic"; 735 | VERSION_INFO_PREFIX = ""; 736 | }; 737 | name = Debug; 738 | }; 739 | /* End XCBuildConfiguration section */ 740 | 741 | /* Begin XCConfigurationList section */ 742 | 1942DD8ABAF45FECF8EA9A50CA1EF4E1 /* Build configuration list for PBXNativeTarget "Pods-ScrollingPageControl_Tests" */ = { 743 | isa = XCConfigurationList; 744 | buildConfigurations = ( 745 | E90C9D3C89B08D6CF2238A7089779842 /* Debug */, 746 | 689F120CEA553091E1440F1E25CA7AE2 /* Release */, 747 | ); 748 | defaultConfigurationIsVisible = 0; 749 | defaultConfigurationName = Release; 750 | }; 751 | 21E37D99B1C58B83FA4CACE960DAF74C /* Build configuration list for PBXNativeTarget "Pods-ScrollingPageControl_Example" */ = { 752 | isa = XCConfigurationList; 753 | buildConfigurations = ( 754 | 124CB96D4E85617A16C95203942CD0DA /* Debug */, 755 | 86618D933E870592A4E3EC4D305054A8 /* Release */, 756 | ); 757 | defaultConfigurationIsVisible = 0; 758 | defaultConfigurationName = Release; 759 | }; 760 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 761 | isa = XCConfigurationList; 762 | buildConfigurations = ( 763 | B8BCBD0110C2658BB5DAADB9B7D97B92 /* Debug */, 764 | B0087CB4594321EF41619F3181FE120E /* Release */, 765 | ); 766 | defaultConfigurationIsVisible = 0; 767 | defaultConfigurationName = Release; 768 | }; 769 | 70F6430F9AF30BEFCEC645CA033A3C36 /* Build configuration list for PBXNativeTarget "ScrollingPageControl" */ = { 770 | isa = XCConfigurationList; 771 | buildConfigurations = ( 772 | 839AD1E04D27D05097ED421C5A5A7059 /* Debug */, 773 | 2DD9530EE17AE221356598F913216D6A /* Release */, 774 | ); 775 | defaultConfigurationIsVisible = 0; 776 | defaultConfigurationName = Release; 777 | }; 778 | /* End XCConfigurationList section */ 779 | }; 780 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 781 | } 782 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScrollingPageControl_Example/Pods-ScrollingPageControl_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-ScrollingPageControl_Example/Pods-ScrollingPageControl_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## ScrollingPageControl 5 | 6 | MIT License 7 | 8 | Copyright (c) 2018 Emilio Peláez 9 | 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | 17 | The above copyright notice and this permission notice shall be included in all 18 | copies or substantial portions of the Software. 19 | 20 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 23 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 25 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 26 | SOFTWARE. 27 | 28 | Generated by CocoaPods - https://cocoapods.org 29 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScrollingPageControl_Example/Pods-ScrollingPageControl_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 | MIT License 18 | 19 | Copyright (c) 2018 Emilio Peláez 20 | 21 | Permission is hereby granted, free of charge, to any person obtaining a copy 22 | of this software and associated documentation files (the "Software"), to deal 23 | in the Software without restriction, including without limitation the rights 24 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 25 | copies of the Software, and to permit persons to whom the Software is 26 | furnished to do so, subject to the following conditions: 27 | 28 | The above copyright notice and this permission notice shall be included in all 29 | copies or substantial portions of the Software. 30 | 31 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 32 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 33 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 34 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 35 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 36 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 37 | SOFTWARE. 38 | 39 | License 40 | MIT 41 | Title 42 | ScrollingPageControl 43 | Type 44 | PSGroupSpecifier 45 | 46 | 47 | FooterText 48 | Generated by CocoaPods - https://cocoapods.org 49 | Title 50 | 51 | Type 52 | PSGroupSpecifier 53 | 54 | 55 | StringsTable 56 | Acknowledgements 57 | Title 58 | Acknowledgements 59 | 60 | 61 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScrollingPageControl_Example/Pods-ScrollingPageControl_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ScrollingPageControl_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ScrollingPageControl_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScrollingPageControl_Example/Pods-ScrollingPageControl_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | 23 | # Used as a return value for each invocation of `strip_invalid_archs` function. 24 | STRIP_BINARY_RETVAL=0 25 | 26 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 27 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 28 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 29 | 30 | # Copies and strips a vendored framework 31 | install_framework() 32 | { 33 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 34 | local source="${BUILT_PRODUCTS_DIR}/$1" 35 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 36 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 37 | elif [ -r "$1" ]; then 38 | local source="$1" 39 | fi 40 | 41 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 42 | 43 | if [ -L "${source}" ]; then 44 | echo "Symlinked..." 45 | source="$(readlink "${source}")" 46 | fi 47 | 48 | # Use filter instead of exclude so missing patterns don't throw errors. 49 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 50 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 51 | 52 | local basename 53 | basename="$(basename -s .framework "$1")" 54 | binary="${destination}/${basename}.framework/${basename}" 55 | 56 | if ! [ -r "$binary" ]; then 57 | binary="${destination}/${basename}" 58 | elif [ -L "${binary}" ]; then 59 | echo "Destination binary is symlinked..." 60 | dirname="$(dirname "${binary}")" 61 | binary="${dirname}/$(readlink "${binary}")" 62 | fi 63 | 64 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 65 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 66 | strip_invalid_archs "$binary" 67 | fi 68 | 69 | # Resign the code if required by the build settings to avoid unstable apps 70 | code_sign_if_enabled "${destination}/$(basename "$1")" 71 | 72 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 73 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 74 | local swift_runtime_libs 75 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 76 | for lib in $swift_runtime_libs; do 77 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 78 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 79 | code_sign_if_enabled "${destination}/${lib}" 80 | done 81 | fi 82 | } 83 | 84 | # Copies and strips a vendored dSYM 85 | install_dsym() { 86 | local source="$1" 87 | if [ -r "$source" ]; then 88 | # Copy the dSYM into a the targets temp dir. 89 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 90 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 91 | 92 | local basename 93 | basename="$(basename -s .framework.dSYM "$source")" 94 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 95 | 96 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 97 | if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then 98 | strip_invalid_archs "$binary" 99 | fi 100 | 101 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 102 | # Move the stripped file into its final destination. 103 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 104 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 105 | else 106 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 107 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 108 | fi 109 | fi 110 | } 111 | 112 | # Copies the bcsymbolmap files of a vendored framework 113 | install_bcsymbolmap() { 114 | local bcsymbolmap_path="$1" 115 | local destination="${BUILT_PRODUCTS_DIR}" 116 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" 117 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" 118 | } 119 | 120 | # Signs a framework with the provided identity 121 | code_sign_if_enabled() { 122 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 123 | # Use the current code_sign_identity 124 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 125 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 126 | 127 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 128 | code_sign_cmd="$code_sign_cmd &" 129 | fi 130 | echo "$code_sign_cmd" 131 | eval "$code_sign_cmd" 132 | fi 133 | } 134 | 135 | # Strip invalid architectures 136 | strip_invalid_archs() { 137 | binary="$1" 138 | # Get architectures for current target binary 139 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 140 | # Intersect them with the architectures we are building for 141 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 142 | # If there are no archs supported by this binary then warn the user 143 | if [[ -z "$intersected_archs" ]]; then 144 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 145 | STRIP_BINARY_RETVAL=0 146 | return 147 | fi 148 | stripped="" 149 | for arch in $binary_archs; do 150 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 151 | # Strip non-valid architectures in-place 152 | lipo -remove "$arch" -output "$binary" "$binary" 153 | stripped="$stripped $arch" 154 | fi 155 | done 156 | if [[ "$stripped" ]]; then 157 | echo "Stripped $binary of architectures:$stripped" 158 | fi 159 | STRIP_BINARY_RETVAL=1 160 | } 161 | 162 | 163 | if [[ "$CONFIGURATION" == "Debug" ]]; then 164 | install_framework "${BUILT_PRODUCTS_DIR}/ScrollingPageControl/ScrollingPageControl.framework" 165 | fi 166 | if [[ "$CONFIGURATION" == "Release" ]]; then 167 | install_framework "${BUILT_PRODUCTS_DIR}/ScrollingPageControl/ScrollingPageControl.framework" 168 | fi 169 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 170 | wait 171 | fi 172 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScrollingPageControl_Example/Pods-ScrollingPageControl_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_ScrollingPageControl_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ScrollingPageControl_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScrollingPageControl_Example/Pods-ScrollingPageControl_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ScrollingPageControl" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ScrollingPageControl/ScrollingPageControl.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "ScrollingPageControl" -framework "UIKit" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScrollingPageControl_Example/Pods-ScrollingPageControl_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ScrollingPageControl_Example { 2 | umbrella header "Pods-ScrollingPageControl_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScrollingPageControl_Example/Pods-ScrollingPageControl_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ScrollingPageControl" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ScrollingPageControl/ScrollingPageControl.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "ScrollingPageControl" -framework "UIKit" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScrollingPageControl_Tests/Pods-ScrollingPageControl_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-ScrollingPageControl_Tests/Pods-ScrollingPageControl_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-ScrollingPageControl_Tests/Pods-ScrollingPageControl_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-ScrollingPageControl_Tests/Pods-ScrollingPageControl_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ScrollingPageControl_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ScrollingPageControl_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScrollingPageControl_Tests/Pods-ScrollingPageControl_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_ScrollingPageControl_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ScrollingPageControl_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScrollingPageControl_Tests/Pods-ScrollingPageControl_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ScrollingPageControl" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ScrollingPageControl/ScrollingPageControl.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "ScrollingPageControl" -framework "UIKit" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScrollingPageControl_Tests/Pods-ScrollingPageControl_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ScrollingPageControl_Tests { 2 | umbrella header "Pods-ScrollingPageControl_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScrollingPageControl_Tests/Pods-ScrollingPageControl_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ScrollingPageControl" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ScrollingPageControl/ScrollingPageControl.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "ScrollingPageControl" -framework "UIKit" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ScrollingPageControl/ScrollingPageControl-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/ScrollingPageControl/ScrollingPageControl-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ScrollingPageControl : NSObject 3 | @end 4 | @implementation PodsDummy_ScrollingPageControl 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ScrollingPageControl/ScrollingPageControl-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ScrollingPageControl/ScrollingPageControl-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ScrollingPageControlVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ScrollingPageControlVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ScrollingPageControl/ScrollingPageControl.modulemap: -------------------------------------------------------------------------------- 1 | framework module ScrollingPageControl { 2 | umbrella header "ScrollingPageControl-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ScrollingPageControl/ScrollingPageControl.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ScrollingPageControl 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_LDFLAGS = $(inherited) -framework "UIKit" 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/ScrollingPageControl.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 0623F0127552CA80A365B9A4 /* Pods_ScrollingPageControl_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED72E479A88FEED77610D931 /* Pods_ScrollingPageControl_Example.framework */; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACD81AFB9204008FA782 /* TestViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* TestViewController.swift */; }; 13 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 14 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 15 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 16 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 17 | C8054D392165D87800EBFC97 /* TriangleView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8054D382165D87800EBFC97 /* TriangleView.swift */; }; 18 | CE13036F2A44D43F8467A0E0 /* Pods_ScrollingPageControl_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A326994D01F44C3DC976F023 /* Pods_ScrollingPageControl_Tests.framework */; }; 19 | /* End PBXBuildFile section */ 20 | 21 | /* Begin PBXContainerItemProxy section */ 22 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 23 | isa = PBXContainerItemProxy; 24 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 25 | proxyType = 1; 26 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 27 | remoteInfo = ScrollingPageControl; 28 | }; 29 | /* End PBXContainerItemProxy section */ 30 | 31 | /* Begin PBXFileReference section */ 32 | 25BF12CE4F76A25BF1DB5FBE /* Pods-ScrollingPageControl_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ScrollingPageControl_Example.release.xcconfig"; path = "Target Support Files/Pods-ScrollingPageControl_Example/Pods-ScrollingPageControl_Example.release.xcconfig"; sourceTree = ""; }; 33 | 2DDD1276A7C08628E3D9C03E /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 34 | 48DCBB06E74FD42DB3AC9E59 /* Pods-ScrollingPageControl_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ScrollingPageControl_Tests.release.xcconfig"; path = "Target Support Files/Pods-ScrollingPageControl_Tests/Pods-ScrollingPageControl_Tests.release.xcconfig"; sourceTree = ""; }; 35 | 60631E68526E52BC67E66E76 /* Pods-ScrollingPageControl_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ScrollingPageControl_Example.debug.xcconfig"; path = "Target Support Files/Pods-ScrollingPageControl_Example/Pods-ScrollingPageControl_Example.debug.xcconfig"; sourceTree = ""; }; 36 | 607FACD01AFB9204008FA782 /* ScrollingPageControl_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ScrollingPageControl_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 37 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 38 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 39 | 607FACD71AFB9204008FA782 /* TestViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestViewController.swift; sourceTree = ""; }; 40 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 41 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 42 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 43 | 607FACE51AFB9204008FA782 /* ScrollingPageControl_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ScrollingPageControl_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 46 | 7D6852C3520572A231E40DFC /* Pods-ScrollingPageControl_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ScrollingPageControl_Tests.debug.xcconfig"; path = "Target Support Files/Pods-ScrollingPageControl_Tests/Pods-ScrollingPageControl_Tests.debug.xcconfig"; sourceTree = ""; }; 47 | 8AF2C24E80BDE2DBC42D7542 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 48 | 9EFB5D2EDC8E25FD45ED5322 /* ScrollingPageControl.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = ScrollingPageControl.podspec; path = ../ScrollingPageControl.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 49 | A326994D01F44C3DC976F023 /* Pods_ScrollingPageControl_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ScrollingPageControl_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | C8054D382165D87800EBFC97 /* TriangleView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TriangleView.swift; sourceTree = ""; }; 51 | ED72E479A88FEED77610D931 /* Pods_ScrollingPageControl_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ScrollingPageControl_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | /* End PBXFileReference section */ 53 | 54 | /* Begin PBXFrameworksBuildPhase section */ 55 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 56 | isa = PBXFrameworksBuildPhase; 57 | buildActionMask = 2147483647; 58 | files = ( 59 | 0623F0127552CA80A365B9A4 /* Pods_ScrollingPageControl_Example.framework in Frameworks */, 60 | ); 61 | runOnlyForDeploymentPostprocessing = 0; 62 | }; 63 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 64 | isa = PBXFrameworksBuildPhase; 65 | buildActionMask = 2147483647; 66 | files = ( 67 | CE13036F2A44D43F8467A0E0 /* Pods_ScrollingPageControl_Tests.framework in Frameworks */, 68 | ); 69 | runOnlyForDeploymentPostprocessing = 0; 70 | }; 71 | /* End PBXFrameworksBuildPhase section */ 72 | 73 | /* Begin PBXGroup section */ 74 | 2388CDD5912D4EA91131B7A4 /* Frameworks */ = { 75 | isa = PBXGroup; 76 | children = ( 77 | ED72E479A88FEED77610D931 /* Pods_ScrollingPageControl_Example.framework */, 78 | A326994D01F44C3DC976F023 /* Pods_ScrollingPageControl_Tests.framework */, 79 | ); 80 | name = Frameworks; 81 | sourceTree = ""; 82 | }; 83 | 607FACC71AFB9204008FA782 = { 84 | isa = PBXGroup; 85 | children = ( 86 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 87 | 607FACD21AFB9204008FA782 /* Example for ScrollingPageControl */, 88 | 607FACE81AFB9204008FA782 /* Tests */, 89 | 607FACD11AFB9204008FA782 /* Products */, 90 | 78D5A77F906A958250447D0B /* Pods */, 91 | 2388CDD5912D4EA91131B7A4 /* Frameworks */, 92 | ); 93 | sourceTree = ""; 94 | }; 95 | 607FACD11AFB9204008FA782 /* Products */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 607FACD01AFB9204008FA782 /* ScrollingPageControl_Example.app */, 99 | 607FACE51AFB9204008FA782 /* ScrollingPageControl_Tests.xctest */, 100 | ); 101 | name = Products; 102 | sourceTree = ""; 103 | }; 104 | 607FACD21AFB9204008FA782 /* Example for ScrollingPageControl */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 108 | 607FACD71AFB9204008FA782 /* TestViewController.swift */, 109 | C8054D382165D87800EBFC97 /* TriangleView.swift */, 110 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 111 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 112 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 113 | 607FACD31AFB9204008FA782 /* Supporting Files */, 114 | ); 115 | name = "Example for ScrollingPageControl"; 116 | path = ScrollingPageControl; 117 | sourceTree = ""; 118 | }; 119 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 120 | isa = PBXGroup; 121 | children = ( 122 | 607FACD41AFB9204008FA782 /* Info.plist */, 123 | ); 124 | name = "Supporting Files"; 125 | sourceTree = ""; 126 | }; 127 | 607FACE81AFB9204008FA782 /* Tests */ = { 128 | isa = PBXGroup; 129 | children = ( 130 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 131 | 607FACE91AFB9204008FA782 /* Supporting Files */, 132 | ); 133 | path = Tests; 134 | sourceTree = ""; 135 | }; 136 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 137 | isa = PBXGroup; 138 | children = ( 139 | 607FACEA1AFB9204008FA782 /* Info.plist */, 140 | ); 141 | name = "Supporting Files"; 142 | sourceTree = ""; 143 | }; 144 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 145 | isa = PBXGroup; 146 | children = ( 147 | 9EFB5D2EDC8E25FD45ED5322 /* ScrollingPageControl.podspec */, 148 | 2DDD1276A7C08628E3D9C03E /* README.md */, 149 | 8AF2C24E80BDE2DBC42D7542 /* LICENSE */, 150 | ); 151 | name = "Podspec Metadata"; 152 | sourceTree = ""; 153 | }; 154 | 78D5A77F906A958250447D0B /* Pods */ = { 155 | isa = PBXGroup; 156 | children = ( 157 | 60631E68526E52BC67E66E76 /* Pods-ScrollingPageControl_Example.debug.xcconfig */, 158 | 25BF12CE4F76A25BF1DB5FBE /* Pods-ScrollingPageControl_Example.release.xcconfig */, 159 | 7D6852C3520572A231E40DFC /* Pods-ScrollingPageControl_Tests.debug.xcconfig */, 160 | 48DCBB06E74FD42DB3AC9E59 /* Pods-ScrollingPageControl_Tests.release.xcconfig */, 161 | ); 162 | path = Pods; 163 | sourceTree = ""; 164 | }; 165 | /* End PBXGroup section */ 166 | 167 | /* Begin PBXNativeTarget section */ 168 | 607FACCF1AFB9204008FA782 /* ScrollingPageControl_Example */ = { 169 | isa = PBXNativeTarget; 170 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ScrollingPageControl_Example" */; 171 | buildPhases = ( 172 | C8C64343D9FEF186F4C59FBF /* [CP] Check Pods Manifest.lock */, 173 | 607FACCC1AFB9204008FA782 /* Sources */, 174 | 607FACCD1AFB9204008FA782 /* Frameworks */, 175 | 607FACCE1AFB9204008FA782 /* Resources */, 176 | 710C29B4515A28F6B67A57DD /* [CP] Embed Pods Frameworks */, 177 | ); 178 | buildRules = ( 179 | ); 180 | dependencies = ( 181 | ); 182 | name = ScrollingPageControl_Example; 183 | productName = ScrollingPageControl; 184 | productReference = 607FACD01AFB9204008FA782 /* ScrollingPageControl_Example.app */; 185 | productType = "com.apple.product-type.application"; 186 | }; 187 | 607FACE41AFB9204008FA782 /* ScrollingPageControl_Tests */ = { 188 | isa = PBXNativeTarget; 189 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ScrollingPageControl_Tests" */; 190 | buildPhases = ( 191 | D9696A6E8FE13D2230A7EB7D /* [CP] Check Pods Manifest.lock */, 192 | 607FACE11AFB9204008FA782 /* Sources */, 193 | 607FACE21AFB9204008FA782 /* Frameworks */, 194 | 607FACE31AFB9204008FA782 /* Resources */, 195 | ); 196 | buildRules = ( 197 | ); 198 | dependencies = ( 199 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 200 | ); 201 | name = ScrollingPageControl_Tests; 202 | productName = Tests; 203 | productReference = 607FACE51AFB9204008FA782 /* ScrollingPageControl_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 = 0830; 213 | LastUpgradeCheck = 1310; 214 | ORGANIZATIONNAME = CocoaPods; 215 | TargetAttributes = { 216 | 607FACCF1AFB9204008FA782 = { 217 | CreatedOnToolsVersion = 6.3.1; 218 | LastSwiftMigration = 1100; 219 | }; 220 | 607FACE41AFB9204008FA782 = { 221 | CreatedOnToolsVersion = 6.3.1; 222 | LastSwiftMigration = 1100; 223 | TestTargetID = 607FACCF1AFB9204008FA782; 224 | }; 225 | }; 226 | }; 227 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "ScrollingPageControl" */; 228 | compatibilityVersion = "Xcode 3.2"; 229 | developmentRegion = en; 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 /* ScrollingPageControl_Example */, 241 | 607FACE41AFB9204008FA782 /* ScrollingPageControl_Tests */, 242 | ); 243 | }; 244 | /* End PBXProject section */ 245 | 246 | /* Begin PBXResourcesBuildPhase section */ 247 | 607FACCE1AFB9204008FA782 /* Resources */ = { 248 | isa = PBXResourcesBuildPhase; 249 | buildActionMask = 2147483647; 250 | files = ( 251 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 252 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 253 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 254 | ); 255 | runOnlyForDeploymentPostprocessing = 0; 256 | }; 257 | 607FACE31AFB9204008FA782 /* Resources */ = { 258 | isa = PBXResourcesBuildPhase; 259 | buildActionMask = 2147483647; 260 | files = ( 261 | ); 262 | runOnlyForDeploymentPostprocessing = 0; 263 | }; 264 | /* End PBXResourcesBuildPhase section */ 265 | 266 | /* Begin PBXShellScriptBuildPhase section */ 267 | 710C29B4515A28F6B67A57DD /* [CP] Embed Pods Frameworks */ = { 268 | isa = PBXShellScriptBuildPhase; 269 | buildActionMask = 2147483647; 270 | files = ( 271 | ); 272 | inputPaths = ( 273 | "${PODS_ROOT}/Target Support Files/Pods-ScrollingPageControl_Example/Pods-ScrollingPageControl_Example-frameworks.sh", 274 | "${BUILT_PRODUCTS_DIR}/ScrollingPageControl/ScrollingPageControl.framework", 275 | ); 276 | name = "[CP] Embed Pods Frameworks"; 277 | outputPaths = ( 278 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ScrollingPageControl.framework", 279 | ); 280 | runOnlyForDeploymentPostprocessing = 0; 281 | shellPath = /bin/sh; 282 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ScrollingPageControl_Example/Pods-ScrollingPageControl_Example-frameworks.sh\"\n"; 283 | showEnvVarsInLog = 0; 284 | }; 285 | C8C64343D9FEF186F4C59FBF /* [CP] Check Pods Manifest.lock */ = { 286 | isa = PBXShellScriptBuildPhase; 287 | buildActionMask = 2147483647; 288 | files = ( 289 | ); 290 | inputFileListPaths = ( 291 | ); 292 | inputPaths = ( 293 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 294 | "${PODS_ROOT}/Manifest.lock", 295 | ); 296 | name = "[CP] Check Pods Manifest.lock"; 297 | outputFileListPaths = ( 298 | ); 299 | outputPaths = ( 300 | "$(DERIVED_FILE_DIR)/Pods-ScrollingPageControl_Example-checkManifestLockResult.txt", 301 | ); 302 | runOnlyForDeploymentPostprocessing = 0; 303 | shellPath = /bin/sh; 304 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 305 | showEnvVarsInLog = 0; 306 | }; 307 | D9696A6E8FE13D2230A7EB7D /* [CP] Check Pods Manifest.lock */ = { 308 | isa = PBXShellScriptBuildPhase; 309 | buildActionMask = 2147483647; 310 | files = ( 311 | ); 312 | inputFileListPaths = ( 313 | ); 314 | inputPaths = ( 315 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 316 | "${PODS_ROOT}/Manifest.lock", 317 | ); 318 | name = "[CP] Check Pods Manifest.lock"; 319 | outputFileListPaths = ( 320 | ); 321 | outputPaths = ( 322 | "$(DERIVED_FILE_DIR)/Pods-ScrollingPageControl_Tests-checkManifestLockResult.txt", 323 | ); 324 | runOnlyForDeploymentPostprocessing = 0; 325 | shellPath = /bin/sh; 326 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 327 | showEnvVarsInLog = 0; 328 | }; 329 | /* End PBXShellScriptBuildPhase section */ 330 | 331 | /* Begin PBXSourcesBuildPhase section */ 332 | 607FACCC1AFB9204008FA782 /* Sources */ = { 333 | isa = PBXSourcesBuildPhase; 334 | buildActionMask = 2147483647; 335 | files = ( 336 | 607FACD81AFB9204008FA782 /* TestViewController.swift in Sources */, 337 | C8054D392165D87800EBFC97 /* TriangleView.swift in Sources */, 338 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 339 | ); 340 | runOnlyForDeploymentPostprocessing = 0; 341 | }; 342 | 607FACE11AFB9204008FA782 /* Sources */ = { 343 | isa = PBXSourcesBuildPhase; 344 | buildActionMask = 2147483647; 345 | files = ( 346 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 347 | ); 348 | runOnlyForDeploymentPostprocessing = 0; 349 | }; 350 | /* End PBXSourcesBuildPhase section */ 351 | 352 | /* Begin PBXTargetDependency section */ 353 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 354 | isa = PBXTargetDependency; 355 | target = 607FACCF1AFB9204008FA782 /* ScrollingPageControl_Example */; 356 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 357 | }; 358 | /* End PBXTargetDependency section */ 359 | 360 | /* Begin PBXVariantGroup section */ 361 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 362 | isa = PBXVariantGroup; 363 | children = ( 364 | 607FACDA1AFB9204008FA782 /* Base */, 365 | ); 366 | name = Main.storyboard; 367 | sourceTree = ""; 368 | }; 369 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 370 | isa = PBXVariantGroup; 371 | children = ( 372 | 607FACDF1AFB9204008FA782 /* Base */, 373 | ); 374 | name = LaunchScreen.xib; 375 | sourceTree = ""; 376 | }; 377 | /* End PBXVariantGroup section */ 378 | 379 | /* Begin XCBuildConfiguration section */ 380 | 607FACED1AFB9204008FA782 /* Debug */ = { 381 | isa = XCBuildConfiguration; 382 | buildSettings = { 383 | ALWAYS_SEARCH_USER_PATHS = NO; 384 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 385 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 386 | CLANG_CXX_LIBRARY = "libc++"; 387 | CLANG_ENABLE_MODULES = YES; 388 | CLANG_ENABLE_OBJC_ARC = YES; 389 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 390 | CLANG_WARN_BOOL_CONVERSION = YES; 391 | CLANG_WARN_COMMA = YES; 392 | CLANG_WARN_CONSTANT_CONVERSION = YES; 393 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 394 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 395 | CLANG_WARN_EMPTY_BODY = YES; 396 | CLANG_WARN_ENUM_CONVERSION = YES; 397 | CLANG_WARN_INFINITE_RECURSION = YES; 398 | CLANG_WARN_INT_CONVERSION = YES; 399 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 400 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 401 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 402 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 403 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 404 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 405 | CLANG_WARN_STRICT_PROTOTYPES = YES; 406 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 407 | CLANG_WARN_UNREACHABLE_CODE = YES; 408 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 409 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 410 | COPY_PHASE_STRIP = NO; 411 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 412 | ENABLE_STRICT_OBJC_MSGSEND = YES; 413 | ENABLE_TESTABILITY = YES; 414 | GCC_C_LANGUAGE_STANDARD = gnu99; 415 | GCC_DYNAMIC_NO_PIC = NO; 416 | GCC_NO_COMMON_BLOCKS = YES; 417 | GCC_OPTIMIZATION_LEVEL = 0; 418 | GCC_PREPROCESSOR_DEFINITIONS = ( 419 | "DEBUG=1", 420 | "$(inherited)", 421 | ); 422 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 423 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 424 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 425 | GCC_WARN_UNDECLARED_SELECTOR = YES; 426 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 427 | GCC_WARN_UNUSED_FUNCTION = YES; 428 | GCC_WARN_UNUSED_VARIABLE = YES; 429 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 430 | MTL_ENABLE_DEBUG_INFO = YES; 431 | ONLY_ACTIVE_ARCH = YES; 432 | SDKROOT = iphoneos; 433 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 434 | }; 435 | name = Debug; 436 | }; 437 | 607FACEE1AFB9204008FA782 /* Release */ = { 438 | isa = XCBuildConfiguration; 439 | buildSettings = { 440 | ALWAYS_SEARCH_USER_PATHS = NO; 441 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 442 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 443 | CLANG_CXX_LIBRARY = "libc++"; 444 | CLANG_ENABLE_MODULES = YES; 445 | CLANG_ENABLE_OBJC_ARC = YES; 446 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 447 | CLANG_WARN_BOOL_CONVERSION = YES; 448 | CLANG_WARN_COMMA = YES; 449 | CLANG_WARN_CONSTANT_CONVERSION = YES; 450 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 451 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 452 | CLANG_WARN_EMPTY_BODY = YES; 453 | CLANG_WARN_ENUM_CONVERSION = YES; 454 | CLANG_WARN_INFINITE_RECURSION = YES; 455 | CLANG_WARN_INT_CONVERSION = YES; 456 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 457 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 458 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 459 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 460 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 461 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 462 | CLANG_WARN_STRICT_PROTOTYPES = YES; 463 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 464 | CLANG_WARN_UNREACHABLE_CODE = YES; 465 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 466 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 467 | COPY_PHASE_STRIP = NO; 468 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 469 | ENABLE_NS_ASSERTIONS = NO; 470 | ENABLE_STRICT_OBJC_MSGSEND = YES; 471 | GCC_C_LANGUAGE_STANDARD = gnu99; 472 | GCC_NO_COMMON_BLOCKS = YES; 473 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 474 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 475 | GCC_WARN_UNDECLARED_SELECTOR = YES; 476 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 477 | GCC_WARN_UNUSED_FUNCTION = YES; 478 | GCC_WARN_UNUSED_VARIABLE = YES; 479 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 480 | MTL_ENABLE_DEBUG_INFO = NO; 481 | SDKROOT = iphoneos; 482 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 483 | VALIDATE_PRODUCT = YES; 484 | }; 485 | name = Release; 486 | }; 487 | 607FACF01AFB9204008FA782 /* Debug */ = { 488 | isa = XCBuildConfiguration; 489 | baseConfigurationReference = 60631E68526E52BC67E66E76 /* Pods-ScrollingPageControl_Example.debug.xcconfig */; 490 | buildSettings = { 491 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 492 | INFOPLIST_FILE = ScrollingPageControl/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 = 5.0; 498 | }; 499 | name = Debug; 500 | }; 501 | 607FACF11AFB9204008FA782 /* Release */ = { 502 | isa = XCBuildConfiguration; 503 | baseConfigurationReference = 25BF12CE4F76A25BF1DB5FBE /* Pods-ScrollingPageControl_Example.release.xcconfig */; 504 | buildSettings = { 505 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 506 | INFOPLIST_FILE = ScrollingPageControl/Info.plist; 507 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 508 | MODULE_NAME = ExampleApp; 509 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 510 | PRODUCT_NAME = "$(TARGET_NAME)"; 511 | SWIFT_VERSION = 5.0; 512 | }; 513 | name = Release; 514 | }; 515 | 607FACF31AFB9204008FA782 /* Debug */ = { 516 | isa = XCBuildConfiguration; 517 | baseConfigurationReference = 7D6852C3520572A231E40DFC /* Pods-ScrollingPageControl_Tests.debug.xcconfig */; 518 | buildSettings = { 519 | FRAMEWORK_SEARCH_PATHS = ( 520 | "$(SDKROOT)/Developer/Library/Frameworks", 521 | "$(inherited)", 522 | ); 523 | GCC_PREPROCESSOR_DEFINITIONS = ( 524 | "DEBUG=1", 525 | "$(inherited)", 526 | ); 527 | INFOPLIST_FILE = Tests/Info.plist; 528 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 529 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 530 | PRODUCT_NAME = "$(TARGET_NAME)"; 531 | SWIFT_VERSION = 5.0; 532 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ScrollingPageControl_Example.app/ScrollingPageControl_Example"; 533 | }; 534 | name = Debug; 535 | }; 536 | 607FACF41AFB9204008FA782 /* Release */ = { 537 | isa = XCBuildConfiguration; 538 | baseConfigurationReference = 48DCBB06E74FD42DB3AC9E59 /* Pods-ScrollingPageControl_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 = 5.0; 549 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ScrollingPageControl_Example.app/ScrollingPageControl_Example"; 550 | }; 551 | name = Release; 552 | }; 553 | /* End XCBuildConfiguration section */ 554 | 555 | /* Begin XCConfigurationList section */ 556 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "ScrollingPageControl" */ = { 557 | isa = XCConfigurationList; 558 | buildConfigurations = ( 559 | 607FACED1AFB9204008FA782 /* Debug */, 560 | 607FACEE1AFB9204008FA782 /* Release */, 561 | ); 562 | defaultConfigurationIsVisible = 0; 563 | defaultConfigurationName = Release; 564 | }; 565 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ScrollingPageControl_Example" */ = { 566 | isa = XCConfigurationList; 567 | buildConfigurations = ( 568 | 607FACF01AFB9204008FA782 /* Debug */, 569 | 607FACF11AFB9204008FA782 /* Release */, 570 | ); 571 | defaultConfigurationIsVisible = 0; 572 | defaultConfigurationName = Release; 573 | }; 574 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ScrollingPageControl_Tests" */ = { 575 | isa = XCConfigurationList; 576 | buildConfigurations = ( 577 | 607FACF31AFB9204008FA782 /* Debug */, 578 | 607FACF41AFB9204008FA782 /* Release */, 579 | ); 580 | defaultConfigurationIsVisible = 0; 581 | defaultConfigurationName = Release; 582 | }; 583 | /* End XCConfigurationList section */ 584 | }; 585 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 586 | } 587 | -------------------------------------------------------------------------------- /Example/ScrollingPageControl.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/ScrollingPageControl.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/ScrollingPageControl.xcodeproj/xcshareddata/xcschemes/ScrollingPageControl-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 51 | 52 | 53 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 76 | 78 | 84 | 85 | 86 | 87 | 93 | 95 | 101 | 102 | 103 | 104 | 106 | 107 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /Example/ScrollingPageControl.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/ScrollingPageControl.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/ScrollingPageControl/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // ScrollingPageControl 4 | // 5 | // Created by EmilioPelaez on 10/03/2018. 6 | // Copyright (c) 2018 EmilioPelaez. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/ScrollingPageControl/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/ScrollingPageControl/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | -------------------------------------------------------------------------------- /Example/ScrollingPageControl/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Example/ScrollingPageControl/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/ScrollingPageControl/TestViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // ScrollingPageControl 4 | // 5 | // Created by EmilioPelaez on 10/03/2018. 6 | // Copyright (c) 2018 EmilioPelaez. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import ScrollingPageControl 11 | 12 | class TestViewController: UIViewController { 13 | @IBOutlet var scrollView: UIScrollView! 14 | let stackView = UIStackView() 15 | 16 | @IBOutlet var pageControl: ScrollingPageControl! 17 | let pages: Int = 8 18 | 19 | override func viewDidLoad() { 20 | super.viewDidLoad() 21 | 22 | pageControl.pages = pages 23 | //pageControl.delegate = self 24 | 25 | scrollView.isPagingEnabled = true 26 | view.addSubview(scrollView) 27 | 28 | stackView.translatesAutoresizingMaskIntoConstraints = false 29 | stackView.distribution = .fillEqually 30 | stackView.axis = .horizontal 31 | stackView.backgroundColor = .black 32 | 33 | scrollView.addSubview(stackView) 34 | 35 | (0.. UIView? { 61 | guard index == 0 else { return nil } 62 | let view = TriangleView() 63 | view.isOpaque = false 64 | return view 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /Example/ScrollingPageControl/TriangleView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TriangleView.swift 3 | // ScrollingPageControl_Example 4 | // 5 | // Created by Emilio Peláez on 4/10/18. 6 | // Copyright © 2018 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class TriangleView: UIView { 12 | 13 | override func tintColorDidChange() { 14 | super.tintColorDidChange() 15 | setNeedsDisplay() 16 | } 17 | 18 | override func draw(_ rect: CGRect) { 19 | let path = UIBezierPath() 20 | path.move(to: CGPoint(x: rect.midX, y: rect.minY)) 21 | path.addLine(to: CGPoint(x: rect.maxX, y: rect.maxY)) 22 | path.addLine(to: CGPoint(x: rect.minX, y: rect.maxY)) 23 | path.close() 24 | 25 | tintColor?.setFill() 26 | path.fill() 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /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 XCTest 2 | @testable import ScrollingPageControl 3 | 4 | class Tests: XCTestCase { 5 | 6 | func testLayout() { 7 | (1..<10).forEach { a in 8 | (1..<10).forEach { b in 9 | (1..<10).forEach { c in 10 | evaluatePageControl(pages: a, centerDots: b, maxDots: c) 11 | } 12 | } 13 | } 14 | } 15 | 16 | func evaluatePageControl(pages: Int, centerDots: Int, maxDots: Int) { 17 | let pageControl = ScrollingPageControl() 18 | pageControl.pages = pages 19 | pageControl.centerDots = centerDots 20 | pageControl.maxDots = maxDots 21 | 22 | pageControl.frame = CGRect(origin: .zero, size: pageControl.intrinsicContentSize) 23 | pageControl.updatePositions() 24 | 25 | XCTAssertGreaterThanOrEqual(pageControl.bounds.width, CGFloat(min(pageControl.pages, pageControl.maxDots)) * pageControl.dotSize) 26 | XCTAssertEqual(pageControl.dotViews.count, pageControl.pages) 27 | 28 | let fullSizeDots = pageControl.dotViews.filter { $0.frame.width == pageControl.dotSize }.count 29 | XCTAssertLessThanOrEqual(fullSizeDots, pageControl.centerDots) 30 | 31 | let visibleDots = pageControl.dotViews.filter { pageControl.bounds.contains($0.frame) }.count 32 | XCTAssertLessThanOrEqual(visibleDots, max(pageControl.maxDots, pageControl.pages)) 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Emilio Peláez 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- 1 | // swift-tools-version:5.1 2 | 3 | import PackageDescription 4 | 5 | let package = Package( 6 | name: "ScrollingPageControl", 7 | platforms: [ 8 | .iOS(.v10), 9 | ], 10 | products: [ 11 | .library(name: "ScrollingPageControl", targets: ["ScrollingPageControl"]) 12 | ], 13 | targets: [ 14 | .target(name: "ScrollingPageControl"), 15 | .testTarget(name: "ScrollingPageControlTests", dependencies: ["ScrollingPageControl"]) 16 | ] 17 | ) 18 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ScrollingPageControl 2 | 3 | ![](https://media.giphy.com/media/XZMQhuKAtfxf6NffKj/giphy.gif) 4 | 5 | ScrollingPageControl is a custom page control inspired by Instagram's page control. 6 | 7 | By default it shows up to seven dots, with dots farther from the center dot being smaller, and scrolls the dots as the user changes pages, always keeping the highlighted dot within the central dots. 8 | 9 | The maximum number of dots, as well as the number of central dots, can be customized, as long as the values are an odd number. 10 | 11 | Other customizable values are the color of the selected and highlighted dots, the size of the dots, and the space between the dots. 12 | 13 | ### Usage 14 | 15 | To use the `ScrollingPageControl`, add it to your view hierarchy using Interface Builder or with code, it's recommended that you don't set width and height constraints, since the control can size itself. If you're using Interface Builder you can set a placeholder for `Intrinsc Content Size`. 16 | 17 | The easiest way to set it up is to use a `UIScrollView` with `isPagingEnabled` set to `true`. Set `pages` to the number of pages in your scroll view, and then implement this method of `UIScrollViewDelegate` like this: 18 | 19 | ```swift 20 | func scrollViewDidScroll(_ scrollView: UIScrollView) { 21 | let page = round(scrollView.contentOffset.x / scrollView.frame.width) 22 | pageControl.selectedPage = Int(page) 23 | } 24 | ``` 25 | 26 | Make sure you set your object as the `delegate` of your scroll view. 27 | 28 | ### Custom dot 29 | 30 | The control uses a `UIView` for each dot. By default, this view will be a simple circular view, but you can provide your own views by conforming to the `ScrollingPageControlDelegate` protocol and implementing `func viewForDot(at index: Int) -> UIView?`. If that function returns `nil`, the default circle dot will be used. 31 | 32 | You can use that method to return an `UIImageView`, or a `UIView` subclass that draws a specific shape. 33 | 34 | Dot views have to use the `tintColor` property to tint their content, and update on `tintColorDidChange()`. 35 | 36 | If you're using a `UIImageView`, you can simply use the image as a template like this `image.withRenderingMode(.alwaysTemplate)`. Then the `UIImage` will be tinted using the `tintColor` property of `UIImageView`. 37 | 38 | For a working example, follow the "Example" instructions below and look at the `TriangleView` subclass. You can see it in action by uncommenting line `23` of `TestViewController.swift` and running the project. 39 | 40 | ### Instagram Behavior 41 | 42 | When Instagram's page control has five pages or less, it shows all full dots. Our control doesn't do that by default, but it's easy to recreate. Simply set `maxDots` and `centerDots` to `5` when the number of pages is less than or equal to five, and the default values otherwise. 43 | 44 | ```swift 45 | if pages <= 5 { 46 | pageControl.maxDots = 5 47 | pageControl.centerDots = 5 48 | } else { 49 | pageControl.maxDots = 7 50 | pageControl.centerDots = 3 51 | } 52 | pageControl.pages = pages 53 | ``` 54 | 55 | ## Example 56 | 57 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 58 | 59 | ## Installation 60 | 61 | ScrollingPageControl is available through [CocoaPods](https://cocoapods.org). To install 62 | it, simply add the following line to your Podfile: 63 | 64 | ```ruby 65 | pod 'ScrollingPageControl' 66 | ``` 67 | 68 | ## Author 69 | 70 | EmilioPelaez, i.am@emiliopelaez.me 71 | 72 | ## License 73 | 74 | ScrollingPageControl is available under the MIT license. See the LICENSE file for more info. 75 | -------------------------------------------------------------------------------- /ScrollingPageControl.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint ScrollingPageControl.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 https://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'ScrollingPageControl' 11 | s.version = '1.0.0' 12 | s.summary = 'A custom page control that shows a maximum number of dots and scrolls to reveal more.' 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 | ScrollingPageControl is a custom page control that shows a maximum number of dots and scrolls to reveal more. 22 | It's inspired by Instagram implementation of the page control. 23 | DESC 24 | 25 | s.homepage = 'https://github.com/EmilioPelaez/ScrollingPageControl' 26 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 27 | s.license = { :type => 'MIT', :file => 'LICENSE' } 28 | s.author = { 'EmilioPelaez' => 'i.am@emiliopelaez.me' } 29 | s.source = { :git => 'https://github.com/EmilioPelaez/ScrollingPageControl.git', :tag => s.version.to_s } 30 | s.social_media_url = 'https://twitter.com/EmilioPelaez' 31 | 32 | s.ios.deployment_target = '10.0' 33 | 34 | s.source_files = 'Sources/**/*.swift' 35 | 36 | s.frameworks = 'UIKit' 37 | 38 | s.swift_version = '5.1' 39 | end 40 | -------------------------------------------------------------------------------- /Sources/ScrollingPageControl/CircularView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CircularView.swift 3 | // ScrollingPageControl 4 | // 5 | // Created by Emilio Peláez on 3/10/18. 6 | // 7 | 8 | import UIKit 9 | 10 | class CircularView: UIView { 11 | override func tintColorDidChange() { 12 | self.backgroundColor = tintColor 13 | } 14 | 15 | override func layoutSubviews() { 16 | super.layoutSubviews() 17 | updateCornerRadius() 18 | } 19 | 20 | override var frame: CGRect { 21 | didSet { 22 | updateCornerRadius() 23 | } 24 | } 25 | 26 | private func updateCornerRadius() { 27 | layer.cornerRadius = min(bounds.width, bounds.height) / 2 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Sources/ScrollingPageControl/ScrollingPageControl.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScrollingPageControl.swift 3 | // ScrollingPageControl 4 | // 5 | // Created by Emilio Peláez on 3/10/18. 6 | // 7 | 8 | import UIKit 9 | 10 | public protocol ScrollingPageControlDelegate: AnyObject { 11 | // If delegate is nil or the implementation returns nil for a given dot, the default 12 | // circle will be used. Returned views should react to having their tint color changed 13 | func viewForDot(at index: Int) -> UIView? 14 | } 15 | 16 | open class ScrollingPageControl: UIView { 17 | open weak var delegate: ScrollingPageControlDelegate? { 18 | didSet { 19 | createViews() 20 | } 21 | } 22 | // The number of dots 23 | open var pages: Int = 0 { 24 | didSet { 25 | guard pages != oldValue else { return } 26 | pages = max(0, pages) 27 | invalidateIntrinsicContentSize() 28 | createViews() 29 | } 30 | } 31 | private func createViews() { 32 | dotViews = (0.. maxDots { 65 | centerDots = maxDots 66 | print("centerDots has to be equal or smaller than maxDots") 67 | } 68 | if centerDots % 2 == 0 { 69 | centerDots += 1 70 | print("centerDots has to be an odd number") 71 | } 72 | invalidateIntrinsicContentSize() 73 | } 74 | } 75 | // The duration, in seconds, of the dot slide animation 76 | open var slideDuration: TimeInterval = 0.15 77 | private var centerOffset = 0 78 | private var pageOffset = 0 { 79 | didSet { 80 | UIView.animate(withDuration: slideDuration, delay: 0.15, options: [], animations: self.updatePositions, completion: nil) 81 | } 82 | } 83 | 84 | internal var dotViews: [UIView] = [] { 85 | didSet { 86 | oldValue.forEach { $0.removeFromSuperview() } 87 | dotViews.forEach(addSubview) 88 | updateColors() 89 | setNeedsLayout() 90 | } 91 | } 92 | 93 | // The color of all the unselected dots 94 | open var dotColor = UIColor.lightGray { didSet { updateColors() } } 95 | // The color of the currently selected dot 96 | open var selectedColor = #colorLiteral(red: 0.2392156869, green: 0.6745098233, blue: 0.9686274529, alpha: 1) { didSet { updateColors() } } 97 | 98 | // The size of the dots 99 | open var dotSize: CGFloat = 6 { 100 | didSet { 101 | dotSize = max(1, dotSize) 102 | dotViews.forEach { $0.frame = CGRect(origin: .zero, size: CGSize(width: dotSize, height: dotSize)) } 103 | invalidateIntrinsicContentSize() 104 | } 105 | } 106 | // The space between dots 107 | open var spacing: CGFloat = 4 { 108 | didSet { 109 | spacing = max(1, spacing) 110 | invalidateIntrinsicContentSize() 111 | } 112 | } 113 | 114 | public init() { 115 | super.init(frame: .zero) 116 | isOpaque = false 117 | } 118 | 119 | public required init?(coder aDecoder: NSCoder) { 120 | super.init(coder: aDecoder) 121 | } 122 | 123 | public override init(frame: CGRect) { 124 | super.init(frame: frame) 125 | isOpaque = false 126 | } 127 | 128 | private var lastSize = CGSize.zero 129 | open override func layoutSubviews() { 130 | super.layoutSubviews() 131 | guard bounds.size != lastSize else { return } 132 | lastSize = bounds.size 133 | updatePositions() 134 | } 135 | 136 | private func updateColors() { 137 | dotViews.enumerated().forEach { page, dot in 138 | dot.tintColor = page == selectedPage ? selectedColor : dotColor 139 | } 140 | } 141 | 142 | internal func updatePositions() { 143 | let centerDots = min(self.centerDots, pages) 144 | let maxDots = min(self.maxDots, pages) 145 | let sidePages = (maxDots - centerDots) / 2 146 | let horizontalOffset = CGFloat(-pageOffset + sidePages) * (dotSize + spacing) + (bounds.width - intrinsicContentSize.width) / 2 147 | let centerPage = centerDots / 2 + pageOffset 148 | dotViews.enumerated().forEach { page, dot in 149 | let center = CGPoint(x: horizontalOffset + bounds.minX + dotSize / 2 + (dotSize + spacing) * CGFloat(page), y: bounds.midY) 150 | let scale: CGFloat = { 151 | let distance = abs(page - centerPage) 152 | if distance > (maxDots / 2) { return 0 } 153 | return [1, 0.66, 0.33, 0.16][max(0, min(3, distance - centerDots / 2))] 154 | }() 155 | dot.frame = CGRect(origin: .zero, size: CGSize(width: dotSize * scale, height: dotSize * scale)) 156 | dot.center = center 157 | } 158 | } 159 | 160 | open override var intrinsicContentSize: CGSize { 161 | let pages = min(maxDots, self.pages) 162 | let width = CGFloat(pages) * dotSize + CGFloat(pages - 1) * spacing 163 | let height = dotSize 164 | return CGSize(width: width, height: height) 165 | } 166 | } 167 | -------------------------------------------------------------------------------- /Tests/ScrollingPageControlTests/File.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import ScrollingPageControl 3 | 4 | class Tests: XCTestCase { 5 | 6 | override func setUp() { 7 | super.setUp() 8 | // Put setup code here. This method is called before the invocation of each test method in the class. 9 | } 10 | 11 | override func tearDown() { 12 | // Put teardown code here. This method is called after the invocation of each test method in the class. 13 | super.tearDown() 14 | } 15 | 16 | func testExample() { 17 | // This is an example of a functional test case. 18 | XCTAssert(true, "Pass") 19 | } 20 | 21 | func testPerformanceExample() { 22 | // This is an example of a performance test case. 23 | self.measure() { 24 | // Put the code you want to measure the time of here. 25 | } 26 | } 27 | 28 | } 29 | --------------------------------------------------------------------------------