├── .DS_Store ├── .gitignore ├── .gitignore.sb-67d260af-YujHQ9 ├── .swift-version ├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── SCPageControl.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ └── Target Support Files │ │ ├── Pods-SCPageControl_Example │ │ ├── Info.plist │ │ ├── Pods-SCPageControl_Example-Info.plist │ │ ├── Pods-SCPageControl_Example-acknowledgements.markdown │ │ ├── Pods-SCPageControl_Example-acknowledgements.plist │ │ ├── Pods-SCPageControl_Example-dummy.m │ │ ├── Pods-SCPageControl_Example-frameworks.sh │ │ ├── Pods-SCPageControl_Example-resources.sh │ │ ├── Pods-SCPageControl_Example-umbrella.h │ │ ├── Pods-SCPageControl_Example.debug.xcconfig │ │ ├── Pods-SCPageControl_Example.modulemap │ │ └── Pods-SCPageControl_Example.release.xcconfig │ │ ├── Pods-SCPageControl_Tests │ │ ├── Info.plist │ │ ├── Pods-SCPageControl_Tests-Info.plist │ │ ├── Pods-SCPageControl_Tests-acknowledgements.markdown │ │ ├── Pods-SCPageControl_Tests-acknowledgements.plist │ │ ├── Pods-SCPageControl_Tests-dummy.m │ │ ├── Pods-SCPageControl_Tests-frameworks.sh │ │ ├── Pods-SCPageControl_Tests-resources.sh │ │ ├── Pods-SCPageControl_Tests-umbrella.h │ │ ├── Pods-SCPageControl_Tests.debug.xcconfig │ │ ├── Pods-SCPageControl_Tests.modulemap │ │ └── Pods-SCPageControl_Tests.release.xcconfig │ │ └── SCPageControl │ │ ├── SCPageControl-Info.plist │ │ ├── SCPageControl-dummy.m │ │ ├── SCPageControl-prefix.pch │ │ ├── SCPageControl-umbrella.h │ │ ├── SCPageControl.modulemap │ │ └── SCPageControl.xcconfig ├── SCPageControl.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ └── xcshareddata │ │ └── xcschemes │ │ └── SCPageControl-Example.xcscheme ├── SCPageControl.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── SCPageControl │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── ViewController.swift │ ├── sc0.jpg │ ├── sc1.jpg │ ├── sc2.jpg │ ├── sc3.jpg │ └── sc4.jpg └── Tests │ ├── Info.plist │ └── Tests.swift ├── LICENSE ├── README.md ├── SCPageControl.podspec ├── SCPageControl ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── SCP_SCJAFillCircle.swift │ ├── SCP_SCJAFlatBar.swift │ ├── SCP_SCJAMoveCircle.swift │ ├── SCP_SCNormal.swift │ └── SCPageControlView.swift ├── ScreenShot └── SCPageControl.gif └── _Pods.xcodeproj /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myoungsc/SCPageControl/a03ddf71c7376eab378111ea60c648220dc91255/.DS_Store -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xcuserstate 23 | 24 | ## Obj-C/Swift specific 25 | *.hmap 26 | *.ipa 27 | *.dSYM.zip 28 | *.dSYM 29 | 30 | ## Playgrounds 31 | timeline.xctimeline 32 | playground.xcworkspace 33 | 34 | # Swift Package Manager 35 | # 36 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 37 | # Packages/ 38 | .build/ 39 | 40 | # CocoaPods 41 | # 42 | # We recommend against adding the Pods directory to your .gitignore. However 43 | # you should judge for yourself, the pros and cons are mentioned at: 44 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 45 | # 46 | # Pods/ 47 | 48 | # Carthage 49 | # 50 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 51 | # Carthage/Checkouts 52 | 53 | Carthage/Build 54 | 55 | # fastlane 56 | # 57 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 58 | # screenshots whenever they are needed. 59 | # For more information about the recommended setup visit: 60 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 61 | 62 | fastlane/report.xml 63 | fastlane/Preview.html 64 | fastlane/screenshots 65 | fastlane/test_output 66 | -------------------------------------------------------------------------------- /.gitignore.sb-67d260af-YujHQ9: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xcuserstate 23 | 24 | ## Obj-C/Swift specific 25 | *.hmap 26 | *.ipa 27 | *.dSYM.zip 28 | *.dSYM 29 | 30 | ## Playgrounds 31 | timeline.xctimeline 32 | playground.xcworkspace 33 | 34 | # Swift Package Manager 35 | # 36 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 37 | # Packages/ 38 | .build/ 39 | 40 | # CocoaPods 41 | # 42 | # We recommend against adding the Pods directory to your .gitignore. However 43 | # you should judge for yourself, the pros and cons are mentioned at: 44 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 45 | # 46 | # Pods/ 47 | 48 | # Carthage 49 | # 50 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 51 | # Carthage/Checkouts 52 | 53 | Carthage/Build 54 | 55 | # fastlane 56 | # 57 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 58 | # screenshots whenever they are needed. 59 | # For more information about the recommended setup visit: 60 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 61 | 62 | fastlane/report.xml 63 | fastlane/Preview.html 64 | fastlane/screenshots 65 | fastlane/test_output 66 | -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 5.0 2 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'SCPageControl_Example' do 4 | pod 'SCPageControl', :path => '../' 5 | 6 | target 'SCPageControl_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - SCPageControl (0.3.0) 3 | 4 | DEPENDENCIES: 5 | - SCPageControl (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | SCPageControl: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | SCPageControl: bac15747ea0c15605540010a586c53fe1687236d 13 | 14 | PODFILE CHECKSUM: 6d2c65adf813605c75e18cf4832f5ee45c35e390 15 | 16 | COCOAPODS: 1.6.0.beta.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/SCPageControl.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SCPageControl", 3 | "version": "0.3.0", 4 | "summary": "SCPageControl is pagecontrol", 5 | "description": "A short description of SCPageControl. It animation", 6 | "homepage": "https://github.com/myoungsc/SCPageControl", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "myoung": "myoungsc.dev@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/myoungsc/SCPageControl.git", 16 | "tag": "0.3.0" 17 | }, 18 | "platforms": { 19 | "ios": "9.0" 20 | }, 21 | "source_files": "SCPageControl/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - SCPageControl (0.3.0) 3 | 4 | DEPENDENCIES: 5 | - SCPageControl (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | SCPageControl: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | SCPageControl: bac15747ea0c15605540010a586c53fe1687236d 13 | 14 | PODFILE CHECKSUM: 6d2c65adf813605c75e18cf4832f5ee45c35e390 15 | 16 | COCOAPODS: 1.6.0.beta.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 086E86E169117FC2A6973034013CEB63 /* Pods-SCPageControl_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 0C70F9FC2FF41DA65647310A1E133A95 /* Pods-SCPageControl_Tests-dummy.m */; }; 11 | 18D50B7A2A5E7B0346B78B6957E7A81A /* Pods-SCPageControl_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 89DBB53B2F21DBA72DE5A39BA9C1FF1D /* Pods-SCPageControl_Example-dummy.m */; }; 12 | 2705728B0CC6054C60CFAB570F7BEDD2 /* SCPageControl-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 1F901B1893D0C89F41D4627C5F192A6A /* SCPageControl-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 300A0A30264DA70603D5E37F6B113FAB /* SCP_SCJAFillCircle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42C7128DA94162499A6CBA815913A58E /* SCP_SCJAFillCircle.swift */; }; 14 | 32940221B5E49CCD281FF0BD4C779394 /* SCPageControlView.swift in Sources */ = {isa = PBXBuildFile; fileRef = EF51B7E72BE0E93C0E371A7967B6A027 /* SCPageControlView.swift */; }; 15 | 37C0C7BDF0F16367124DEF5CC4820C3D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */; }; 16 | 692765DB7309B66D2702801E72B3B330 /* SCPageControl-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D18552C51179A0D7A03F1E4AE223C2AE /* SCPageControl-dummy.m */; }; 17 | 77A54F3A04E0BE0469B8CF14CDC22C45 /* SCP_SCJAMoveCircle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02D3515FA8B36AA5DB4E815A2388BC4F /* SCP_SCJAMoveCircle.swift */; }; 18 | 7A012ADEA091EC5D9C1979DFAAF11A8A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */; }; 19 | 943B2F32DE1FA2AEC3820768B9EF6767 /* Pods-SCPageControl_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CFFFDC34FB7754BE86B4557BB04E6628 /* Pods-SCPageControl_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | BA5E130F2EC07466A8155EC27EFFAEA4 /* SCP_SCNormal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 25553715752412CB31A42ED2067CFB4A /* SCP_SCNormal.swift */; }; 21 | F3E00B2B8444D403542C0B84A947C3D4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */; }; 22 | FC03E1B2A8DACE0DFC67430C0971F8C0 /* Pods-SCPageControl_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 3983C7211D0D0EB763E1D5DAA11D72D0 /* Pods-SCPageControl_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 23 | FDA1E60AE34BE601D4048B3D63DF1DE5 /* SCP_SCJAFlatBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE42CD2C45B68368FB23D2C4AA59468F /* SCP_SCJAFlatBar.swift */; }; 24 | /* End PBXBuildFile section */ 25 | 26 | /* Begin PBXContainerItemProxy section */ 27 | C0ED8B8B3A96EC1A58AE612F87092AE2 /* PBXContainerItemProxy */ = { 28 | isa = PBXContainerItemProxy; 29 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 30 | proxyType = 1; 31 | remoteGlobalIDString = 41EF34EA3A2BD0E9E1F72CB4344612EF; 32 | remoteInfo = "Pods-SCPageControl_Example"; 33 | }; 34 | DE337D11B9198B0ABAF29E1D2243368F /* PBXContainerItemProxy */ = { 35 | isa = PBXContainerItemProxy; 36 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 37 | proxyType = 1; 38 | remoteGlobalIDString = 6C6780AF05F1591EA22F4C4F39AE87C8; 39 | remoteInfo = SCPageControl; 40 | }; 41 | /* End PBXContainerItemProxy section */ 42 | 43 | /* Begin PBXFileReference section */ 44 | 02D3515FA8B36AA5DB4E815A2388BC4F /* SCP_SCJAMoveCircle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SCP_SCJAMoveCircle.swift; path = SCPageControl/Classes/SCP_SCJAMoveCircle.swift; sourceTree = ""; }; 45 | 0C70F9FC2FF41DA65647310A1E133A95 /* Pods-SCPageControl_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SCPageControl_Tests-dummy.m"; sourceTree = ""; }; 46 | 118047BB2E252ED44AA6A76FDA961701 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 47 | 12D703308C51A2310A05BC5D60B6B044 /* SCPageControl.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; path = SCPageControl.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 48 | 1E8595B53034AAFA4F1C81643DE08C9F /* Pods-SCPageControl_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCPageControl_Example.release.xcconfig"; sourceTree = ""; }; 49 | 1F901B1893D0C89F41D4627C5F192A6A /* SCPageControl-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SCPageControl-umbrella.h"; sourceTree = ""; }; 50 | 25553715752412CB31A42ED2067CFB4A /* SCP_SCNormal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SCP_SCNormal.swift; path = SCPageControl/Classes/SCP_SCNormal.swift; sourceTree = ""; }; 51 | 25F8042A62DE9A688298FD9B5D9CB7EF /* Pods_SCPageControl_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SCPageControl_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | 2935788AD63E400E716ACDE8B65D0B0D /* Pods-SCPageControl_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SCPageControl_Example-frameworks.sh"; sourceTree = ""; }; 53 | 2EA9192AEB3FE6C11AA47C4CB90541A9 /* SCPageControl.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SCPageControl.xcconfig; sourceTree = ""; }; 54 | 3983C7211D0D0EB763E1D5DAA11D72D0 /* Pods-SCPageControl_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SCPageControl_Example-umbrella.h"; sourceTree = ""; }; 55 | 3B030CA2522A78528C18A46743D5D0A6 /* Pods-SCPageControl_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCPageControl_Example.debug.xcconfig"; sourceTree = ""; }; 56 | 42C7128DA94162499A6CBA815913A58E /* SCP_SCJAFillCircle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SCP_SCJAFillCircle.swift; path = SCPageControl/Classes/SCP_SCJAFillCircle.swift; sourceTree = ""; }; 57 | 512937A76BBABDA5CBAE14CAE6903B52 /* SCPageControl.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = SCPageControl.modulemap; sourceTree = ""; }; 58 | 51E24D109672F70CD964AF5EE3AF52C6 /* Pods-SCPageControl_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SCPageControl_Example-acknowledgements.plist"; sourceTree = ""; }; 59 | 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 60 | 6266A4CF6BC231CBD896DE9991322118 /* Pods-SCPageControl_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SCPageControl_Example-acknowledgements.markdown"; sourceTree = ""; }; 61 | 79F5C9E4FC0D55E51CFD10AEAC939486 /* SCPageControl.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SCPageControl.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 62 | 7FAB424E2343823349FA920F16431CF9 /* Pods-SCPageControl_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SCPageControl_Example-Info.plist"; sourceTree = ""; }; 63 | 8620DCBE0DAEBB6B36EB363C814202B7 /* Pods_SCPageControl_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SCPageControl_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 64 | 89DBB53B2F21DBA72DE5A39BA9C1FF1D /* Pods-SCPageControl_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SCPageControl_Example-dummy.m"; sourceTree = ""; }; 65 | 8EB2FB0C235479AC9610FB7703F1AC5C /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 66 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 67 | A938E0190DA39CE0DE26CEC1A4DD9714 /* SCPageControl-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "SCPageControl-Info.plist"; sourceTree = ""; }; 68 | AB7810A8877F85DB728050166433755F /* Pods-SCPageControl_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SCPageControl_Example.modulemap"; sourceTree = ""; }; 69 | C4894660B43F810C605F944371D2CDD7 /* Pods-SCPageControl_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SCPageControl_Tests-acknowledgements.plist"; sourceTree = ""; }; 70 | C5764A7F1D960B89821B1C843866BF92 /* SCPageControl-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SCPageControl-prefix.pch"; sourceTree = ""; }; 71 | CE1748B065782592D43676304EFC0F36 /* Pods-SCPageControl_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SCPageControl_Tests-acknowledgements.markdown"; sourceTree = ""; }; 72 | CFFFDC34FB7754BE86B4557BB04E6628 /* Pods-SCPageControl_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SCPageControl_Tests-umbrella.h"; sourceTree = ""; }; 73 | D18552C51179A0D7A03F1E4AE223C2AE /* SCPageControl-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SCPageControl-dummy.m"; sourceTree = ""; }; 74 | DAFE4124861421579BFD7913F438659A /* Pods-SCPageControl_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SCPageControl_Tests.modulemap"; sourceTree = ""; }; 75 | DE42CD2C45B68368FB23D2C4AA59468F /* SCP_SCJAFlatBar.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SCP_SCJAFlatBar.swift; path = SCPageControl/Classes/SCP_SCJAFlatBar.swift; sourceTree = ""; }; 76 | E27474ACF875BAAFCF4564D117427E4E /* Pods-SCPageControl_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SCPageControl_Tests-Info.plist"; sourceTree = ""; }; 77 | E84CDD72A782BB5AAEA2A807EB475939 /* Pods-SCPageControl_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCPageControl_Tests.debug.xcconfig"; sourceTree = ""; }; 78 | EF51B7E72BE0E93C0E371A7967B6A027 /* SCPageControlView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SCPageControlView.swift; path = SCPageControl/Classes/SCPageControlView.swift; sourceTree = ""; }; 79 | FC9CD84DBA53D3DD461BBC289BF7158A /* Pods-SCPageControl_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SCPageControl_Tests.release.xcconfig"; sourceTree = ""; }; 80 | /* End PBXFileReference section */ 81 | 82 | /* Begin PBXFrameworksBuildPhase section */ 83 | 524011DD051487E6AA8E4039E422B2B4 /* Frameworks */ = { 84 | isa = PBXFrameworksBuildPhase; 85 | buildActionMask = 2147483647; 86 | files = ( 87 | 7A012ADEA091EC5D9C1979DFAAF11A8A /* Foundation.framework in Frameworks */, 88 | ); 89 | runOnlyForDeploymentPostprocessing = 0; 90 | }; 91 | 8F47A0A5565C26EF484B78B63379F342 /* Frameworks */ = { 92 | isa = PBXFrameworksBuildPhase; 93 | buildActionMask = 2147483647; 94 | files = ( 95 | F3E00B2B8444D403542C0B84A947C3D4 /* Foundation.framework in Frameworks */, 96 | ); 97 | runOnlyForDeploymentPostprocessing = 0; 98 | }; 99 | CEE37432A1C8BD5324C1BCD5BF91F416 /* Frameworks */ = { 100 | isa = PBXFrameworksBuildPhase; 101 | buildActionMask = 2147483647; 102 | files = ( 103 | 37C0C7BDF0F16367124DEF5CC4820C3D /* Foundation.framework in Frameworks */, 104 | ); 105 | runOnlyForDeploymentPostprocessing = 0; 106 | }; 107 | /* End PBXFrameworksBuildPhase section */ 108 | 109 | /* Begin PBXGroup section */ 110 | 1DAA09A145583D094590B39B28206277 /* SCPageControl */ = { 111 | isa = PBXGroup; 112 | children = ( 113 | 42C7128DA94162499A6CBA815913A58E /* SCP_SCJAFillCircle.swift */, 114 | DE42CD2C45B68368FB23D2C4AA59468F /* SCP_SCJAFlatBar.swift */, 115 | 02D3515FA8B36AA5DB4E815A2388BC4F /* SCP_SCJAMoveCircle.swift */, 116 | 25553715752412CB31A42ED2067CFB4A /* SCP_SCNormal.swift */, 117 | EF51B7E72BE0E93C0E371A7967B6A027 /* SCPageControlView.swift */, 118 | D519E4495756BBB76801400C68380EDC /* Pod */, 119 | 588EC2C3B03DB84B5A1509EBC47B21BB /* Support Files */, 120 | ); 121 | name = SCPageControl; 122 | path = ../..; 123 | sourceTree = ""; 124 | }; 125 | 588EC2C3B03DB84B5A1509EBC47B21BB /* Support Files */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | 512937A76BBABDA5CBAE14CAE6903B52 /* SCPageControl.modulemap */, 129 | 2EA9192AEB3FE6C11AA47C4CB90541A9 /* SCPageControl.xcconfig */, 130 | D18552C51179A0D7A03F1E4AE223C2AE /* SCPageControl-dummy.m */, 131 | A938E0190DA39CE0DE26CEC1A4DD9714 /* SCPageControl-Info.plist */, 132 | C5764A7F1D960B89821B1C843866BF92 /* SCPageControl-prefix.pch */, 133 | 1F901B1893D0C89F41D4627C5F192A6A /* SCPageControl-umbrella.h */, 134 | ); 135 | name = "Support Files"; 136 | path = "Example/Pods/Target Support Files/SCPageControl"; 137 | sourceTree = ""; 138 | }; 139 | 5E0D919E635D23B70123790B8308F8EF /* iOS */ = { 140 | isa = PBXGroup; 141 | children = ( 142 | 5A16F4CFC63FAC439D7A04994F579A03 /* Foundation.framework */, 143 | ); 144 | name = iOS; 145 | sourceTree = ""; 146 | }; 147 | 71693F6E480C05FBB2A6415D6B8F0580 /* Development Pods */ = { 148 | isa = PBXGroup; 149 | children = ( 150 | 1DAA09A145583D094590B39B28206277 /* SCPageControl */, 151 | ); 152 | name = "Development Pods"; 153 | sourceTree = ""; 154 | }; 155 | 746A57DA23A66D20871167080955A256 /* Targets Support Files */ = { 156 | isa = PBXGroup; 157 | children = ( 158 | 78434087BD22926D5A8E3C2429326A21 /* Pods-SCPageControl_Example */, 159 | AE7431DB22011C26B76045A1143A8AF4 /* Pods-SCPageControl_Tests */, 160 | ); 161 | name = "Targets Support Files"; 162 | sourceTree = ""; 163 | }; 164 | 78434087BD22926D5A8E3C2429326A21 /* Pods-SCPageControl_Example */ = { 165 | isa = PBXGroup; 166 | children = ( 167 | AB7810A8877F85DB728050166433755F /* Pods-SCPageControl_Example.modulemap */, 168 | 6266A4CF6BC231CBD896DE9991322118 /* Pods-SCPageControl_Example-acknowledgements.markdown */, 169 | 51E24D109672F70CD964AF5EE3AF52C6 /* Pods-SCPageControl_Example-acknowledgements.plist */, 170 | 89DBB53B2F21DBA72DE5A39BA9C1FF1D /* Pods-SCPageControl_Example-dummy.m */, 171 | 2935788AD63E400E716ACDE8B65D0B0D /* Pods-SCPageControl_Example-frameworks.sh */, 172 | 7FAB424E2343823349FA920F16431CF9 /* Pods-SCPageControl_Example-Info.plist */, 173 | 3983C7211D0D0EB763E1D5DAA11D72D0 /* Pods-SCPageControl_Example-umbrella.h */, 174 | 3B030CA2522A78528C18A46743D5D0A6 /* Pods-SCPageControl_Example.debug.xcconfig */, 175 | 1E8595B53034AAFA4F1C81643DE08C9F /* Pods-SCPageControl_Example.release.xcconfig */, 176 | ); 177 | name = "Pods-SCPageControl_Example"; 178 | path = "Target Support Files/Pods-SCPageControl_Example"; 179 | sourceTree = ""; 180 | }; 181 | 7DB346D0F39D3F0E887471402A8071AB = { 182 | isa = PBXGroup; 183 | children = ( 184 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 185 | 71693F6E480C05FBB2A6415D6B8F0580 /* Development Pods */, 186 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 187 | C4D8F3D163337955FD459290B0F1A3D8 /* Products */, 188 | 746A57DA23A66D20871167080955A256 /* Targets Support Files */, 189 | ); 190 | sourceTree = ""; 191 | }; 192 | AE7431DB22011C26B76045A1143A8AF4 /* Pods-SCPageControl_Tests */ = { 193 | isa = PBXGroup; 194 | children = ( 195 | DAFE4124861421579BFD7913F438659A /* Pods-SCPageControl_Tests.modulemap */, 196 | CE1748B065782592D43676304EFC0F36 /* Pods-SCPageControl_Tests-acknowledgements.markdown */, 197 | C4894660B43F810C605F944371D2CDD7 /* Pods-SCPageControl_Tests-acknowledgements.plist */, 198 | 0C70F9FC2FF41DA65647310A1E133A95 /* Pods-SCPageControl_Tests-dummy.m */, 199 | E27474ACF875BAAFCF4564D117427E4E /* Pods-SCPageControl_Tests-Info.plist */, 200 | CFFFDC34FB7754BE86B4557BB04E6628 /* Pods-SCPageControl_Tests-umbrella.h */, 201 | E84CDD72A782BB5AAEA2A807EB475939 /* Pods-SCPageControl_Tests.debug.xcconfig */, 202 | FC9CD84DBA53D3DD461BBC289BF7158A /* Pods-SCPageControl_Tests.release.xcconfig */, 203 | ); 204 | name = "Pods-SCPageControl_Tests"; 205 | path = "Target Support Files/Pods-SCPageControl_Tests"; 206 | sourceTree = ""; 207 | }; 208 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 209 | isa = PBXGroup; 210 | children = ( 211 | 5E0D919E635D23B70123790B8308F8EF /* iOS */, 212 | ); 213 | name = Frameworks; 214 | sourceTree = ""; 215 | }; 216 | C4D8F3D163337955FD459290B0F1A3D8 /* Products */ = { 217 | isa = PBXGroup; 218 | children = ( 219 | 8620DCBE0DAEBB6B36EB363C814202B7 /* Pods_SCPageControl_Example.framework */, 220 | 25F8042A62DE9A688298FD9B5D9CB7EF /* Pods_SCPageControl_Tests.framework */, 221 | 79F5C9E4FC0D55E51CFD10AEAC939486 /* SCPageControl.framework */, 222 | ); 223 | name = Products; 224 | sourceTree = ""; 225 | }; 226 | D519E4495756BBB76801400C68380EDC /* Pod */ = { 227 | isa = PBXGroup; 228 | children = ( 229 | 118047BB2E252ED44AA6A76FDA961701 /* LICENSE */, 230 | 8EB2FB0C235479AC9610FB7703F1AC5C /* README.md */, 231 | 12D703308C51A2310A05BC5D60B6B044 /* SCPageControl.podspec */, 232 | ); 233 | name = Pod; 234 | sourceTree = ""; 235 | }; 236 | /* End PBXGroup section */ 237 | 238 | /* Begin PBXHeadersBuildPhase section */ 239 | 253173260FD3B17B9950636B49F5ADFB /* Headers */ = { 240 | isa = PBXHeadersBuildPhase; 241 | buildActionMask = 2147483647; 242 | files = ( 243 | FC03E1B2A8DACE0DFC67430C0971F8C0 /* Pods-SCPageControl_Example-umbrella.h in Headers */, 244 | ); 245 | runOnlyForDeploymentPostprocessing = 0; 246 | }; 247 | 3910CA76C2D5CBA0A733FB560190AFC7 /* Headers */ = { 248 | isa = PBXHeadersBuildPhase; 249 | buildActionMask = 2147483647; 250 | files = ( 251 | 2705728B0CC6054C60CFAB570F7BEDD2 /* SCPageControl-umbrella.h in Headers */, 252 | ); 253 | runOnlyForDeploymentPostprocessing = 0; 254 | }; 255 | 9B5DD3222235F98C00D5F35B68D4113D /* Headers */ = { 256 | isa = PBXHeadersBuildPhase; 257 | buildActionMask = 2147483647; 258 | files = ( 259 | 943B2F32DE1FA2AEC3820768B9EF6767 /* Pods-SCPageControl_Tests-umbrella.h in Headers */, 260 | ); 261 | runOnlyForDeploymentPostprocessing = 0; 262 | }; 263 | /* End PBXHeadersBuildPhase section */ 264 | 265 | /* Begin PBXNativeTarget section */ 266 | 41EF34EA3A2BD0E9E1F72CB4344612EF /* Pods-SCPageControl_Example */ = { 267 | isa = PBXNativeTarget; 268 | buildConfigurationList = 63E25114EE4F37ADF3D2B9512FB39B91 /* Build configuration list for PBXNativeTarget "Pods-SCPageControl_Example" */; 269 | buildPhases = ( 270 | 253173260FD3B17B9950636B49F5ADFB /* Headers */, 271 | C4B852F270FEC148169BFACDBF3B9C34 /* Sources */, 272 | 524011DD051487E6AA8E4039E422B2B4 /* Frameworks */, 273 | BC26715BED20D5EA5046187AFA0419E4 /* Resources */, 274 | ); 275 | buildRules = ( 276 | ); 277 | dependencies = ( 278 | C2112875E9FD990E64202984E3D1C5AD /* PBXTargetDependency */, 279 | ); 280 | name = "Pods-SCPageControl_Example"; 281 | productName = "Pods-SCPageControl_Example"; 282 | productReference = 8620DCBE0DAEBB6B36EB363C814202B7 /* Pods_SCPageControl_Example.framework */; 283 | productType = "com.apple.product-type.framework"; 284 | }; 285 | 6C6780AF05F1591EA22F4C4F39AE87C8 /* SCPageControl */ = { 286 | isa = PBXNativeTarget; 287 | buildConfigurationList = 83101C2B8B3E93FFA7CE20D7405775F6 /* Build configuration list for PBXNativeTarget "SCPageControl" */; 288 | buildPhases = ( 289 | 3910CA76C2D5CBA0A733FB560190AFC7 /* Headers */, 290 | 71D01FC01ADAFABD5B6B7B8DD3E07C30 /* Sources */, 291 | CEE37432A1C8BD5324C1BCD5BF91F416 /* Frameworks */, 292 | 6460D89BDD3DC212C2E237C71B0F410E /* Resources */, 293 | ); 294 | buildRules = ( 295 | ); 296 | dependencies = ( 297 | ); 298 | name = SCPageControl; 299 | productName = SCPageControl; 300 | productReference = 79F5C9E4FC0D55E51CFD10AEAC939486 /* SCPageControl.framework */; 301 | productType = "com.apple.product-type.framework"; 302 | }; 303 | 8DADB47A543399041B6A5C7A57DC2188 /* Pods-SCPageControl_Tests */ = { 304 | isa = PBXNativeTarget; 305 | buildConfigurationList = E8DAE650A13BBB44CC6959C5BB8A0FBF /* Build configuration list for PBXNativeTarget "Pods-SCPageControl_Tests" */; 306 | buildPhases = ( 307 | 9B5DD3222235F98C00D5F35B68D4113D /* Headers */, 308 | E7CA9CA7F3C19367F50F03CFBEAAC74F /* Sources */, 309 | 8F47A0A5565C26EF484B78B63379F342 /* Frameworks */, 310 | 9C1C9D36AEEE613AA79CAED7EFD58C8E /* Resources */, 311 | ); 312 | buildRules = ( 313 | ); 314 | dependencies = ( 315 | 8C9E2DF5BCE6DB41B67CA66FC7CBB132 /* PBXTargetDependency */, 316 | ); 317 | name = "Pods-SCPageControl_Tests"; 318 | productName = "Pods-SCPageControl_Tests"; 319 | productReference = 25F8042A62DE9A688298FD9B5D9CB7EF /* Pods_SCPageControl_Tests.framework */; 320 | productType = "com.apple.product-type.framework"; 321 | }; 322 | /* End PBXNativeTarget section */ 323 | 324 | /* Begin PBXProject section */ 325 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 326 | isa = PBXProject; 327 | attributes = { 328 | LastSwiftUpdateCheck = 0930; 329 | LastUpgradeCheck = 1020; 330 | TargetAttributes = { 331 | 6C6780AF05F1591EA22F4C4F39AE87C8 = { 332 | LastSwiftMigration = 1020; 333 | }; 334 | }; 335 | }; 336 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 337 | compatibilityVersion = "Xcode 3.2"; 338 | developmentRegion = en; 339 | hasScannedForEncodings = 0; 340 | knownRegions = ( 341 | en, 342 | Base, 343 | ); 344 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 345 | productRefGroup = C4D8F3D163337955FD459290B0F1A3D8 /* Products */; 346 | projectDirPath = ""; 347 | projectRoot = ""; 348 | targets = ( 349 | 41EF34EA3A2BD0E9E1F72CB4344612EF /* Pods-SCPageControl_Example */, 350 | 8DADB47A543399041B6A5C7A57DC2188 /* Pods-SCPageControl_Tests */, 351 | 6C6780AF05F1591EA22F4C4F39AE87C8 /* SCPageControl */, 352 | ); 353 | }; 354 | /* End PBXProject section */ 355 | 356 | /* Begin PBXResourcesBuildPhase section */ 357 | 6460D89BDD3DC212C2E237C71B0F410E /* Resources */ = { 358 | isa = PBXResourcesBuildPhase; 359 | buildActionMask = 2147483647; 360 | files = ( 361 | ); 362 | runOnlyForDeploymentPostprocessing = 0; 363 | }; 364 | 9C1C9D36AEEE613AA79CAED7EFD58C8E /* Resources */ = { 365 | isa = PBXResourcesBuildPhase; 366 | buildActionMask = 2147483647; 367 | files = ( 368 | ); 369 | runOnlyForDeploymentPostprocessing = 0; 370 | }; 371 | BC26715BED20D5EA5046187AFA0419E4 /* Resources */ = { 372 | isa = PBXResourcesBuildPhase; 373 | buildActionMask = 2147483647; 374 | files = ( 375 | ); 376 | runOnlyForDeploymentPostprocessing = 0; 377 | }; 378 | /* End PBXResourcesBuildPhase section */ 379 | 380 | /* Begin PBXSourcesBuildPhase section */ 381 | 71D01FC01ADAFABD5B6B7B8DD3E07C30 /* Sources */ = { 382 | isa = PBXSourcesBuildPhase; 383 | buildActionMask = 2147483647; 384 | files = ( 385 | 300A0A30264DA70603D5E37F6B113FAB /* SCP_SCJAFillCircle.swift in Sources */, 386 | FDA1E60AE34BE601D4048B3D63DF1DE5 /* SCP_SCJAFlatBar.swift in Sources */, 387 | 77A54F3A04E0BE0469B8CF14CDC22C45 /* SCP_SCJAMoveCircle.swift in Sources */, 388 | BA5E130F2EC07466A8155EC27EFFAEA4 /* SCP_SCNormal.swift in Sources */, 389 | 692765DB7309B66D2702801E72B3B330 /* SCPageControl-dummy.m in Sources */, 390 | 32940221B5E49CCD281FF0BD4C779394 /* SCPageControlView.swift in Sources */, 391 | ); 392 | runOnlyForDeploymentPostprocessing = 0; 393 | }; 394 | C4B852F270FEC148169BFACDBF3B9C34 /* Sources */ = { 395 | isa = PBXSourcesBuildPhase; 396 | buildActionMask = 2147483647; 397 | files = ( 398 | 18D50B7A2A5E7B0346B78B6957E7A81A /* Pods-SCPageControl_Example-dummy.m in Sources */, 399 | ); 400 | runOnlyForDeploymentPostprocessing = 0; 401 | }; 402 | E7CA9CA7F3C19367F50F03CFBEAAC74F /* Sources */ = { 403 | isa = PBXSourcesBuildPhase; 404 | buildActionMask = 2147483647; 405 | files = ( 406 | 086E86E169117FC2A6973034013CEB63 /* Pods-SCPageControl_Tests-dummy.m in Sources */, 407 | ); 408 | runOnlyForDeploymentPostprocessing = 0; 409 | }; 410 | /* End PBXSourcesBuildPhase section */ 411 | 412 | /* Begin PBXTargetDependency section */ 413 | 8C9E2DF5BCE6DB41B67CA66FC7CBB132 /* PBXTargetDependency */ = { 414 | isa = PBXTargetDependency; 415 | name = "Pods-SCPageControl_Example"; 416 | target = 41EF34EA3A2BD0E9E1F72CB4344612EF /* Pods-SCPageControl_Example */; 417 | targetProxy = C0ED8B8B3A96EC1A58AE612F87092AE2 /* PBXContainerItemProxy */; 418 | }; 419 | C2112875E9FD990E64202984E3D1C5AD /* PBXTargetDependency */ = { 420 | isa = PBXTargetDependency; 421 | name = SCPageControl; 422 | target = 6C6780AF05F1591EA22F4C4F39AE87C8 /* SCPageControl */; 423 | targetProxy = DE337D11B9198B0ABAF29E1D2243368F /* PBXContainerItemProxy */; 424 | }; 425 | /* End PBXTargetDependency section */ 426 | 427 | /* Begin XCBuildConfiguration section */ 428 | 05C87151583534C61EB873246378A938 /* Release */ = { 429 | isa = XCBuildConfiguration; 430 | baseConfigurationReference = 1E8595B53034AAFA4F1C81643DE08C9F /* Pods-SCPageControl_Example.release.xcconfig */; 431 | buildSettings = { 432 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 433 | CODE_SIGN_IDENTITY = ""; 434 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 435 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 436 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 437 | CURRENT_PROJECT_VERSION = 1; 438 | DEFINES_MODULE = YES; 439 | DYLIB_COMPATIBILITY_VERSION = 1; 440 | DYLIB_CURRENT_VERSION = 1; 441 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 442 | INFOPLIST_FILE = "Target Support Files/Pods-SCPageControl_Example/Pods-SCPageControl_Example-Info.plist"; 443 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 444 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 445 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 446 | MACH_O_TYPE = staticlib; 447 | MODULEMAP_FILE = "Target Support Files/Pods-SCPageControl_Example/Pods-SCPageControl_Example.modulemap"; 448 | OTHER_LDFLAGS = ""; 449 | OTHER_LIBTOOLFLAGS = ""; 450 | PODS_ROOT = "$(SRCROOT)"; 451 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 452 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 453 | SDKROOT = iphoneos; 454 | SKIP_INSTALL = YES; 455 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 456 | SWIFT_VERSION = "Swift 5"; 457 | TARGETED_DEVICE_FAMILY = "1,2"; 458 | VALIDATE_PRODUCT = YES; 459 | VERSIONING_SYSTEM = "apple-generic"; 460 | VERSION_INFO_PREFIX = ""; 461 | }; 462 | name = Release; 463 | }; 464 | 2713FBEBCCCCECA77F4D6219BBDF1406 /* Debug */ = { 465 | isa = XCBuildConfiguration; 466 | baseConfigurationReference = 2EA9192AEB3FE6C11AA47C4CB90541A9 /* SCPageControl.xcconfig */; 467 | buildSettings = { 468 | CODE_SIGN_IDENTITY = ""; 469 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 470 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 471 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 472 | CURRENT_PROJECT_VERSION = 1; 473 | DEFINES_MODULE = YES; 474 | DYLIB_COMPATIBILITY_VERSION = 1; 475 | DYLIB_CURRENT_VERSION = 1; 476 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 477 | GCC_PREFIX_HEADER = "Target Support Files/SCPageControl/SCPageControl-prefix.pch"; 478 | INFOPLIST_FILE = "Target Support Files/SCPageControl/SCPageControl-Info.plist"; 479 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 480 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 481 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 482 | MODULEMAP_FILE = "Target Support Files/SCPageControl/SCPageControl.modulemap"; 483 | PRODUCT_MODULE_NAME = SCPageControl; 484 | PRODUCT_NAME = SCPageControl; 485 | SDKROOT = iphoneos; 486 | SKIP_INSTALL = YES; 487 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 488 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 489 | SWIFT_VERSION = 5.0; 490 | TARGETED_DEVICE_FAMILY = "1,2"; 491 | VERSIONING_SYSTEM = "apple-generic"; 492 | VERSION_INFO_PREFIX = ""; 493 | }; 494 | name = Debug; 495 | }; 496 | 60DAF49CA7A9F362148D49C3C3123B2A /* Debug */ = { 497 | isa = XCBuildConfiguration; 498 | buildSettings = { 499 | ALWAYS_SEARCH_USER_PATHS = NO; 500 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 501 | CLANG_ANALYZER_NONNULL = YES; 502 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 503 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 504 | CLANG_CXX_LIBRARY = "libc++"; 505 | CLANG_ENABLE_MODULES = YES; 506 | CLANG_ENABLE_OBJC_ARC = YES; 507 | CLANG_ENABLE_OBJC_WEAK = YES; 508 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 509 | CLANG_WARN_BOOL_CONVERSION = YES; 510 | CLANG_WARN_COMMA = YES; 511 | CLANG_WARN_CONSTANT_CONVERSION = YES; 512 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 513 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 514 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 515 | CLANG_WARN_EMPTY_BODY = YES; 516 | CLANG_WARN_ENUM_CONVERSION = YES; 517 | CLANG_WARN_INFINITE_RECURSION = YES; 518 | CLANG_WARN_INT_CONVERSION = YES; 519 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 520 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 521 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 522 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 523 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 524 | CLANG_WARN_STRICT_PROTOTYPES = YES; 525 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 526 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 527 | CLANG_WARN_UNREACHABLE_CODE = YES; 528 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 529 | CODE_SIGNING_ALLOWED = NO; 530 | CODE_SIGNING_REQUIRED = NO; 531 | COPY_PHASE_STRIP = NO; 532 | DEBUG_INFORMATION_FORMAT = dwarf; 533 | ENABLE_STRICT_OBJC_MSGSEND = YES; 534 | ENABLE_TESTABILITY = YES; 535 | GCC_C_LANGUAGE_STANDARD = gnu11; 536 | GCC_DYNAMIC_NO_PIC = NO; 537 | GCC_NO_COMMON_BLOCKS = YES; 538 | GCC_OPTIMIZATION_LEVEL = 0; 539 | GCC_PREPROCESSOR_DEFINITIONS = ( 540 | "POD_CONFIGURATION_DEBUG=1", 541 | "DEBUG=1", 542 | "$(inherited)", 543 | ); 544 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 545 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 546 | GCC_WARN_UNDECLARED_SELECTOR = YES; 547 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 548 | GCC_WARN_UNUSED_FUNCTION = YES; 549 | GCC_WARN_UNUSED_VARIABLE = YES; 550 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 551 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 552 | MTL_FAST_MATH = YES; 553 | ONLY_ACTIVE_ARCH = YES; 554 | PRODUCT_NAME = "$(TARGET_NAME)"; 555 | STRIP_INSTALLED_PRODUCT = NO; 556 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 557 | SWIFT_VERSION = ""; 558 | SYMROOT = "${SRCROOT}/../build"; 559 | }; 560 | name = Debug; 561 | }; 562 | A1A34A098F2003AF307E71563CC8495B /* Debug */ = { 563 | isa = XCBuildConfiguration; 564 | baseConfigurationReference = 3B030CA2522A78528C18A46743D5D0A6 /* Pods-SCPageControl_Example.debug.xcconfig */; 565 | buildSettings = { 566 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 567 | CODE_SIGN_IDENTITY = ""; 568 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 569 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 570 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 571 | CURRENT_PROJECT_VERSION = 1; 572 | DEFINES_MODULE = YES; 573 | DYLIB_COMPATIBILITY_VERSION = 1; 574 | DYLIB_CURRENT_VERSION = 1; 575 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 576 | INFOPLIST_FILE = "Target Support Files/Pods-SCPageControl_Example/Pods-SCPageControl_Example-Info.plist"; 577 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 578 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 579 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 580 | MACH_O_TYPE = staticlib; 581 | MODULEMAP_FILE = "Target Support Files/Pods-SCPageControl_Example/Pods-SCPageControl_Example.modulemap"; 582 | OTHER_LDFLAGS = ""; 583 | OTHER_LIBTOOLFLAGS = ""; 584 | PODS_ROOT = "$(SRCROOT)"; 585 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 586 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 587 | SDKROOT = iphoneos; 588 | SKIP_INSTALL = YES; 589 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 590 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 591 | SWIFT_VERSION = "Swift 5"; 592 | TARGETED_DEVICE_FAMILY = "1,2"; 593 | VERSIONING_SYSTEM = "apple-generic"; 594 | VERSION_INFO_PREFIX = ""; 595 | }; 596 | name = Debug; 597 | }; 598 | C4EAA84F44D044E108500A81C635F21E /* Release */ = { 599 | isa = XCBuildConfiguration; 600 | buildSettings = { 601 | ALWAYS_SEARCH_USER_PATHS = NO; 602 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 603 | CLANG_ANALYZER_NONNULL = YES; 604 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 605 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 606 | CLANG_CXX_LIBRARY = "libc++"; 607 | CLANG_ENABLE_MODULES = YES; 608 | CLANG_ENABLE_OBJC_ARC = YES; 609 | CLANG_ENABLE_OBJC_WEAK = YES; 610 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 611 | CLANG_WARN_BOOL_CONVERSION = YES; 612 | CLANG_WARN_COMMA = YES; 613 | CLANG_WARN_CONSTANT_CONVERSION = YES; 614 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 615 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 616 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 617 | CLANG_WARN_EMPTY_BODY = YES; 618 | CLANG_WARN_ENUM_CONVERSION = YES; 619 | CLANG_WARN_INFINITE_RECURSION = YES; 620 | CLANG_WARN_INT_CONVERSION = YES; 621 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 622 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 623 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 624 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 625 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 626 | CLANG_WARN_STRICT_PROTOTYPES = YES; 627 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 628 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 629 | CLANG_WARN_UNREACHABLE_CODE = YES; 630 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 631 | CODE_SIGNING_ALLOWED = NO; 632 | CODE_SIGNING_REQUIRED = NO; 633 | COPY_PHASE_STRIP = NO; 634 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 635 | ENABLE_NS_ASSERTIONS = NO; 636 | ENABLE_STRICT_OBJC_MSGSEND = YES; 637 | GCC_C_LANGUAGE_STANDARD = gnu11; 638 | GCC_NO_COMMON_BLOCKS = YES; 639 | GCC_PREPROCESSOR_DEFINITIONS = ( 640 | "POD_CONFIGURATION_RELEASE=1", 641 | "$(inherited)", 642 | ); 643 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 644 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 645 | GCC_WARN_UNDECLARED_SELECTOR = YES; 646 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 647 | GCC_WARN_UNUSED_FUNCTION = YES; 648 | GCC_WARN_UNUSED_VARIABLE = YES; 649 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 650 | MTL_ENABLE_DEBUG_INFO = NO; 651 | MTL_FAST_MATH = YES; 652 | PRODUCT_NAME = "$(TARGET_NAME)"; 653 | STRIP_INSTALLED_PRODUCT = NO; 654 | SWIFT_COMPILATION_MODE = wholemodule; 655 | SWIFT_VERSION = ""; 656 | SYMROOT = "${SRCROOT}/../build"; 657 | }; 658 | name = Release; 659 | }; 660 | CE82AE14771E758607A82907FEDF7639 /* Release */ = { 661 | isa = XCBuildConfiguration; 662 | baseConfigurationReference = 2EA9192AEB3FE6C11AA47C4CB90541A9 /* SCPageControl.xcconfig */; 663 | buildSettings = { 664 | CODE_SIGN_IDENTITY = ""; 665 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 666 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 667 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 668 | CURRENT_PROJECT_VERSION = 1; 669 | DEFINES_MODULE = YES; 670 | DYLIB_COMPATIBILITY_VERSION = 1; 671 | DYLIB_CURRENT_VERSION = 1; 672 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 673 | GCC_PREFIX_HEADER = "Target Support Files/SCPageControl/SCPageControl-prefix.pch"; 674 | INFOPLIST_FILE = "Target Support Files/SCPageControl/SCPageControl-Info.plist"; 675 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 676 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 677 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 678 | MODULEMAP_FILE = "Target Support Files/SCPageControl/SCPageControl.modulemap"; 679 | PRODUCT_MODULE_NAME = SCPageControl; 680 | PRODUCT_NAME = SCPageControl; 681 | SDKROOT = iphoneos; 682 | SKIP_INSTALL = YES; 683 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 684 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 685 | SWIFT_VERSION = 5.0; 686 | TARGETED_DEVICE_FAMILY = "1,2"; 687 | VALIDATE_PRODUCT = YES; 688 | VERSIONING_SYSTEM = "apple-generic"; 689 | VERSION_INFO_PREFIX = ""; 690 | }; 691 | name = Release; 692 | }; 693 | F3B039769806E0B7CD5BBC93E6359D02 /* Debug */ = { 694 | isa = XCBuildConfiguration; 695 | baseConfigurationReference = E84CDD72A782BB5AAEA2A807EB475939 /* Pods-SCPageControl_Tests.debug.xcconfig */; 696 | buildSettings = { 697 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 698 | CODE_SIGN_IDENTITY = ""; 699 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 700 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 701 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 702 | CURRENT_PROJECT_VERSION = 1; 703 | DEFINES_MODULE = YES; 704 | DYLIB_COMPATIBILITY_VERSION = 1; 705 | DYLIB_CURRENT_VERSION = 1; 706 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 707 | INFOPLIST_FILE = "Target Support Files/Pods-SCPageControl_Tests/Pods-SCPageControl_Tests-Info.plist"; 708 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 709 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 710 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 711 | MACH_O_TYPE = staticlib; 712 | MODULEMAP_FILE = "Target Support Files/Pods-SCPageControl_Tests/Pods-SCPageControl_Tests.modulemap"; 713 | OTHER_LDFLAGS = ""; 714 | OTHER_LIBTOOLFLAGS = ""; 715 | PODS_ROOT = "$(SRCROOT)"; 716 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 717 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 718 | SDKROOT = iphoneos; 719 | SKIP_INSTALL = YES; 720 | SWIFT_VERSION = "Swift 5"; 721 | TARGETED_DEVICE_FAMILY = "1,2"; 722 | VERSIONING_SYSTEM = "apple-generic"; 723 | VERSION_INFO_PREFIX = ""; 724 | }; 725 | name = Debug; 726 | }; 727 | F4008CEC80653C72524C34B2E4501E81 /* Release */ = { 728 | isa = XCBuildConfiguration; 729 | baseConfigurationReference = FC9CD84DBA53D3DD461BBC289BF7158A /* Pods-SCPageControl_Tests.release.xcconfig */; 730 | buildSettings = { 731 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 732 | CODE_SIGN_IDENTITY = ""; 733 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 734 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 735 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 736 | CURRENT_PROJECT_VERSION = 1; 737 | DEFINES_MODULE = YES; 738 | DYLIB_COMPATIBILITY_VERSION = 1; 739 | DYLIB_CURRENT_VERSION = 1; 740 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 741 | INFOPLIST_FILE = "Target Support Files/Pods-SCPageControl_Tests/Pods-SCPageControl_Tests-Info.plist"; 742 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 743 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 744 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 745 | MACH_O_TYPE = staticlib; 746 | MODULEMAP_FILE = "Target Support Files/Pods-SCPageControl_Tests/Pods-SCPageControl_Tests.modulemap"; 747 | OTHER_LDFLAGS = ""; 748 | OTHER_LIBTOOLFLAGS = ""; 749 | PODS_ROOT = "$(SRCROOT)"; 750 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 751 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 752 | SDKROOT = iphoneos; 753 | SKIP_INSTALL = YES; 754 | SWIFT_VERSION = "Swift 5"; 755 | TARGETED_DEVICE_FAMILY = "1,2"; 756 | VALIDATE_PRODUCT = YES; 757 | VERSIONING_SYSTEM = "apple-generic"; 758 | VERSION_INFO_PREFIX = ""; 759 | }; 760 | name = Release; 761 | }; 762 | /* End XCBuildConfiguration section */ 763 | 764 | /* Begin XCConfigurationList section */ 765 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 766 | isa = XCConfigurationList; 767 | buildConfigurations = ( 768 | 60DAF49CA7A9F362148D49C3C3123B2A /* Debug */, 769 | C4EAA84F44D044E108500A81C635F21E /* Release */, 770 | ); 771 | defaultConfigurationIsVisible = 0; 772 | defaultConfigurationName = Debug; 773 | }; 774 | 63E25114EE4F37ADF3D2B9512FB39B91 /* Build configuration list for PBXNativeTarget "Pods-SCPageControl_Example" */ = { 775 | isa = XCConfigurationList; 776 | buildConfigurations = ( 777 | A1A34A098F2003AF307E71563CC8495B /* Debug */, 778 | 05C87151583534C61EB873246378A938 /* Release */, 779 | ); 780 | defaultConfigurationIsVisible = 0; 781 | defaultConfigurationName = Debug; 782 | }; 783 | 83101C2B8B3E93FFA7CE20D7405775F6 /* Build configuration list for PBXNativeTarget "SCPageControl" */ = { 784 | isa = XCConfigurationList; 785 | buildConfigurations = ( 786 | 2713FBEBCCCCECA77F4D6219BBDF1406 /* Debug */, 787 | CE82AE14771E758607A82907FEDF7639 /* Release */, 788 | ); 789 | defaultConfigurationIsVisible = 0; 790 | defaultConfigurationName = Debug; 791 | }; 792 | E8DAE650A13BBB44CC6959C5BB8A0FBF /* Build configuration list for PBXNativeTarget "Pods-SCPageControl_Tests" */ = { 793 | isa = XCConfigurationList; 794 | buildConfigurations = ( 795 | F3B039769806E0B7CD5BBC93E6359D02 /* Debug */, 796 | F4008CEC80653C72524C34B2E4501E81 /* Release */, 797 | ); 798 | defaultConfigurationIsVisible = 0; 799 | defaultConfigurationName = Debug; 800 | }; 801 | /* End XCConfigurationList section */ 802 | }; 803 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 804 | } 805 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCPageControl_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-SCPageControl_Example/Pods-SCPageControl_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-SCPageControl_Example/Pods-SCPageControl_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## SCPageControl 5 | 6 | Copyright (c) 2017 myoung 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCPageControl_Example/Pods-SCPageControl_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCPageControl_Example/Pods-SCPageControl_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_SCPageControl_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_SCPageControl_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCPageControl_Example/Pods-SCPageControl_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 7 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # frameworks to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 13 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 14 | 15 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 16 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 17 | 18 | # Used as a return value for each invocation of `strip_invalid_archs` function. 19 | STRIP_BINARY_RETVAL=0 20 | 21 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 22 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 23 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 24 | 25 | # Copies and strips a vendored framework 26 | install_framework() 27 | { 28 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 29 | local source="${BUILT_PRODUCTS_DIR}/$1" 30 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 31 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 32 | elif [ -r "$1" ]; then 33 | local source="$1" 34 | fi 35 | 36 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 37 | 38 | if [ -L "${source}" ]; then 39 | echo "Symlinked..." 40 | source="$(readlink "${source}")" 41 | fi 42 | 43 | # Use filter instead of exclude so missing patterns don't throw errors. 44 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 45 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 46 | 47 | local basename 48 | basename="$(basename -s .framework "$1")" 49 | binary="${destination}/${basename}.framework/${basename}" 50 | 51 | if ! [ -r "$binary" ]; then 52 | binary="${destination}/${basename}" 53 | elif [ -L "${binary}" ]; then 54 | echo "Destination binary is symlinked..." 55 | dirname="$(dirname "${binary}")" 56 | binary="${dirname}/$(readlink "${binary}")" 57 | fi 58 | 59 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 60 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 61 | strip_invalid_archs "$binary" 62 | fi 63 | 64 | # Resign the code if required by the build settings to avoid unstable apps 65 | code_sign_if_enabled "${destination}/$(basename "$1")" 66 | 67 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 68 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 69 | local swift_runtime_libs 70 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 71 | for lib in $swift_runtime_libs; do 72 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 73 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 74 | code_sign_if_enabled "${destination}/${lib}" 75 | done 76 | fi 77 | } 78 | 79 | # Copies and strips a vendored dSYM 80 | install_dsym() { 81 | local source="$1" 82 | if [ -r "$source" ]; then 83 | # Copy the dSYM into a the targets temp dir. 84 | 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}\"" 85 | 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}" 86 | 87 | local basename 88 | basename="$(basename -s .framework.dSYM "$source")" 89 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 90 | 91 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 92 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 93 | strip_invalid_archs "$binary" 94 | fi 95 | 96 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 97 | # Move the stripped file into its final destination. 98 | 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}\"" 99 | 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}" 100 | else 101 | # 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. 102 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 103 | fi 104 | fi 105 | } 106 | 107 | # Signs a framework with the provided identity 108 | code_sign_if_enabled() { 109 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 110 | # Use the current code_sign_identity 111 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 112 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 113 | 114 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 115 | code_sign_cmd="$code_sign_cmd &" 116 | fi 117 | echo "$code_sign_cmd" 118 | eval "$code_sign_cmd" 119 | fi 120 | } 121 | 122 | # Strip invalid architectures 123 | strip_invalid_archs() { 124 | binary="$1" 125 | # Get architectures for current target binary 126 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 127 | # Intersect them with the architectures we are building for 128 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 129 | # If there are no archs supported by this binary then warn the user 130 | if [[ -z "$intersected_archs" ]]; then 131 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 132 | STRIP_BINARY_RETVAL=0 133 | return 134 | fi 135 | stripped="" 136 | for arch in $binary_archs; do 137 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 138 | # Strip non-valid architectures in-place 139 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 140 | stripped="$stripped $arch" 141 | fi 142 | done 143 | if [[ "$stripped" ]]; then 144 | echo "Stripped $binary of architectures:$stripped" 145 | fi 146 | STRIP_BINARY_RETVAL=1 147 | } 148 | 149 | 150 | if [[ "$CONFIGURATION" == "Debug" ]]; then 151 | install_framework "${BUILT_PRODUCTS_DIR}/SCPageControl/SCPageControl.framework" 152 | fi 153 | if [[ "$CONFIGURATION" == "Release" ]]; then 154 | install_framework "${BUILT_PRODUCTS_DIR}/SCPageControl/SCPageControl.framework" 155 | fi 156 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 157 | wait 158 | fi 159 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCPageControl_Example/Pods-SCPageControl_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.xib) 55 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 56 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCPageControl_Example/Pods-SCPageControl_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_SCPageControl_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_SCPageControl_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCPageControl_Example/Pods-SCPageControl_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SCPageControl" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SCPageControl/SCPageControl.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "SCPageControl" 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-SCPageControl_Example/Pods-SCPageControl_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_SCPageControl_Example { 2 | umbrella header "Pods-SCPageControl_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCPageControl_Example/Pods-SCPageControl_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SCPageControl" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SCPageControl/SCPageControl.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "SCPageControl" 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-SCPageControl_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-SCPageControl_Tests/Pods-SCPageControl_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-SCPageControl_Tests/Pods-SCPageControl_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-SCPageControl_Tests/Pods-SCPageControl_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCPageControl_Tests/Pods-SCPageControl_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_SCPageControl_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_SCPageControl_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCPageControl_Tests/Pods-SCPageControl_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 10 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 11 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 12 | 13 | install_framework() 14 | { 15 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 16 | local source="${BUILT_PRODUCTS_DIR}/$1" 17 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 18 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 19 | elif [ -r "$1" ]; then 20 | local source="$1" 21 | fi 22 | 23 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 24 | 25 | if [ -L "${source}" ]; then 26 | echo "Symlinked..." 27 | source="$(readlink "${source}")" 28 | fi 29 | 30 | # Use filter instead of exclude so missing patterns don't throw errors. 31 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 32 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 33 | 34 | local basename 35 | basename="$(basename -s .framework "$1")" 36 | binary="${destination}/${basename}.framework/${basename}" 37 | if ! [ -r "$binary" ]; then 38 | binary="${destination}/${basename}" 39 | fi 40 | 41 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 42 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 43 | strip_invalid_archs "$binary" 44 | fi 45 | 46 | # Resign the code if required by the build settings to avoid unstable apps 47 | code_sign_if_enabled "${destination}/$(basename "$1")" 48 | 49 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 50 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 51 | local swift_runtime_libs 52 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 53 | for lib in $swift_runtime_libs; do 54 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 55 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 56 | code_sign_if_enabled "${destination}/${lib}" 57 | done 58 | fi 59 | } 60 | 61 | # Copies the dSYM of a vendored framework 62 | install_dsym() { 63 | local source="$1" 64 | if [ -r "$source" ]; then 65 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" 66 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" 67 | fi 68 | } 69 | 70 | # Signs a framework with the provided identity 71 | code_sign_if_enabled() { 72 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 73 | # Use the current code_sign_identitiy 74 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 75 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 76 | 77 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 78 | code_sign_cmd="$code_sign_cmd &" 79 | fi 80 | echo "$code_sign_cmd" 81 | eval "$code_sign_cmd" 82 | fi 83 | } 84 | 85 | # Strip invalid architectures 86 | strip_invalid_archs() { 87 | binary="$1" 88 | # Get architectures for current file 89 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 90 | stripped="" 91 | for arch in $archs; do 92 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 93 | # Strip non-valid architectures in-place 94 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 95 | stripped="$stripped $arch" 96 | fi 97 | done 98 | if [[ "$stripped" ]]; then 99 | echo "Stripped $binary of architectures:$stripped" 100 | fi 101 | } 102 | 103 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 104 | wait 105 | fi 106 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCPageControl_Tests/Pods-SCPageControl_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.xib) 55 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 56 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCPageControl_Tests/Pods-SCPageControl_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_SCPageControl_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_SCPageControl_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCPageControl_Tests/Pods-SCPageControl_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SCPageControl" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SCPageControl/SCPageControl.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "SCPageControl" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCPageControl_Tests/Pods-SCPageControl_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_SCPageControl_Tests { 2 | umbrella header "Pods-SCPageControl_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SCPageControl_Tests/Pods-SCPageControl_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SCPageControl" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SCPageControl/SCPageControl.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "SCPageControl" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SCPageControl/SCPageControl-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.4.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SCPageControl/SCPageControl-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_SCPageControl : NSObject 3 | @end 4 | @implementation PodsDummy_SCPageControl 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SCPageControl/SCPageControl-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/SCPageControl/SCPageControl-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 SCPageControlVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char SCPageControlVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SCPageControl/SCPageControl.modulemap: -------------------------------------------------------------------------------- 1 | framework module SCPageControl { 2 | umbrella header "SCPageControl-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SCPageControl/SCPageControl.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SCPageControl 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Example/SCPageControl.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 3714C5ABAB902E5C80D12ACE /* Pods_SCPageControl_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9E8E6E8E3281C5DC36F76D9 /* Pods_SCPageControl_Tests.framework */; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 13 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 14 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 15 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 16 | 639F7AE71FE8DF5D00BBE819 /* sc4.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 639F7AE11FE8DF5C00BBE819 /* sc4.jpg */; }; 17 | 639F7AE81FE8DF5D00BBE819 /* sc2.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 639F7AE21FE8DF5C00BBE819 /* sc2.jpg */; }; 18 | 639F7AEA1FE8DF5D00BBE819 /* sc0.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 639F7AE41FE8DF5C00BBE819 /* sc0.jpg */; }; 19 | 639F7AEB1FE8DF5D00BBE819 /* sc1.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 639F7AE51FE8DF5D00BBE819 /* sc1.jpg */; }; 20 | 639F7AEC1FE8DF5D00BBE819 /* sc3.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 639F7AE61FE8DF5D00BBE819 /* sc3.jpg */; }; 21 | 7E879B947D29A484E43B3216 /* Pods_SCPageControl_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B74D93C8FDA79CE4EC288C05 /* Pods_SCPageControl_Example.framework */; }; 22 | E4189F671EA508BE00064277 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXContainerItemProxy section */ 26 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 27 | isa = PBXContainerItemProxy; 28 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 29 | proxyType = 1; 30 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 31 | remoteInfo = SCPageControl; 32 | }; 33 | /* End PBXContainerItemProxy section */ 34 | 35 | /* Begin PBXFileReference section */ 36 | 1E6279EF1C1698FC0742F7EB /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 37 | 2D08F63DCCB08BA3175625BF /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 38 | 3A4B73FCF1969E44C9BEC50F /* Pods-SCPageControl_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCPageControl_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SCPageControl_Tests/Pods-SCPageControl_Tests.release.xcconfig"; sourceTree = ""; }; 39 | 47465B7A22F0F169EF276355 /* Pods-SCPageControl_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCPageControl_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SCPageControl_Tests/Pods-SCPageControl_Tests.debug.xcconfig"; sourceTree = ""; }; 40 | 5065DE897BDD03851C90B43E /* SCPageControl.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = SCPageControl.podspec; path = ../SCPageControl.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 41 | 607FACD01AFB9204008FA782 /* SCPageControl_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SCPageControl_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 43 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 44 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 45 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 46 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 47 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 48 | 607FACE51AFB9204008FA782 /* SCPageControl_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SCPageControl_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 50 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 51 | 639F7AE11FE8DF5C00BBE819 /* sc4.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = sc4.jpg; sourceTree = ""; }; 52 | 639F7AE21FE8DF5C00BBE819 /* sc2.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = sc2.jpg; sourceTree = ""; }; 53 | 639F7AE41FE8DF5C00BBE819 /* sc0.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = sc0.jpg; sourceTree = ""; }; 54 | 639F7AE51FE8DF5D00BBE819 /* sc1.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = sc1.jpg; sourceTree = ""; }; 55 | 639F7AE61FE8DF5D00BBE819 /* sc3.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = sc3.jpg; sourceTree = ""; }; 56 | 6A6F496F2E7F1A6FEC987785 /* Pods-SCPageControl_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCPageControl_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-SCPageControl_Example/Pods-SCPageControl_Example.release.xcconfig"; sourceTree = ""; }; 57 | 8362C2D48A834C319D563700 /* Pods-SCPageControl_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SCPageControl_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SCPageControl_Example/Pods-SCPageControl_Example.debug.xcconfig"; sourceTree = ""; }; 58 | A9E8E6E8E3281C5DC36F76D9 /* Pods_SCPageControl_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SCPageControl_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 59 | B74D93C8FDA79CE4EC288C05 /* Pods_SCPageControl_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SCPageControl_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 60 | /* End PBXFileReference section */ 61 | 62 | /* Begin PBXFrameworksBuildPhase section */ 63 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 64 | isa = PBXFrameworksBuildPhase; 65 | buildActionMask = 2147483647; 66 | files = ( 67 | 7E879B947D29A484E43B3216 /* Pods_SCPageControl_Example.framework in Frameworks */, 68 | ); 69 | runOnlyForDeploymentPostprocessing = 0; 70 | }; 71 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 72 | isa = PBXFrameworksBuildPhase; 73 | buildActionMask = 2147483647; 74 | files = ( 75 | 3714C5ABAB902E5C80D12ACE /* Pods_SCPageControl_Tests.framework in Frameworks */, 76 | ); 77 | runOnlyForDeploymentPostprocessing = 0; 78 | }; 79 | /* End PBXFrameworksBuildPhase section */ 80 | 81 | /* Begin PBXGroup section */ 82 | 607FACC71AFB9204008FA782 = { 83 | isa = PBXGroup; 84 | children = ( 85 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 86 | 607FACD21AFB9204008FA782 /* Example for SCPageControl */, 87 | 607FACE81AFB9204008FA782 /* Tests */, 88 | 607FACD11AFB9204008FA782 /* Products */, 89 | 90A8ADC455B2F76F91AB1DFC /* Pods */, 90 | F0340547B344CDFBFF5F8D51 /* Frameworks */, 91 | ); 92 | sourceTree = ""; 93 | }; 94 | 607FACD11AFB9204008FA782 /* Products */ = { 95 | isa = PBXGroup; 96 | children = ( 97 | 607FACD01AFB9204008FA782 /* SCPageControl_Example.app */, 98 | 607FACE51AFB9204008FA782 /* SCPageControl_Tests.xctest */, 99 | ); 100 | name = Products; 101 | sourceTree = ""; 102 | }; 103 | 607FACD21AFB9204008FA782 /* Example for SCPageControl */ = { 104 | isa = PBXGroup; 105 | children = ( 106 | 639F7AE01FE8DF4B00BBE819 /* Image */, 107 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 108 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 109 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 110 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 111 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 112 | 607FACD31AFB9204008FA782 /* Supporting Files */, 113 | ); 114 | name = "Example for SCPageControl"; 115 | path = SCPageControl; 116 | sourceTree = ""; 117 | }; 118 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 607FACD41AFB9204008FA782 /* Info.plist */, 122 | ); 123 | name = "Supporting Files"; 124 | sourceTree = ""; 125 | }; 126 | 607FACE81AFB9204008FA782 /* Tests */ = { 127 | isa = PBXGroup; 128 | children = ( 129 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 130 | 607FACE91AFB9204008FA782 /* Supporting Files */, 131 | ); 132 | path = Tests; 133 | sourceTree = ""; 134 | }; 135 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | 607FACEA1AFB9204008FA782 /* Info.plist */, 139 | ); 140 | name = "Supporting Files"; 141 | sourceTree = ""; 142 | }; 143 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | 5065DE897BDD03851C90B43E /* SCPageControl.podspec */, 147 | 2D08F63DCCB08BA3175625BF /* README.md */, 148 | 1E6279EF1C1698FC0742F7EB /* LICENSE */, 149 | ); 150 | name = "Podspec Metadata"; 151 | sourceTree = ""; 152 | }; 153 | 639F7AE01FE8DF4B00BBE819 /* Image */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | 639F7AE41FE8DF5C00BBE819 /* sc0.jpg */, 157 | 639F7AE51FE8DF5D00BBE819 /* sc1.jpg */, 158 | 639F7AE21FE8DF5C00BBE819 /* sc2.jpg */, 159 | 639F7AE61FE8DF5D00BBE819 /* sc3.jpg */, 160 | 639F7AE11FE8DF5C00BBE819 /* sc4.jpg */, 161 | ); 162 | name = Image; 163 | sourceTree = ""; 164 | }; 165 | 90A8ADC455B2F76F91AB1DFC /* Pods */ = { 166 | isa = PBXGroup; 167 | children = ( 168 | 8362C2D48A834C319D563700 /* Pods-SCPageControl_Example.debug.xcconfig */, 169 | 6A6F496F2E7F1A6FEC987785 /* Pods-SCPageControl_Example.release.xcconfig */, 170 | 47465B7A22F0F169EF276355 /* Pods-SCPageControl_Tests.debug.xcconfig */, 171 | 3A4B73FCF1969E44C9BEC50F /* Pods-SCPageControl_Tests.release.xcconfig */, 172 | ); 173 | name = Pods; 174 | sourceTree = ""; 175 | }; 176 | F0340547B344CDFBFF5F8D51 /* Frameworks */ = { 177 | isa = PBXGroup; 178 | children = ( 179 | B74D93C8FDA79CE4EC288C05 /* Pods_SCPageControl_Example.framework */, 180 | A9E8E6E8E3281C5DC36F76D9 /* Pods_SCPageControl_Tests.framework */, 181 | ); 182 | name = Frameworks; 183 | sourceTree = ""; 184 | }; 185 | /* End PBXGroup section */ 186 | 187 | /* Begin PBXNativeTarget section */ 188 | 607FACCF1AFB9204008FA782 /* SCPageControl_Example */ = { 189 | isa = PBXNativeTarget; 190 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SCPageControl_Example" */; 191 | buildPhases = ( 192 | CABAF57B2DF355CE65893CB0 /* [CP] Check Pods Manifest.lock */, 193 | 607FACCC1AFB9204008FA782 /* Sources */, 194 | 607FACCD1AFB9204008FA782 /* Frameworks */, 195 | 607FACCE1AFB9204008FA782 /* Resources */, 196 | 1E211BA792416155801220BE /* [CP] Embed Pods Frameworks */, 197 | ); 198 | buildRules = ( 199 | ); 200 | dependencies = ( 201 | ); 202 | name = SCPageControl_Example; 203 | productName = SCPageControl; 204 | productReference = 607FACD01AFB9204008FA782 /* SCPageControl_Example.app */; 205 | productType = "com.apple.product-type.application"; 206 | }; 207 | 607FACE41AFB9204008FA782 /* SCPageControl_Tests */ = { 208 | isa = PBXNativeTarget; 209 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SCPageControl_Tests" */; 210 | buildPhases = ( 211 | 4D1FD6D5383EEC4E57E0AB3B /* [CP] Check Pods Manifest.lock */, 212 | 607FACE11AFB9204008FA782 /* Sources */, 213 | 607FACE21AFB9204008FA782 /* Frameworks */, 214 | 607FACE31AFB9204008FA782 /* Resources */, 215 | ); 216 | buildRules = ( 217 | ); 218 | dependencies = ( 219 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 220 | ); 221 | name = SCPageControl_Tests; 222 | productName = Tests; 223 | productReference = 607FACE51AFB9204008FA782 /* SCPageControl_Tests.xctest */; 224 | productType = "com.apple.product-type.bundle.unit-test"; 225 | }; 226 | /* End PBXNativeTarget section */ 227 | 228 | /* Begin PBXProject section */ 229 | 607FACC81AFB9204008FA782 /* Project object */ = { 230 | isa = PBXProject; 231 | attributes = { 232 | LastSwiftUpdateCheck = 0720; 233 | LastUpgradeCheck = 1020; 234 | ORGANIZATIONNAME = CocoaPods; 235 | TargetAttributes = { 236 | 607FACCF1AFB9204008FA782 = { 237 | CreatedOnToolsVersion = 6.3.1; 238 | DevelopmentTeam = RM5FE27WRY; 239 | LastSwiftMigration = 1020; 240 | }; 241 | 607FACE41AFB9204008FA782 = { 242 | CreatedOnToolsVersion = 6.3.1; 243 | DevelopmentTeam = RM5FE27WRY; 244 | LastSwiftMigration = 1020; 245 | TestTargetID = 607FACCF1AFB9204008FA782; 246 | }; 247 | }; 248 | }; 249 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "SCPageControl" */; 250 | compatibilityVersion = "Xcode 3.2"; 251 | developmentRegion = en; 252 | hasScannedForEncodings = 0; 253 | knownRegions = ( 254 | en, 255 | Base, 256 | ); 257 | mainGroup = 607FACC71AFB9204008FA782; 258 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 259 | projectDirPath = ""; 260 | projectRoot = ""; 261 | targets = ( 262 | 607FACCF1AFB9204008FA782 /* SCPageControl_Example */, 263 | 607FACE41AFB9204008FA782 /* SCPageControl_Tests */, 264 | ); 265 | }; 266 | /* End PBXProject section */ 267 | 268 | /* Begin PBXResourcesBuildPhase section */ 269 | 607FACCE1AFB9204008FA782 /* Resources */ = { 270 | isa = PBXResourcesBuildPhase; 271 | buildActionMask = 2147483647; 272 | files = ( 273 | 639F7AE71FE8DF5D00BBE819 /* sc4.jpg in Resources */, 274 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 275 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 276 | 639F7AEC1FE8DF5D00BBE819 /* sc3.jpg in Resources */, 277 | 639F7AE81FE8DF5D00BBE819 /* sc2.jpg in Resources */, 278 | 639F7AEB1FE8DF5D00BBE819 /* sc1.jpg in Resources */, 279 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 280 | 639F7AEA1FE8DF5D00BBE819 /* sc0.jpg in Resources */, 281 | ); 282 | runOnlyForDeploymentPostprocessing = 0; 283 | }; 284 | 607FACE31AFB9204008FA782 /* Resources */ = { 285 | isa = PBXResourcesBuildPhase; 286 | buildActionMask = 2147483647; 287 | files = ( 288 | ); 289 | runOnlyForDeploymentPostprocessing = 0; 290 | }; 291 | /* End PBXResourcesBuildPhase section */ 292 | 293 | /* Begin PBXShellScriptBuildPhase section */ 294 | 1E211BA792416155801220BE /* [CP] Embed Pods Frameworks */ = { 295 | isa = PBXShellScriptBuildPhase; 296 | buildActionMask = 2147483647; 297 | files = ( 298 | ); 299 | inputFileListPaths = ( 300 | ); 301 | inputPaths = ( 302 | "${PODS_ROOT}/Target Support Files/Pods-SCPageControl_Example/Pods-SCPageControl_Example-frameworks.sh", 303 | "${BUILT_PRODUCTS_DIR}/SCPageControl/SCPageControl.framework", 304 | ); 305 | name = "[CP] Embed Pods Frameworks"; 306 | outputFileListPaths = ( 307 | ); 308 | outputPaths = ( 309 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SCPageControl.framework", 310 | ); 311 | runOnlyForDeploymentPostprocessing = 0; 312 | shellPath = /bin/sh; 313 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SCPageControl_Example/Pods-SCPageControl_Example-frameworks.sh\"\n"; 314 | showEnvVarsInLog = 0; 315 | }; 316 | 4D1FD6D5383EEC4E57E0AB3B /* [CP] Check Pods Manifest.lock */ = { 317 | isa = PBXShellScriptBuildPhase; 318 | buildActionMask = 2147483647; 319 | files = ( 320 | ); 321 | inputPaths = ( 322 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 323 | "${PODS_ROOT}/Manifest.lock", 324 | ); 325 | name = "[CP] Check Pods Manifest.lock"; 326 | outputPaths = ( 327 | "$(DERIVED_FILE_DIR)/Pods-SCPageControl_Tests-checkManifestLockResult.txt", 328 | ); 329 | runOnlyForDeploymentPostprocessing = 0; 330 | shellPath = /bin/sh; 331 | 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"; 332 | showEnvVarsInLog = 0; 333 | }; 334 | CABAF57B2DF355CE65893CB0 /* [CP] Check Pods Manifest.lock */ = { 335 | isa = PBXShellScriptBuildPhase; 336 | buildActionMask = 2147483647; 337 | files = ( 338 | ); 339 | inputPaths = ( 340 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 341 | "${PODS_ROOT}/Manifest.lock", 342 | ); 343 | name = "[CP] Check Pods Manifest.lock"; 344 | outputPaths = ( 345 | "$(DERIVED_FILE_DIR)/Pods-SCPageControl_Example-checkManifestLockResult.txt", 346 | ); 347 | runOnlyForDeploymentPostprocessing = 0; 348 | shellPath = /bin/sh; 349 | 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"; 350 | showEnvVarsInLog = 0; 351 | }; 352 | /* End PBXShellScriptBuildPhase section */ 353 | 354 | /* Begin PBXSourcesBuildPhase section */ 355 | 607FACCC1AFB9204008FA782 /* Sources */ = { 356 | isa = PBXSourcesBuildPhase; 357 | buildActionMask = 2147483647; 358 | files = ( 359 | E4189F671EA508BE00064277 /* ViewController.swift in Sources */, 360 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 361 | ); 362 | runOnlyForDeploymentPostprocessing = 0; 363 | }; 364 | 607FACE11AFB9204008FA782 /* Sources */ = { 365 | isa = PBXSourcesBuildPhase; 366 | buildActionMask = 2147483647; 367 | files = ( 368 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 369 | ); 370 | runOnlyForDeploymentPostprocessing = 0; 371 | }; 372 | /* End PBXSourcesBuildPhase section */ 373 | 374 | /* Begin PBXTargetDependency section */ 375 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 376 | isa = PBXTargetDependency; 377 | target = 607FACCF1AFB9204008FA782 /* SCPageControl_Example */; 378 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 379 | }; 380 | /* End PBXTargetDependency section */ 381 | 382 | /* Begin PBXVariantGroup section */ 383 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 384 | isa = PBXVariantGroup; 385 | children = ( 386 | 607FACDA1AFB9204008FA782 /* Base */, 387 | ); 388 | name = Main.storyboard; 389 | sourceTree = ""; 390 | }; 391 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 392 | isa = PBXVariantGroup; 393 | children = ( 394 | 607FACDF1AFB9204008FA782 /* Base */, 395 | ); 396 | name = LaunchScreen.xib; 397 | sourceTree = ""; 398 | }; 399 | /* End PBXVariantGroup section */ 400 | 401 | /* Begin XCBuildConfiguration section */ 402 | 607FACED1AFB9204008FA782 /* Debug */ = { 403 | isa = XCBuildConfiguration; 404 | buildSettings = { 405 | ALWAYS_SEARCH_USER_PATHS = NO; 406 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 407 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 408 | CLANG_CXX_LIBRARY = "libc++"; 409 | CLANG_ENABLE_MODULES = YES; 410 | CLANG_ENABLE_OBJC_ARC = YES; 411 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 412 | CLANG_WARN_BOOL_CONVERSION = YES; 413 | CLANG_WARN_COMMA = YES; 414 | CLANG_WARN_CONSTANT_CONVERSION = YES; 415 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 416 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 417 | CLANG_WARN_EMPTY_BODY = YES; 418 | CLANG_WARN_ENUM_CONVERSION = YES; 419 | CLANG_WARN_INFINITE_RECURSION = YES; 420 | CLANG_WARN_INT_CONVERSION = YES; 421 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 422 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 423 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 424 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 425 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 426 | CLANG_WARN_STRICT_PROTOTYPES = YES; 427 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 428 | CLANG_WARN_UNREACHABLE_CODE = YES; 429 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 430 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 431 | COPY_PHASE_STRIP = NO; 432 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 433 | ENABLE_STRICT_OBJC_MSGSEND = YES; 434 | ENABLE_TESTABILITY = YES; 435 | GCC_C_LANGUAGE_STANDARD = gnu99; 436 | GCC_DYNAMIC_NO_PIC = NO; 437 | GCC_NO_COMMON_BLOCKS = YES; 438 | GCC_OPTIMIZATION_LEVEL = 0; 439 | GCC_PREPROCESSOR_DEFINITIONS = ( 440 | "DEBUG=1", 441 | "$(inherited)", 442 | ); 443 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 444 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 445 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 446 | GCC_WARN_UNDECLARED_SELECTOR = YES; 447 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 448 | GCC_WARN_UNUSED_FUNCTION = YES; 449 | GCC_WARN_UNUSED_VARIABLE = YES; 450 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 451 | MTL_ENABLE_DEBUG_INFO = YES; 452 | ONLY_ACTIVE_ARCH = YES; 453 | SDKROOT = iphoneos; 454 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 455 | SWIFT_VERSION = ""; 456 | VALID_ARCHS = "arm64 arm64e armv7 armv7s"; 457 | }; 458 | name = Debug; 459 | }; 460 | 607FACEE1AFB9204008FA782 /* Release */ = { 461 | isa = XCBuildConfiguration; 462 | buildSettings = { 463 | ALWAYS_SEARCH_USER_PATHS = NO; 464 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 465 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 466 | CLANG_CXX_LIBRARY = "libc++"; 467 | CLANG_ENABLE_MODULES = YES; 468 | CLANG_ENABLE_OBJC_ARC = YES; 469 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 470 | CLANG_WARN_BOOL_CONVERSION = YES; 471 | CLANG_WARN_COMMA = YES; 472 | CLANG_WARN_CONSTANT_CONVERSION = YES; 473 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 474 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 475 | CLANG_WARN_EMPTY_BODY = YES; 476 | CLANG_WARN_ENUM_CONVERSION = YES; 477 | CLANG_WARN_INFINITE_RECURSION = YES; 478 | CLANG_WARN_INT_CONVERSION = YES; 479 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 480 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 481 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 482 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 483 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 484 | CLANG_WARN_STRICT_PROTOTYPES = YES; 485 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 486 | CLANG_WARN_UNREACHABLE_CODE = YES; 487 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 488 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 489 | COPY_PHASE_STRIP = NO; 490 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 491 | ENABLE_NS_ASSERTIONS = NO; 492 | ENABLE_STRICT_OBJC_MSGSEND = YES; 493 | GCC_C_LANGUAGE_STANDARD = gnu99; 494 | GCC_NO_COMMON_BLOCKS = YES; 495 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 496 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 497 | GCC_WARN_UNDECLARED_SELECTOR = YES; 498 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 499 | GCC_WARN_UNUSED_FUNCTION = YES; 500 | GCC_WARN_UNUSED_VARIABLE = YES; 501 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 502 | MTL_ENABLE_DEBUG_INFO = NO; 503 | SDKROOT = iphoneos; 504 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 505 | SWIFT_VERSION = ""; 506 | VALIDATE_PRODUCT = YES; 507 | VALID_ARCHS = "arm64 arm64e armv7 armv7s"; 508 | }; 509 | name = Release; 510 | }; 511 | 607FACF01AFB9204008FA782 /* Debug */ = { 512 | isa = XCBuildConfiguration; 513 | baseConfigurationReference = 8362C2D48A834C319D563700 /* Pods-SCPageControl_Example.debug.xcconfig */; 514 | buildSettings = { 515 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 516 | DEVELOPMENT_TEAM = RM5FE27WRY; 517 | FRAMEWORK_SEARCH_PATHS = ( 518 | "$(inherited)", 519 | "\"${PODS_CONFIGURATION_BUILD_DIR}/SCPageControl\"", 520 | ); 521 | HEADER_SEARCH_PATHS = "$(inherited)"; 522 | INFOPLIST_FILE = SCPageControl/Info.plist; 523 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 524 | LD_RUNPATH_SEARCH_PATHS = "$(inherited)"; 525 | MODULE_NAME = ExampleApp; 526 | MTL_ENABLE_DEBUG_INFO = NO; 527 | ONLY_ACTIVE_ARCH = YES; 528 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 529 | PRODUCT_NAME = "$(TARGET_NAME)"; 530 | SWIFT_VERSION = 5.0; 531 | VALID_ARCHS = "arm64 armv7 armv7s arm64e"; 532 | }; 533 | name = Debug; 534 | }; 535 | 607FACF11AFB9204008FA782 /* Release */ = { 536 | isa = XCBuildConfiguration; 537 | baseConfigurationReference = 6A6F496F2E7F1A6FEC987785 /* Pods-SCPageControl_Example.release.xcconfig */; 538 | buildSettings = { 539 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 540 | DEVELOPMENT_TEAM = RM5FE27WRY; 541 | FRAMEWORK_SEARCH_PATHS = ( 542 | "$(inherited)", 543 | "\"${PODS_CONFIGURATION_BUILD_DIR}/SCPageControl\"", 544 | ); 545 | HEADER_SEARCH_PATHS = "$(inherited)"; 546 | INFOPLIST_FILE = SCPageControl/Info.plist; 547 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 548 | LD_RUNPATH_SEARCH_PATHS = "$(inherited)"; 549 | MODULE_NAME = ExampleApp; 550 | MTL_ENABLE_DEBUG_INFO = YES; 551 | ONLY_ACTIVE_ARCH = NO; 552 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 553 | PRODUCT_NAME = "$(TARGET_NAME)"; 554 | SWIFT_VERSION = 5.0; 555 | VALID_ARCHS = "arm64 armv7 armv7s arm64e"; 556 | }; 557 | name = Release; 558 | }; 559 | 607FACF31AFB9204008FA782 /* Debug */ = { 560 | isa = XCBuildConfiguration; 561 | baseConfigurationReference = 47465B7A22F0F169EF276355 /* Pods-SCPageControl_Tests.debug.xcconfig */; 562 | buildSettings = { 563 | DEVELOPMENT_TEAM = RM5FE27WRY; 564 | FRAMEWORK_SEARCH_PATHS = ( 565 | "$(SDKROOT)/Developer/Library/Frameworks", 566 | "$(inherited)", 567 | ); 568 | GCC_PREPROCESSOR_DEFINITIONS = ( 569 | "DEBUG=1", 570 | "$(inherited)", 571 | ); 572 | INFOPLIST_FILE = Tests/Info.plist; 573 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 574 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 575 | PRODUCT_NAME = "$(TARGET_NAME)"; 576 | SWIFT_VERSION = 5.0; 577 | }; 578 | name = Debug; 579 | }; 580 | 607FACF41AFB9204008FA782 /* Release */ = { 581 | isa = XCBuildConfiguration; 582 | baseConfigurationReference = 3A4B73FCF1969E44C9BEC50F /* Pods-SCPageControl_Tests.release.xcconfig */; 583 | buildSettings = { 584 | DEVELOPMENT_TEAM = RM5FE27WRY; 585 | FRAMEWORK_SEARCH_PATHS = ( 586 | "$(SDKROOT)/Developer/Library/Frameworks", 587 | "$(inherited)", 588 | ); 589 | INFOPLIST_FILE = Tests/Info.plist; 590 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 591 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 592 | PRODUCT_NAME = "$(TARGET_NAME)"; 593 | SWIFT_VERSION = 5.0; 594 | }; 595 | name = Release; 596 | }; 597 | /* End XCBuildConfiguration section */ 598 | 599 | /* Begin XCConfigurationList section */ 600 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "SCPageControl" */ = { 601 | isa = XCConfigurationList; 602 | buildConfigurations = ( 603 | 607FACED1AFB9204008FA782 /* Debug */, 604 | 607FACEE1AFB9204008FA782 /* Release */, 605 | ); 606 | defaultConfigurationIsVisible = 0; 607 | defaultConfigurationName = Release; 608 | }; 609 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SCPageControl_Example" */ = { 610 | isa = XCConfigurationList; 611 | buildConfigurations = ( 612 | 607FACF01AFB9204008FA782 /* Debug */, 613 | 607FACF11AFB9204008FA782 /* Release */, 614 | ); 615 | defaultConfigurationIsVisible = 0; 616 | defaultConfigurationName = Release; 617 | }; 618 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SCPageControl_Tests" */ = { 619 | isa = XCConfigurationList; 620 | buildConfigurations = ( 621 | 607FACF31AFB9204008FA782 /* Debug */, 622 | 607FACF41AFB9204008FA782 /* Release */, 623 | ); 624 | defaultConfigurationIsVisible = 0; 625 | defaultConfigurationName = Release; 626 | }; 627 | /* End XCConfigurationList section */ 628 | }; 629 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 630 | } 631 | -------------------------------------------------------------------------------- /Example/SCPageControl.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/SCPageControl.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/SCPageControl.xcodeproj/xcshareddata/xcschemes/SCPageControl-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 93 | 94 | 95 | 96 | 97 | 98 | 104 | 106 | 112 | 113 | 114 | 115 | 117 | 118 | 121 | 122 | 123 | -------------------------------------------------------------------------------- /Example/SCPageControl.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/SCPageControl.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/SCPageControl/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // SCPageControl 4 | // 5 | // Created by myoung on 04/17/2017. 6 | // Copyright (c) 2017 myoung. 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/SCPageControl/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/SCPageControl/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 | -------------------------------------------------------------------------------- /Example/SCPageControl/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 | } -------------------------------------------------------------------------------- /Example/SCPageControl/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 | 0.4.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/SCPageControl/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // SCPageControl 4 | // 5 | // Created by myoung on 04/17/2017. 6 | // Copyright (c) 2017 myoung. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import SCPageControl 11 | 12 | class ViewController: UIViewController, UIScrollViewDelegate { 13 | 14 | @IBOutlet weak var sc_main: UIScrollView! 15 | @IBOutlet weak var ScPageControl: SCPageControlView! 16 | @IBOutlet weak var SCP_SCJAMoveCircle: SCPageControlView! 17 | @IBOutlet weak var SCP_SCJAFillCircle: SCPageControlView! 18 | @IBOutlet weak var SCP_SCJAFlatBar: SCPageControlView! 19 | 20 | var screenWidth : CGFloat = UIScreen.main.bounds.size.width 21 | var screenHeight : CGFloat = UIScreen.main.bounds.size.height 22 | 23 | let arrImg: [UIImage] = [UIImage(named: "sc0.jpg")!, 24 | UIImage(named: "sc1.jpg")!, 25 | UIImage(named: "sc2.jpg")!, 26 | UIImage(named: "sc3.jpg")!, 27 | UIImage(named: "sc4.jpg")!] 28 | 29 | let arr_color: [UIColor] = [UIColor.red, UIColor.blue, UIColor.green, UIColor.purple, UIColor.brown] 30 | var previousDeviceOrientation: UIDeviceOrientation = UIDevice.current.orientation 31 | 32 | override func viewDidLoad() { 33 | super.viewDidLoad() 34 | 35 | NotificationCenter.default.addObserver( 36 | self, 37 | selector: #selector(deviceDidRotate), 38 | name: UIDevice.orientationDidChangeNotification, 39 | object: nil 40 | ) 41 | init_view() 42 | } 43 | 44 | override func didReceiveMemoryWarning() { 45 | super.didReceiveMemoryWarning() 46 | } 47 | 48 | //if you use autolayout, initial SCPageControll in ViewDidLayoutSubviews Method 49 | override func viewDidLayoutSubviews() { 50 | super.viewDidLayoutSubviews() 51 | /* 52 | ScPageControl.frame = ScPageControl.frame 53 | ScPageControl.scp_style = .SCNormal 54 | ScPageControl.set_view(Int(sc_main.contentSize.width/screenWidth), current: 0, tint_color: .red) 55 | */ 56 | } 57 | 58 | //MARK: ## view init ## 59 | func init_view() { 60 | 61 | sc_main.frame = CGRect(x: 0, y: 0, width: screenWidth, height: screenHeight) 62 | sc_main.delegate = self 63 | sc_main.isPagingEnabled = true 64 | sc_main.contentSize = CGSize(width: screenWidth*5.0, height: screenHeight) 65 | //sc_main.contentOffset = CGPoint(x: sc_main.frame.size.width, y: 0) //<- Only Start Page Not first Page 66 | 67 | for i in 0 ..< Int(sc_main.contentSize.width/screenWidth) { 68 | 69 | let ivImage = UIImageView(frame: CGRect(x: screenWidth*CGFloat(i), y: 0, width: screenWidth, height: screenHeight-200)) 70 | ivImage.image = arrImg[i] 71 | ivImage.contentMode = .scaleAspectFill 72 | ivImage.clipsToBounds = true 73 | sc_main.addSubview(ivImage) 74 | 75 | let lb_title = UILabel(frame: CGRect(x: screenWidth*CGFloat(i), y: 100, width: screenWidth, height: 100)) 76 | lb_title.text = "\(i+1) Page" 77 | lb_title.textAlignment = .center 78 | lb_title.textColor = arr_color[i] 79 | lb_title.font = UIFont.boldSystemFont(ofSize: 30.0) 80 | sc_main.addSubview(lb_title) 81 | } 82 | 83 | /** 84 | ## SCPageControlView Setting Value ## 85 | - set_view Function 86 | - First parameter is Page Count 87 | - Seconde Parameter is Start Page 88 | - Third Parameter is PageControl tint_Color 89 | */ 90 | //## Style SCNormal ## 91 | ScPageControl.frame = CGRect(x: 0, y: screenHeight-50, width: screenWidth, height: 50) 92 | ScPageControl.scp_style = .SCNormal 93 | ScPageControl.set_view(Int(sc_main.contentSize.width/screenWidth), current: 0, current_color: .red) 94 | 95 | //## Style SCJAMoveCircle ## 96 | SCP_SCJAMoveCircle.frame = CGRect(x: 0, y: screenHeight-100, width: screenWidth, height: 50) 97 | SCP_SCJAMoveCircle.scp_style = .SCJAMoveCircle 98 | // SCP_SCJAMoveCircle.isCircle = false //Not use circle 99 | SCP_SCJAMoveCircle.set_view(Int(sc_main.contentSize.width/screenWidth), current: 0, current_color: .orange) 100 | 101 | //## Style SCJAFillCircle ## 102 | SCP_SCJAFillCircle.frame = CGRect(x: 0, y: screenHeight-150, width: screenWidth, height: 50) 103 | SCP_SCJAFillCircle.scp_style = .SCJAFillCircle 104 | SCP_SCJAFillCircle.set_view(Int(sc_main.contentSize.width/screenWidth), current: 0, current_color: .green) 105 | 106 | //## Style SCJAFlatBar ## 107 | SCP_SCJAFlatBar.frame = CGRect(x: 0, y: screenHeight-200, width: screenWidth, height: 50) 108 | SCP_SCJAFlatBar.scp_style = .SCJAFlatBar 109 | SCP_SCJAFlatBar.set_view(Int(sc_main.contentSize.width/screenWidth), current: 0, current_color: .blue) 110 | } 111 | 112 | //MARK: ## ScrollView Delegate ## 113 | func scrollViewDidScroll(_ scrollView: UIScrollView) { 114 | //Added as required 115 | ScPageControl.scroll_did(scrollView) 116 | SCP_SCJAMoveCircle.scroll_did(scrollView) 117 | SCP_SCJAFillCircle.scroll_did(scrollView) 118 | SCP_SCJAFlatBar.scroll_did(scrollView) 119 | } 120 | 121 | // ## Moment in rotate Device ## 122 | // Only when not use AutoLayout 123 | @objc func deviceDidRotate() { 124 | 125 | if UIDevice.current.orientation == previousDeviceOrientation { return } 126 | previousDeviceOrientation = UIDevice.current.orientation 127 | 128 | screenWidth = UIScreen.main.bounds.size.width 129 | screenHeight = UIScreen.main.bounds.size.height 130 | 131 | var f_x: CGFloat = 0.0 132 | for subview in sc_main.subviews { 133 | if subview.isKind(of: UILabel.classForCoder()) { 134 | subview.frame = CGRect(x: f_x, y: 100, width: screenWidth, height: 100) 135 | f_x += screenWidth 136 | } 137 | } 138 | let f_page = sc_main.contentOffset.x / sc_main.frame.size.width 139 | 140 | sc_main.frame = CGRect(x: 0, y: 0, width: screenWidth, height: screenHeight) 141 | sc_main.contentSize = CGSize(width: screenWidth*5.0, height: screenHeight) 142 | 143 | ScPageControl.frame = CGRect(x: 0, y: screenHeight-50, width: screenWidth, height: 50) 144 | ScPageControl.set_rotateDevice() 145 | 146 | SCP_SCJAMoveCircle.frame = CGRect(x: 0, y: screenHeight-100, width: screenWidth, height: 50) 147 | SCP_SCJAMoveCircle.set_rotateDevice() 148 | 149 | SCP_SCJAFillCircle.frame = CGRect(x: 0, y: screenHeight-150, width: screenWidth, height: 50) 150 | SCP_SCJAFillCircle.set_rotateDevice() 151 | 152 | SCP_SCJAFlatBar.frame = CGRect(x: 0, y: screenHeight-200, width: screenWidth, height: 50) 153 | SCP_SCJAFlatBar.set_rotateDevice() 154 | 155 | sc_main.scrollRectToVisible(CGRect(x: sc_main.frame.size.width*f_page, y: 0, width: sc_main.frame.size.width, height: sc_main.frame.size.height), animated: true) 156 | } 157 | 158 | } 159 | -------------------------------------------------------------------------------- /Example/SCPageControl/sc0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myoungsc/SCPageControl/a03ddf71c7376eab378111ea60c648220dc91255/Example/SCPageControl/sc0.jpg -------------------------------------------------------------------------------- /Example/SCPageControl/sc1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myoungsc/SCPageControl/a03ddf71c7376eab378111ea60c648220dc91255/Example/SCPageControl/sc1.jpg -------------------------------------------------------------------------------- /Example/SCPageControl/sc2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myoungsc/SCPageControl/a03ddf71c7376eab378111ea60c648220dc91255/Example/SCPageControl/sc2.jpg -------------------------------------------------------------------------------- /Example/SCPageControl/sc3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myoungsc/SCPageControl/a03ddf71c7376eab378111ea60c648220dc91255/Example/SCPageControl/sc3.jpg -------------------------------------------------------------------------------- /Example/SCPageControl/sc4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myoungsc/SCPageControl/a03ddf71c7376eab378111ea60c648220dc91255/Example/SCPageControl/sc4.jpg -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import SCPageControl 4 | 5 | class Tests: XCTestCase { 6 | 7 | override func setUp() { 8 | super.setUp() 9 | // Put setup code here. This method is called before the invocation of each test method in the class. 10 | } 11 | 12 | override func tearDown() { 13 | // Put teardown code here. This method is called after the invocation of each test method in the class. 14 | super.tearDown() 15 | } 16 | 17 | func testExample() { 18 | // This is an example of a functional test case. 19 | XCTAssert(true, "Pass") 20 | } 21 | 22 | func testPerformanceExample() { 23 | // This is an example of a performance test case. 24 | self.measure() { 25 | // Put the code you want to measure the time of here. 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 myoung 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SCPageControl 2 | [![CI Status](http://img.shields.io/travis/myoung/SCPageControl.svg?style=flat)](https://travis-ci.org/myoung/SCPageControl) 3 | [![Version](https://img.shields.io/cocoapods/v/SCPageControl.svg?style=flat)](http://cocoapods.org/pods/SCPageControl) 4 | [![License](https://img.shields.io/cocoapods/l/SCPageControl.svg?style=flat)](http://cocoapods.org/pods/SCPageControl) 5 | [![Platform](https://img.shields.io/cocoapods/p/SCPageControl.svg?style=flat)](http://cocoapods.org/pods/SCPageControl) 6 | 7 | ## Description 8 | Scrolling A page control that moves in sync with the page movement distance. 9 | 10 | #### Next Update Todo 11 | 12 | - [x] Apply disable_color another design. disable_color is not beautiful 13 | 14 | 15 | ## ScreenShot 16 | ![](https://github.com/myoungsc/SCPageControl/blob/master/ScreenShot/SCPageControl.gif) 17 | 18 | ## Requirements 19 | ``` 20 | * Swift 5.0 21 | * XCode 10.2 (10E125) 22 | * iOS 9.0 (Min SDK) 23 | * Not Use Autolayout 24 | ``` 25 | 26 | ## Installation 27 | SCPageControl is available through [CocoaPods](http://cocoapods.org). To install 28 | it, simply add the following line to your Podfile: 29 | 30 | ```ruby 31 | //Swift 5.0 32 | pod "SCPageControl" 33 | 34 | //Swift 4.2 35 | pod "SCPageControl", '-> 0.3.2' 36 | 37 | //Swift 4.0 38 | pod "SCPageControl", '-> 0.2.1' 39 | 40 | 41 | //After 42 | pod install 43 | ``` 44 | 45 | ## How To Use 46 | ```Swift 47 | import SCPageControl 48 | 49 | public enum SCPageStyle: Int { 50 | case SCNormal = 100 51 | case SCJAMoveCircle // Design by Jardson Almeida 52 | case SCJAFillCircle // Design by Jardson Almeida 53 | case SCJAFlatBar // Design by Jardson Almeida 54 | } 55 | 56 | let sc = SCPageControlView() 57 | 58 | override func viewDidLoad() { 59 | super.viewDidLoad() 60 | 61 | sc.frame = CGRect(x: 0, y: UIScreen.main.bounds.size.height-50, width: UIScreen.main.bounds.size.width, height: 50) 62 | sc.scp_style = .SCNormal 63 | sc.set_view(5, current: 0, current_color: .red) 64 | view.addSubview(sc) 65 | } 66 | 67 | //MARK: ScrollView Delegate 68 | func scrollViewDidScroll(_ scrollView: UIScrollView) { 69 | sc.scroll_did(scrollView) 70 | } 71 | ``` 72 | 73 | 74 | ## Author 75 | myoung 76 | 77 | [HomePage](http://devsc.tistory.com) 78 | 79 | 80 | 81 | ## Design And Help 82 | ``` 83 | SCJA series Design is "Jardson Almeida", e-mail is "hello@jardsonalmeida.com" 84 | ``` 85 | 86 | ``` 87 | Algorithm Help 88 | Jangbyeonghui to PeopleRoad 89 | ``` 90 | 91 | ## License 92 | SCPageControl is available under the MIT license. See the LICENSE file for more info. 93 | -------------------------------------------------------------------------------- /SCPageControl.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'SCPageControl' 3 | s.version = '0.4.0' 4 | s.summary = 'SCPageControl is pagecontrol' 5 | s.description = 'A short description of SCPageControl. It animation' 6 | 7 | s.homepage = 'https://github.com/myoungsc/SCPageControl' 8 | s.license = { :type => 'MIT', :file => 'LICENSE' } 9 | s.author = { 'myoung' => 'myoungsc.dev@gmail.com' } 10 | s.source = { :git => 'https://github.com/myoungsc/SCPageControl.git', :tag => s.version.to_s } 11 | 12 | s.ios.deployment_target = '9.0' 13 | s.source_files = 'SCPageControl/Classes/**/*' 14 | 15 | end 16 | -------------------------------------------------------------------------------- /SCPageControl/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myoungsc/SCPageControl/a03ddf71c7376eab378111ea60c648220dc91255/SCPageControl/Assets/.gitkeep -------------------------------------------------------------------------------- /SCPageControl/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myoungsc/SCPageControl/a03ddf71c7376eab378111ea60c648220dc91255/SCPageControl/Classes/.gitkeep -------------------------------------------------------------------------------- /SCPageControl/Classes/SCP_SCJAFillCircle.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SCP_SCFillCircle.swift 3 | // Pods 4 | // 5 | // Created by Myoung on 2017. 5. 1.. 6 | // 7 | // 8 | 9 | import UIKit 10 | 11 | class SCP_SCJAFillCircle: UIView { 12 | 13 | var numberOfPage: Int = 0, currentOfPage: Int = 0 14 | var f_start_point: CGFloat = 0.0, f_start: CGFloat = 0.0 15 | var f_circle: CGFloat = 0.0 16 | 17 | required init(coder aDecoder: NSCoder) { 18 | super.init(coder:aDecoder)! 19 | } 20 | 21 | override init(frame:CGRect) { 22 | super.init(frame:frame) 23 | } 24 | 25 | override func layoutSubviews() { 26 | super.layoutSubviews() 27 | } 28 | 29 | // ## view init method ## 30 | func set_view(_ page: Int, current: Int, current_color: UIColor) { 31 | 32 | numberOfPage = page 33 | currentOfPage = current 34 | 35 | let f_all_width: CGFloat = CGFloat(numberOfPage*20) 36 | 37 | guard f_all_width < self.frame.size.width else { 38 | print("frame.Width over Number Of Page") 39 | return 40 | } 41 | 42 | f_circle = 10.0 43 | var f_x: CGFloat = ((self.frame.size.width-f_all_width)/2.0) + 5, f_y: CGFloat = (self.frame.size.height-f_circle)/2.0 44 | 45 | f_start_point = f_x 46 | 47 | for i in 0 ..< numberOfPage { 48 | let img_page = UIImageView() 49 | img_page.layer.borderColor = current_color.cgColor 50 | img_page.frame = CGRect(x: f_x, y: f_y, width: f_circle, height: f_circle) 51 | img_page.layer.cornerRadius = img_page.frame.size.height/2.0 52 | img_page.tag = i+10 53 | self.addSubview(img_page) 54 | 55 | if i == currentOfPage { 56 | img_page.layer.borderWidth = f_circle/2.0 57 | } else { 58 | img_page.layer.borderWidth = 1.0 59 | } 60 | 61 | f_x += f_circle + 10 62 | } 63 | } 64 | 65 | // ## Call the move page in scrollView ## 66 | func scroll_did(_ scrollView: UIScrollView) { 67 | 68 | let f_page = scrollView.contentOffset.x / scrollView.frame.size.width 69 | 70 | let tag_value = get_imgView_tag(f_page)+10 71 | let f_next_start: CGFloat = (CGFloat(tag_value-10) * scrollView.frame.size.width) 72 | let f_border_width = (f_circle/2.0)-1.0 73 | let f_border: CGFloat = (f_border_width*(scrollView.contentOffset.x-f_next_start)/scrollView.frame.size.width) 74 | 75 | if let iv_page: UIImageView = self.viewWithTag(tag_value) as? UIImageView, 76 | tag_value >= 10 && tag_value+1 < numberOfPage+10 { 77 | iv_page.layer.borderWidth = (f_circle/2.0)-f_border 78 | 79 | if let iv_page_next: UIImageView = self.viewWithTag(tag_value+1) as? UIImageView { 80 | iv_page_next.layer.borderWidth = 1+f_border 81 | } 82 | } 83 | } 84 | 85 | // ## return ImageView tag number ## 86 | func get_imgView_tag(_ f_page: CGFloat) -> Int { 87 | let f_temp = f_page - 0.02 88 | return Int(f_temp) 89 | } 90 | 91 | // ## Call the moment in rotate Device ## 92 | func set_rotateDevice(_ frame: CGRect) { 93 | self.frame = frame 94 | 95 | let f_width: CGFloat = CGFloat(numberOfPage*20) 96 | var f_x: CGFloat = (self.frame.size.width-f_width)/2.0 + 5 97 | 98 | f_start_point = f_x 99 | 100 | for subview in self.subviews { 101 | if subview.isKind(of: UIImageView.classForCoder()) { 102 | subview.frame.origin.x = f_x 103 | f_x += subview.frame.size.width + 10 104 | } 105 | } 106 | } 107 | } 108 | -------------------------------------------------------------------------------- /SCPageControl/Classes/SCP_SCJAFlatBar.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SCP_SCFlatBar.swift 3 | // Pods 4 | // 5 | // Created by Myoung on 2017. 5. 2.. 6 | // 7 | // 8 | 9 | import UIKit 10 | 11 | class SCP_SCJAFlatBar: UIView { 12 | 13 | var numberOfPage: Int = 0, currentOfPage: Int = 0 14 | var f_start_point: CGFloat = 0.0, f_last_x: CGFloat = 0.0 15 | 16 | let img_move = UIImageView() 17 | 18 | required init(coder aDecoder: NSCoder) { 19 | super.init(coder:aDecoder)! 20 | } 21 | 22 | override init(frame:CGRect) { 23 | super.init(frame:frame) 24 | } 25 | 26 | override func layoutSubviews() { 27 | super.layoutSubviews() 28 | } 29 | 30 | // ## view init method ## 31 | func set_view(_ page: Int, current: Int, current_color: UIColor) { 32 | 33 | numberOfPage = page 34 | currentOfPage = current 35 | 36 | let f_all_width: CGFloat = CGFloat(numberOfPage*20) 37 | 38 | guard f_all_width < self.frame.size.width else { 39 | print("frame.Width over Number Of Page") 40 | return 41 | } 42 | 43 | let f_width: CGFloat = 15.0, f_height: CGFloat = 3.0 44 | var f_x: CGFloat = ((self.frame.size.width-f_all_width)/2.0) - (f_width/2.0) 45 | var f_y: CGFloat = (self.frame.size.height-f_height)/2.0, f_move_x: CGFloat = 0.0 46 | 47 | f_start_point = f_x 48 | 49 | for i in 0 ..< numberOfPage { 50 | let img_page = UIImageView(frame: CGRect(x: f_x, y: f_y, width: f_width, height: f_height)) 51 | img_page.backgroundColor = current_color 52 | img_page.alpha = 0.2 53 | img_page.layer.cornerRadius = img_page.frame.size.height/2.0 54 | img_page.tag = i+10 55 | self.addSubview(img_page) 56 | 57 | if i == current { 58 | f_move_x = img_page.frame.origin.x + 11 59 | } 60 | 61 | f_x += f_width + 5 62 | } 63 | 64 | f_last_x = f_move_x 65 | 66 | img_move.frame = CGRect(x: f_move_x, y: f_y, width: f_width, height: f_height) 67 | img_move.backgroundColor = current_color 68 | img_move.layer.cornerRadius = img_move.frame.size.height/2.0 69 | img_move.tag = 5 70 | self.addSubview(img_move) 71 | } 72 | 73 | // ## Call the move page in scrollView ## 74 | func scroll_did(_ scrollView: UIScrollView) { 75 | let f_move_x: CGFloat = (20*(scrollView.contentOffset.x/scrollView.frame.size.width)) 76 | img_move.frame.origin.x = f_start_point + f_move_x 77 | f_last_x = img_move.frame.origin.x 78 | } 79 | 80 | // ## Call the moment in rotate Device ## 81 | func set_rotateDevice(_ frame: CGRect) { 82 | self.frame = frame 83 | 84 | let f_width: CGFloat = CGFloat(numberOfPage*20) - 7.5 85 | var f_x: CGFloat = (self.frame.size.width-f_width)/2.0 86 | 87 | f_start_point = f_x 88 | 89 | for subview in self.subviews { 90 | if subview.isKind(of: UIImageView.classForCoder()) { 91 | if subview.tag != 5 { 92 | subview.frame.origin.x = f_x 93 | f_x += subview.frame.size.width + 5 94 | } 95 | } 96 | } 97 | img_move.frame.origin.x = f_start_point 98 | } 99 | 100 | } 101 | -------------------------------------------------------------------------------- /SCPageControl/Classes/SCP_SCJAMoveCircle.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SCP_SCJAMoveCircle.swift 3 | // Pods 4 | // 5 | // Created by Myoung on 2017. 4. 30.. 6 | // 7 | // 8 | 9 | import UIKit 10 | 11 | class SCP_SCJAMoveCircle: UIView { 12 | 13 | let view_img = UIView() 14 | let img_focus = UIImageView() 15 | 16 | let circle_size: CGFloat = 17 17 | 18 | var numberOfPage: Int = 0, currentOfPage: Int = 0 19 | var f_start_point: CGFloat = 0.0, f_start: CGFloat = 0.0 20 | var isCircle: Bool = true 21 | 22 | required init(coder aDecoder: NSCoder) { 23 | super.init(coder:aDecoder)! 24 | } 25 | 26 | override init(frame:CGRect) { 27 | super.init(frame:frame) 28 | } 29 | 30 | override func layoutSubviews() { 31 | super.layoutSubviews() 32 | } 33 | 34 | // ## view init method ## 35 | func set_view(_ page: Int, current: Int, current_color: UIColor, isCircleOption: Bool) { 36 | 37 | numberOfPage = page 38 | currentOfPage = current 39 | isCircle = isCircleOption 40 | 41 | let f_all_width: CGFloat = CGFloat(numberOfPage*20) 42 | 43 | guard f_all_width < self.frame.size.width else { 44 | print("frame.Width over Number Of Page") 45 | return 46 | } 47 | 48 | if isCircle { 49 | img_focus.frame = CGRect(x: 0, y: 0, width: circle_size, height: circle_size) 50 | img_focus.center = self.center 51 | img_focus.layer.cornerRadius = img_focus.frame.size.height/2.0 52 | img_focus.layer.borderColor = current_color.cgColor 53 | img_focus.layer.borderWidth = 1.0 54 | img_focus.backgroundColor = .clear 55 | self.addSubview(img_focus) 56 | } 57 | 58 | let f_width: CGFloat = 10.0, f_height: CGFloat = 10.0 59 | var f_x: CGFloat = (self.center.x-(f_width/2.0)), f_y: CGFloat = (self.frame.size.height-f_height)/2.0 60 | 61 | f_start_point = f_x 62 | 63 | view_img.frame = CGRect(x: -(CGFloat(current) * 20), 64 | y: 0, 65 | width: self.frame.size.width, 66 | height: self.frame.size.height) 67 | view_img.backgroundColor = .clear 68 | self.addSubview(view_img) 69 | 70 | for i in 0 ..< numberOfPage { 71 | let img_page = UIImageView() 72 | if i == currentOfPage { 73 | img_page.alpha = 1.0 74 | } else { 75 | img_page.alpha = 0.4 76 | } 77 | img_page.frame = CGRect(x: f_x, y: f_y, width: f_width, height: f_height) 78 | img_page.layer.cornerRadius = img_page.frame.size.height/2.0 79 | img_page.backgroundColor = current_color 80 | img_page.tag = i+10 81 | view_img.addSubview(img_page) 82 | 83 | f_x += f_width + 10 84 | } 85 | } 86 | 87 | // ## Call the move page in scrollView ## 88 | func scroll_did(_ scrollView: UIScrollView) { 89 | 90 | let f_page = scrollView.contentOffset.x / scrollView.frame.size.width 91 | 92 | let tag_value = get_imgView_tag(f_page)+10 93 | let f_next_start: CGFloat = (CGFloat(tag_value-10) * scrollView.frame.size.width) 94 | 95 | let f_move: CGFloat = (20*(f_start-scrollView.contentOffset.x)/scrollView.frame.size.width) 96 | let f_alpha: CGFloat = (0.6*(scrollView.contentOffset.x-f_next_start)/scrollView.frame.size.width) 97 | 98 | if let iv_page: UIImageView = view_img.viewWithTag(tag_value) as? UIImageView, 99 | tag_value >= 10 && tag_value+1 < numberOfPage+10 { 100 | 101 | view_img.frame.origin.x = 0 + f_move 102 | iv_page.alpha = 1-f_alpha 103 | 104 | if let iv_page_next: UIImageView = self.viewWithTag(tag_value+1) as? UIImageView { 105 | iv_page_next.alpha = 0.4+f_alpha 106 | } 107 | } 108 | } 109 | 110 | // ## return ImageView tag number ## 111 | func get_imgView_tag(_ f_page: CGFloat) -> Int { 112 | let f_temp = f_page - 0.02 113 | return Int(f_temp) 114 | } 115 | 116 | // ## Call the moment in rotate Device ## 117 | func set_rotateDevice(_ frame: CGRect) { 118 | self.frame = frame 119 | let f_width: CGFloat = 10.0 120 | var f_x: CGFloat = self.center.x - (f_width/2.0) 121 | 122 | f_start_point = f_x 123 | img_focus.center = self.center 124 | 125 | for subview in view_img.subviews { 126 | if subview.isKind(of: UIImageView.classForCoder()) { 127 | subview.frame.origin.x = f_x 128 | f_x += subview.frame.size.width + 10 129 | } 130 | } 131 | } 132 | } 133 | -------------------------------------------------------------------------------- /SCPageControl/Classes/SCP_SCNormal.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SCPageControl_normal.swift 3 | // Pods 4 | // 5 | // Created by Myoung on 2017. 4. 27.. 6 | // 7 | // 8 | 9 | import UIKit 10 | 11 | class SCP_SCNormal: UIView { 12 | 13 | var numberOfPage: Int = 0, currentOfPage: Int = 0 14 | var f_start_point: CGFloat = 0.0, f_start: CGFloat = 0.0 15 | 16 | var screenWidth : CGFloat = UIScreen.main.bounds.size.width 17 | var screenHeight : CGFloat = UIScreen.main.bounds.size.height 18 | 19 | required init(coder aDecoder: NSCoder) { 20 | super.init(coder:aDecoder)! 21 | } 22 | 23 | override init(frame:CGRect) { 24 | super.init(frame:frame) 25 | } 26 | 27 | override func layoutSubviews() { 28 | super.layoutSubviews() 29 | } 30 | 31 | // ## view init method ## 32 | func set_view(_ page: Int, current: Int, current_color: UIColor) { 33 | 34 | numberOfPage = page 35 | currentOfPage = current 36 | 37 | let f_all_width: CGFloat = CGFloat((numberOfPage-1)*20 + 25) 38 | 39 | guard f_all_width < self.frame.size.width else { 40 | print("frame.Width over Number Of Page") 41 | return 42 | } 43 | 44 | var f_width: CGFloat = 10.0, f_height: CGFloat = 10.0 45 | var f_x: CGFloat = (self.frame.size.width-f_all_width)/2.0, f_y: CGFloat = (self.frame.size.height-f_height)/2.0 46 | 47 | f_start_point = f_x 48 | 49 | for i in 0 ..< numberOfPage { 50 | let img_page = UIImageView() 51 | 52 | if i == currentOfPage { 53 | f_width = 25.0 54 | img_page.alpha = 1.0 55 | } else { 56 | f_width = 10.0 57 | img_page.alpha = 0.4 58 | } 59 | 60 | img_page.frame = CGRect(x: f_x, y: f_y, width: f_width, height: f_height) 61 | img_page.layer.cornerRadius = img_page.frame.size.height/2.0 62 | img_page.backgroundColor = current_color 63 | img_page.tag = i+10 64 | self.addSubview(img_page) 65 | 66 | f_x += f_width + 10 67 | } 68 | } 69 | 70 | // ## Call the move page in scrollView ## 71 | func scroll_did(_ scrollView: UIScrollView) { 72 | 73 | let f_page = scrollView.contentOffset.x / scrollView.frame.size.width 74 | 75 | let tag_value = get_imgView_tag(f_page)+10 76 | let f_next_start: CGFloat = (CGFloat(tag_value-10) * scrollView.frame.size.width) 77 | 78 | let f_move: CGFloat = (15*(f_start-scrollView.contentOffset.x)/scrollView.frame.size.width) 79 | let f_alpha: CGFloat = (0.6*(scrollView.contentOffset.x-f_next_start)/scrollView.frame.size.width) 80 | 81 | if let iv_page: UIImageView = self.viewWithTag(tag_value) as? UIImageView, 82 | tag_value >= 10 && tag_value+1 < 10+numberOfPage { 83 | 84 | iv_page.frame = CGRect(x: f_start_point+((CGFloat(tag_value)-10)*20), 85 | y: iv_page.frame.origin.y, 86 | width: 25+(f_move+((CGFloat(tag_value)-10)*15)), 87 | height: iv_page.frame.size.height) 88 | iv_page.alpha = 1-f_alpha 89 | 90 | if let iv_page_next: UIImageView = self.viewWithTag(tag_value+1) as? UIImageView { 91 | let f_page_next_x: CGFloat = ((f_start_point+35)+((CGFloat(tag_value)-10)*20)) 92 | iv_page_next.frame = CGRect(x: f_page_next_x+(f_move+((CGFloat(tag_value)-10)*15)), 93 | y: iv_page_next.frame.origin.y, 94 | width: 10-(f_move+((CGFloat(tag_value)-10)*15)), 95 | height: iv_page_next.frame.size.height) 96 | iv_page_next.alpha = 0.4+f_alpha 97 | } 98 | } 99 | } 100 | 101 | // ## return ImageView tag number ## 102 | func get_imgView_tag(_ f_page: CGFloat) -> Int { 103 | let f_temp = f_page - 0.02 104 | return Int(f_temp) 105 | } 106 | 107 | // ## Call the moment in rotate Device ## 108 | func set_rotateDevice(_ frame: CGRect) { 109 | self.frame = frame 110 | let f_all_width: CGFloat = CGFloat((numberOfPage-1)*20 + 25) 111 | var f_x: CGFloat = (self.frame.size.width-f_all_width)/2.0 112 | 113 | f_start_point = f_x 114 | 115 | for subview in self.subviews { 116 | if subview.isKind(of: UIImageView.classForCoder()) { 117 | subview.frame.origin.x = f_x 118 | f_x += subview.frame.size.width + 10 119 | } 120 | } 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /SCPageControl/Classes/SCPageControlView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SCPageControlView.swift 3 | // Pods 4 | // 5 | // Created by Myoung on 2017. 4. 17.. 6 | // 7 | // 8 | 9 | import UIKit 10 | 11 | @IBDesignable public class SCPageControlView: UIView { 12 | 13 | public enum SCPageStyle: Int { 14 | case SCNormal = 100 15 | case SCJAMoveCircle // Design by Jardson Almeida 16 | case SCJAFillCircle // Design by Jardson Almeida 17 | case SCJAFlatBar // Design by Jardson Almeida 18 | } 19 | 20 | var screenWidth : CGFloat = UIScreen.main.bounds.size.width 21 | var screenHeight : CGFloat = UIScreen.main.bounds.size.height 22 | 23 | public var scp_style: SCPageStyle = .SCNormal 24 | public var isCircle: Bool = true 25 | 26 | var numberOfPage: Int = 0, currentOfPage: Int = 0 27 | var f_start_point: CGFloat = 0.0, f_start: CGFloat = 0.0 28 | 29 | 30 | public required init(coder aDecoder: NSCoder) { 31 | super.init(coder:aDecoder)! 32 | } 33 | 34 | public override init(frame:CGRect) { 35 | super.init(frame:frame) 36 | } 37 | 38 | public override func layoutSubviews() { 39 | super.layoutSubviews() 40 | } 41 | 42 | //MARK: ## view init method ## 43 | public func set_view(_ page: Int, current: Int, current_color: UIColor) { 44 | let viewFrame = calculateViewRealSize() 45 | switch scp_style { 46 | case .SCJAMoveCircle: 47 | let scp_scjamovecircle = SCP_SCJAMoveCircle(frame: viewFrame) 48 | scp_scjamovecircle.tag = scp_style.rawValue 49 | scp_scjamovecircle.set_view(page, current: current, current_color: current_color, isCircleOption: isCircle) 50 | self.addSubview(scp_scjamovecircle) 51 | case .SCJAFillCircle: 52 | let scp_scjafillcircle = SCP_SCJAFillCircle(frame: viewFrame) 53 | scp_scjafillcircle.tag = scp_style.rawValue 54 | scp_scjafillcircle.set_view(page, current: current, current_color: current_color) 55 | self.addSubview(scp_scjafillcircle) 56 | case .SCJAFlatBar: 57 | let scp_scjaflatbar = SCP_SCJAFlatBar(frame: viewFrame) 58 | scp_scjaflatbar.tag = scp_style.rawValue 59 | scp_scjaflatbar.set_view(page, current: current, current_color: current_color) 60 | self.addSubview(scp_scjaflatbar) 61 | default: //.SCNormal 62 | let scp_normal = SCP_SCNormal(frame: viewFrame) 63 | scp_normal.tag = scp_style.rawValue 64 | scp_normal.set_view(page, current: current, current_color: current_color) 65 | self.addSubview(scp_normal) 66 | } 67 | } 68 | 69 | //MARK: ## Call the moment in rotate Device ## 70 | public func set_rotateDevice() { 71 | let viewFrame = calculateViewRealSize() 72 | switch scp_style { 73 | case .SCJAMoveCircle: 74 | if let scp_scjamovecircle = self.viewWithTag(scp_style.rawValue) as? SCP_SCJAMoveCircle { 75 | scp_scjamovecircle.set_rotateDevice(viewFrame) 76 | } 77 | case .SCJAFillCircle: 78 | if let scp_scjafillcircle = self.viewWithTag(scp_style.rawValue) as? SCP_SCJAFillCircle { 79 | scp_scjafillcircle.set_rotateDevice(viewFrame) 80 | } 81 | case .SCJAFlatBar: 82 | if let scp_scjaflatbar = self.viewWithTag(scp_style.rawValue) as? SCP_SCJAFlatBar { 83 | scp_scjaflatbar.set_rotateDevice(viewFrame) 84 | } 85 | default: //.SCNormal 86 | if let scp_normal = self.viewWithTag(scp_style.rawValue) as? SCP_SCNormal { 87 | scp_normal.set_rotateDevice(viewFrame) 88 | } 89 | } 90 | } 91 | 92 | //MARK: ## ScrollView move method ## 93 | open func scroll_did(_ scrollView: UIScrollView) { 94 | switch scp_style { 95 | case .SCJAMoveCircle: 96 | if let scp: SCP_SCJAMoveCircle = self.viewWithTag(scp_style.rawValue) as? SCP_SCJAMoveCircle { 97 | scp.scroll_did(scrollView) 98 | } 99 | case .SCJAFillCircle: 100 | if let scp: SCP_SCJAFillCircle = self.viewWithTag(scp_style.rawValue) as? SCP_SCJAFillCircle { 101 | scp.scroll_did(scrollView) 102 | } 103 | case .SCJAFlatBar: 104 | if let scp: SCP_SCJAFlatBar = self.viewWithTag(scp_style.rawValue) as? SCP_SCJAFlatBar { 105 | scp.scroll_did(scrollView) 106 | } 107 | default: //.SCNormal 108 | if let scp: SCP_SCNormal = self.viewWithTag(scp_style.rawValue) as? SCP_SCNormal { 109 | scp.scroll_did(scrollView) 110 | } 111 | } 112 | } 113 | 114 | //MARK: ## View Real size Calculate ## 115 | func calculateViewRealSize() -> CGRect { 116 | var viewFrame = self.bounds 117 | if self.constraints.count != 0 { viewFrame.size.width = screenWidth } 118 | for element in self.constraints { 119 | if element.firstAttribute == NSLayoutConstraint.Attribute.height { 120 | viewFrame.size.height = element.constant 121 | } else if element.firstAttribute == NSLayoutConstraint.Attribute.width { 122 | viewFrame.size.width = element.constant 123 | } 124 | } 125 | return viewFrame 126 | } 127 | } 128 | -------------------------------------------------------------------------------- /ScreenShot/SCPageControl.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/myoungsc/SCPageControl/a03ddf71c7376eab378111ea60c648220dc91255/ScreenShot/SCPageControl.gif -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------