├── .DS_Store ├── .gitignore ├── .swift-version ├── .travis.yml ├── Example ├── .DS_Store ├── GuidePageView.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── GuidePageView-Example.xcscheme ├── GuidePageView.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── GuidePageView │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Images │ │ ├── adImage3.gif │ │ ├── adImage4.gif │ │ ├── guideImage1.jpg │ │ ├── guideImage2.jpg │ │ ├── guideImage3.jpg │ │ ├── guideImage4.jpg │ │ ├── guideImage5.jpg │ │ ├── guideImage6.gif │ │ ├── guideImage7.gif │ │ ├── guideImage8.gif │ │ ├── guideMovie1.mov │ │ ├── shopping.gif │ │ └── view_bg_image.png │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── GuidePageView.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── GuidePageView │ │ ├── GuidePageView-dummy.m │ │ ├── GuidePageView-prefix.pch │ │ ├── GuidePageView-umbrella.h │ │ ├── GuidePageView.modulemap │ │ ├── GuidePageView.xcconfig │ │ └── Info.plist │ │ ├── Pods-GuidePageView_Example │ │ ├── Info.plist │ │ ├── Pods-GuidePageView_Example-acknowledgements.markdown │ │ ├── Pods-GuidePageView_Example-acknowledgements.plist │ │ ├── Pods-GuidePageView_Example-dummy.m │ │ ├── Pods-GuidePageView_Example-frameworks.sh │ │ ├── Pods-GuidePageView_Example-resources.sh │ │ ├── Pods-GuidePageView_Example-umbrella.h │ │ ├── Pods-GuidePageView_Example.debug.xcconfig │ │ ├── Pods-GuidePageView_Example.modulemap │ │ └── Pods-GuidePageView_Example.release.xcconfig │ │ └── Pods-GuidePageView_Tests │ │ ├── Info.plist │ │ ├── Pods-GuidePageView_Tests-acknowledgements.markdown │ │ ├── Pods-GuidePageView_Tests-acknowledgements.plist │ │ ├── Pods-GuidePageView_Tests-dummy.m │ │ ├── Pods-GuidePageView_Tests-frameworks.sh │ │ ├── Pods-GuidePageView_Tests-resources.sh │ │ ├── Pods-GuidePageView_Tests-umbrella.h │ │ ├── Pods-GuidePageView_Tests.debug.xcconfig │ │ ├── Pods-GuidePageView_Tests.modulemap │ │ └── Pods-GuidePageView_Tests.release.xcconfig └── Tests │ ├── Info.plist │ └── Tests.swift ├── GuidePageView.podspec ├── GuidePageView ├── Assets │ └── .gitkeep ├── Classes │ ├── .gitkeep │ ├── GifImageOperation.swift │ ├── GuidePageView.swift │ └── PageControl.swift └── GuideImage.bundle │ └── start_btn_bg.png ├── LICENSE ├── README.md ├── _Pods.xcodeproj └── fastlane ├── Appfile ├── Fastfile ├── README.md └── actions ├── pod_repo_push.rb └── remove_tag.rb /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilongLi/GuidePageView/db1e27d7dea7856e878a6320d7330593da91e84f/.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 | *.xccheckout 23 | *.xcscmblueprint 24 | 25 | ## Obj-C/Swift specific 26 | *.hmap 27 | *.ipa 28 | *.dSYM.zip 29 | *.dSYM 30 | 31 | ## Playgrounds 32 | timeline.xctimeline 33 | playground.xcworkspace 34 | 35 | # Swift Package Manager 36 | # 37 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 38 | # Packages/ 39 | # Package.pins 40 | .build/ 41 | 42 | # CocoaPods 43 | # 44 | # We recommend against adding the Pods directory to your .gitignore. However 45 | # you should judge for yourself, the pros and cons are mentioned at: 46 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 47 | # 48 | # Pods/ 49 | 50 | # Carthage 51 | # 52 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 53 | # Carthage/Checkouts 54 | 55 | Carthage/Build 56 | 57 | # fastlane 58 | # 59 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 60 | # screenshots whenever they are needed. 61 | # For more information about the recommended setup visit: 62 | # https://docs.fastlane.tools/best-practices/source-control/#source-control 63 | 64 | fastlane/report.xml 65 | fastlane/Preview.html 66 | fastlane/screenshots 67 | fastlane/test_output 68 | -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 4.0 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/GuidePageView.xcworkspace -scheme GuidePageView-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilongLi/GuidePageView/db1e27d7dea7856e878a6320d7330593da91e84f/Example/.DS_Store -------------------------------------------------------------------------------- /Example/GuidePageView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 06C1D900FAFC6C3513A77F38 /* Pods_GuidePageView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 79B02A2B7F5690F89EF252C3 /* Pods_GuidePageView_Example.framework */; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 13 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 14 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 15 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 16 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 17 | 99D949A020008C4100522FE0 /* adImage3.gif in Resources */ = {isa = PBXBuildFile; fileRef = 99D9499320008C4100522FE0 /* adImage3.gif */; }; 18 | 99D949A120008C4100522FE0 /* adImage4.gif in Resources */ = {isa = PBXBuildFile; fileRef = 99D9499420008C4100522FE0 /* adImage4.gif */; }; 19 | 99D949A220008C4100522FE0 /* guideImage1.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 99D9499520008C4100522FE0 /* guideImage1.jpg */; }; 20 | 99D949A320008C4100522FE0 /* guideImage2.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 99D9499620008C4100522FE0 /* guideImage2.jpg */; }; 21 | 99D949A420008C4100522FE0 /* guideImage3.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 99D9499720008C4100522FE0 /* guideImage3.jpg */; }; 22 | 99D949A520008C4100522FE0 /* guideImage4.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 99D9499820008C4100522FE0 /* guideImage4.jpg */; }; 23 | 99D949A620008C4100522FE0 /* guideImage5.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 99D9499920008C4100522FE0 /* guideImage5.jpg */; }; 24 | 99D949A720008C4100522FE0 /* guideImage6.gif in Resources */ = {isa = PBXBuildFile; fileRef = 99D9499A20008C4100522FE0 /* guideImage6.gif */; }; 25 | 99D949A820008C4100522FE0 /* guideImage7.gif in Resources */ = {isa = PBXBuildFile; fileRef = 99D9499B20008C4100522FE0 /* guideImage7.gif */; }; 26 | 99D949A920008C4100522FE0 /* guideImage8.gif in Resources */ = {isa = PBXBuildFile; fileRef = 99D9499C20008C4100522FE0 /* guideImage8.gif */; }; 27 | 99D949AA20008C4100522FE0 /* guideMovie1.mov in Resources */ = {isa = PBXBuildFile; fileRef = 99D9499D20008C4100522FE0 /* guideMovie1.mov */; }; 28 | 99D949AB20008C4100522FE0 /* shopping.gif in Resources */ = {isa = PBXBuildFile; fileRef = 99D9499E20008C4100522FE0 /* shopping.gif */; }; 29 | 99D949AC20008C4100522FE0 /* view_bg_image.png in Resources */ = {isa = PBXBuildFile; fileRef = 99D9499F20008C4100522FE0 /* view_bg_image.png */; }; 30 | C3D25EDB8772CECB6676D198 /* Pods_GuidePageView_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F7AF74BDB3773F352232786C /* Pods_GuidePageView_Tests.framework */; }; 31 | /* End PBXBuildFile section */ 32 | 33 | /* Begin PBXContainerItemProxy section */ 34 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 35 | isa = PBXContainerItemProxy; 36 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 37 | proxyType = 1; 38 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 39 | remoteInfo = GuidePageView; 40 | }; 41 | /* End PBXContainerItemProxy section */ 42 | 43 | /* Begin PBXFileReference section */ 44 | 16E3CDB8124C180896DCA176 /* GuidePageView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = GuidePageView.podspec; path = ../GuidePageView.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 45 | 2999597B520134514832AA7E /* Pods-GuidePageView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GuidePageView_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-GuidePageView_Tests/Pods-GuidePageView_Tests.release.xcconfig"; sourceTree = ""; }; 46 | 330257F4437E5B885F833FB4 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 47 | 607FACD01AFB9204008FA782 /* GuidePageView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GuidePageView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 48 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 49 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 50 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 51 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 52 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 53 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 54 | 607FACE51AFB9204008FA782 /* GuidePageView_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GuidePageView_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 55 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 56 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 57 | 79B02A2B7F5690F89EF252C3 /* Pods_GuidePageView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_GuidePageView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | 7A6D409FE22ACD327C20795A /* Pods-GuidePageView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GuidePageView_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-GuidePageView_Example/Pods-GuidePageView_Example.release.xcconfig"; sourceTree = ""; }; 59 | 9106D4C82342E7B57D5BFD39 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 60 | 99D9499320008C4100522FE0 /* adImage3.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = adImage3.gif; sourceTree = ""; }; 61 | 99D9499420008C4100522FE0 /* adImage4.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = adImage4.gif; sourceTree = ""; }; 62 | 99D9499520008C4100522FE0 /* guideImage1.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = guideImage1.jpg; sourceTree = ""; }; 63 | 99D9499620008C4100522FE0 /* guideImage2.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = guideImage2.jpg; sourceTree = ""; }; 64 | 99D9499720008C4100522FE0 /* guideImage3.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = guideImage3.jpg; sourceTree = ""; }; 65 | 99D9499820008C4100522FE0 /* guideImage4.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = guideImage4.jpg; sourceTree = ""; }; 66 | 99D9499920008C4100522FE0 /* guideImage5.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = guideImage5.jpg; sourceTree = ""; }; 67 | 99D9499A20008C4100522FE0 /* guideImage6.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = guideImage6.gif; sourceTree = ""; }; 68 | 99D9499B20008C4100522FE0 /* guideImage7.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = guideImage7.gif; sourceTree = ""; }; 69 | 99D9499C20008C4100522FE0 /* guideImage8.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = guideImage8.gif; sourceTree = ""; }; 70 | 99D9499D20008C4100522FE0 /* guideMovie1.mov */ = {isa = PBXFileReference; lastKnownFileType = video.quicktime; path = guideMovie1.mov; sourceTree = ""; }; 71 | 99D9499E20008C4100522FE0 /* shopping.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = shopping.gif; sourceTree = ""; }; 72 | 99D9499F20008C4100522FE0 /* view_bg_image.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = view_bg_image.png; sourceTree = ""; }; 73 | A198972362BC8E49E4591025 /* Pods-GuidePageView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GuidePageView_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-GuidePageView_Example/Pods-GuidePageView_Example.debug.xcconfig"; sourceTree = ""; }; 74 | F7AF74BDB3773F352232786C /* Pods_GuidePageView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_GuidePageView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 75 | F8326F36420D50E3EAEED41E /* Pods-GuidePageView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GuidePageView_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-GuidePageView_Tests/Pods-GuidePageView_Tests.debug.xcconfig"; sourceTree = ""; }; 76 | /* End PBXFileReference section */ 77 | 78 | /* Begin PBXFrameworksBuildPhase section */ 79 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 80 | isa = PBXFrameworksBuildPhase; 81 | buildActionMask = 2147483647; 82 | files = ( 83 | 06C1D900FAFC6C3513A77F38 /* Pods_GuidePageView_Example.framework in Frameworks */, 84 | ); 85 | runOnlyForDeploymentPostprocessing = 0; 86 | }; 87 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 88 | isa = PBXFrameworksBuildPhase; 89 | buildActionMask = 2147483647; 90 | files = ( 91 | C3D25EDB8772CECB6676D198 /* Pods_GuidePageView_Tests.framework in Frameworks */, 92 | ); 93 | runOnlyForDeploymentPostprocessing = 0; 94 | }; 95 | /* End PBXFrameworksBuildPhase section */ 96 | 97 | /* Begin PBXGroup section */ 98 | 607FACC71AFB9204008FA782 = { 99 | isa = PBXGroup; 100 | children = ( 101 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 102 | 607FACD21AFB9204008FA782 /* Example for GuidePageView */, 103 | 607FACE81AFB9204008FA782 /* Tests */, 104 | 607FACD11AFB9204008FA782 /* Products */, 105 | 9EF14A626873C24DF69FCEE2 /* Pods */, 106 | BB781A6AE9A1D5749C5E5793 /* Frameworks */, 107 | ); 108 | sourceTree = ""; 109 | }; 110 | 607FACD11AFB9204008FA782 /* Products */ = { 111 | isa = PBXGroup; 112 | children = ( 113 | 607FACD01AFB9204008FA782 /* GuidePageView_Example.app */, 114 | 607FACE51AFB9204008FA782 /* GuidePageView_Tests.xctest */, 115 | ); 116 | name = Products; 117 | sourceTree = ""; 118 | }; 119 | 607FACD21AFB9204008FA782 /* Example for GuidePageView */ = { 120 | isa = PBXGroup; 121 | children = ( 122 | 99D9499220008C4100522FE0 /* Images */, 123 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 124 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 125 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 126 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 127 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 128 | 607FACD31AFB9204008FA782 /* Supporting Files */, 129 | ); 130 | name = "Example for GuidePageView"; 131 | path = GuidePageView; 132 | sourceTree = ""; 133 | }; 134 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 135 | isa = PBXGroup; 136 | children = ( 137 | 607FACD41AFB9204008FA782 /* Info.plist */, 138 | ); 139 | name = "Supporting Files"; 140 | sourceTree = ""; 141 | }; 142 | 607FACE81AFB9204008FA782 /* Tests */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 146 | 607FACE91AFB9204008FA782 /* Supporting Files */, 147 | ); 148 | path = Tests; 149 | sourceTree = ""; 150 | }; 151 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 607FACEA1AFB9204008FA782 /* Info.plist */, 155 | ); 156 | name = "Supporting Files"; 157 | sourceTree = ""; 158 | }; 159 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 160 | isa = PBXGroup; 161 | children = ( 162 | 16E3CDB8124C180896DCA176 /* GuidePageView.podspec */, 163 | 330257F4437E5B885F833FB4 /* README.md */, 164 | 9106D4C82342E7B57D5BFD39 /* LICENSE */, 165 | ); 166 | name = "Podspec Metadata"; 167 | sourceTree = ""; 168 | }; 169 | 99D9499220008C4100522FE0 /* Images */ = { 170 | isa = PBXGroup; 171 | children = ( 172 | 99D9499320008C4100522FE0 /* adImage3.gif */, 173 | 99D9499420008C4100522FE0 /* adImage4.gif */, 174 | 99D9499520008C4100522FE0 /* guideImage1.jpg */, 175 | 99D9499620008C4100522FE0 /* guideImage2.jpg */, 176 | 99D9499720008C4100522FE0 /* guideImage3.jpg */, 177 | 99D9499820008C4100522FE0 /* guideImage4.jpg */, 178 | 99D9499920008C4100522FE0 /* guideImage5.jpg */, 179 | 99D9499A20008C4100522FE0 /* guideImage6.gif */, 180 | 99D9499B20008C4100522FE0 /* guideImage7.gif */, 181 | 99D9499C20008C4100522FE0 /* guideImage8.gif */, 182 | 99D9499D20008C4100522FE0 /* guideMovie1.mov */, 183 | 99D9499E20008C4100522FE0 /* shopping.gif */, 184 | 99D9499F20008C4100522FE0 /* view_bg_image.png */, 185 | ); 186 | path = Images; 187 | sourceTree = ""; 188 | }; 189 | 9EF14A626873C24DF69FCEE2 /* Pods */ = { 190 | isa = PBXGroup; 191 | children = ( 192 | A198972362BC8E49E4591025 /* Pods-GuidePageView_Example.debug.xcconfig */, 193 | 7A6D409FE22ACD327C20795A /* Pods-GuidePageView_Example.release.xcconfig */, 194 | F8326F36420D50E3EAEED41E /* Pods-GuidePageView_Tests.debug.xcconfig */, 195 | 2999597B520134514832AA7E /* Pods-GuidePageView_Tests.release.xcconfig */, 196 | ); 197 | name = Pods; 198 | sourceTree = ""; 199 | }; 200 | BB781A6AE9A1D5749C5E5793 /* Frameworks */ = { 201 | isa = PBXGroup; 202 | children = ( 203 | 79B02A2B7F5690F89EF252C3 /* Pods_GuidePageView_Example.framework */, 204 | F7AF74BDB3773F352232786C /* Pods_GuidePageView_Tests.framework */, 205 | ); 206 | name = Frameworks; 207 | sourceTree = ""; 208 | }; 209 | /* End PBXGroup section */ 210 | 211 | /* Begin PBXNativeTarget section */ 212 | 607FACCF1AFB9204008FA782 /* GuidePageView_Example */ = { 213 | isa = PBXNativeTarget; 214 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "GuidePageView_Example" */; 215 | buildPhases = ( 216 | 7AACE3E275A4314EA05FBF80 /* [CP] Check Pods Manifest.lock */, 217 | 607FACCC1AFB9204008FA782 /* Sources */, 218 | 607FACCD1AFB9204008FA782 /* Frameworks */, 219 | 607FACCE1AFB9204008FA782 /* Resources */, 220 | FF6B1484B748F38895BDBA39 /* [CP] Embed Pods Frameworks */, 221 | ); 222 | buildRules = ( 223 | ); 224 | dependencies = ( 225 | ); 226 | name = GuidePageView_Example; 227 | productName = GuidePageView; 228 | productReference = 607FACD01AFB9204008FA782 /* GuidePageView_Example.app */; 229 | productType = "com.apple.product-type.application"; 230 | }; 231 | 607FACE41AFB9204008FA782 /* GuidePageView_Tests */ = { 232 | isa = PBXNativeTarget; 233 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "GuidePageView_Tests" */; 234 | buildPhases = ( 235 | 30D373B9970F4E29BFB9AF2C /* [CP] Check Pods Manifest.lock */, 236 | 607FACE11AFB9204008FA782 /* Sources */, 237 | 607FACE21AFB9204008FA782 /* Frameworks */, 238 | 607FACE31AFB9204008FA782 /* Resources */, 239 | ); 240 | buildRules = ( 241 | ); 242 | dependencies = ( 243 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 244 | ); 245 | name = GuidePageView_Tests; 246 | productName = Tests; 247 | productReference = 607FACE51AFB9204008FA782 /* GuidePageView_Tests.xctest */; 248 | productType = "com.apple.product-type.bundle.unit-test"; 249 | }; 250 | /* End PBXNativeTarget section */ 251 | 252 | /* Begin PBXProject section */ 253 | 607FACC81AFB9204008FA782 /* Project object */ = { 254 | isa = PBXProject; 255 | attributes = { 256 | LastSwiftUpdateCheck = 0830; 257 | LastUpgradeCheck = 0830; 258 | ORGANIZATIONNAME = CocoaPods; 259 | TargetAttributes = { 260 | 607FACCF1AFB9204008FA782 = { 261 | CreatedOnToolsVersion = 6.3.1; 262 | DevelopmentTeam = 8Y32T66G3J; 263 | LastSwiftMigration = 0900; 264 | }; 265 | 607FACE41AFB9204008FA782 = { 266 | CreatedOnToolsVersion = 6.3.1; 267 | DevelopmentTeam = HBBKUSRZMD; 268 | LastSwiftMigration = ""; 269 | TestTargetID = 607FACCF1AFB9204008FA782; 270 | }; 271 | }; 272 | }; 273 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "GuidePageView" */; 274 | compatibilityVersion = "Xcode 3.2"; 275 | developmentRegion = English; 276 | hasScannedForEncodings = 0; 277 | knownRegions = ( 278 | English, 279 | en, 280 | Base, 281 | ); 282 | mainGroup = 607FACC71AFB9204008FA782; 283 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 284 | projectDirPath = ""; 285 | projectRoot = ""; 286 | targets = ( 287 | 607FACCF1AFB9204008FA782 /* GuidePageView_Example */, 288 | 607FACE41AFB9204008FA782 /* GuidePageView_Tests */, 289 | ); 290 | }; 291 | /* End PBXProject section */ 292 | 293 | /* Begin PBXResourcesBuildPhase section */ 294 | 607FACCE1AFB9204008FA782 /* Resources */ = { 295 | isa = PBXResourcesBuildPhase; 296 | buildActionMask = 2147483647; 297 | files = ( 298 | 99D949A220008C4100522FE0 /* guideImage1.jpg in Resources */, 299 | 99D949A320008C4100522FE0 /* guideImage2.jpg in Resources */, 300 | 99D949A620008C4100522FE0 /* guideImage5.jpg in Resources */, 301 | 99D949A820008C4100522FE0 /* guideImage7.gif in Resources */, 302 | 99D949AB20008C4100522FE0 /* shopping.gif in Resources */, 303 | 99D949A720008C4100522FE0 /* guideImage6.gif in Resources */, 304 | 99D949A420008C4100522FE0 /* guideImage3.jpg in Resources */, 305 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 306 | 99D949A920008C4100522FE0 /* guideImage8.gif in Resources */, 307 | 99D949AC20008C4100522FE0 /* view_bg_image.png in Resources */, 308 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 309 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 310 | 99D949A520008C4100522FE0 /* guideImage4.jpg in Resources */, 311 | 99D949A020008C4100522FE0 /* adImage3.gif in Resources */, 312 | 99D949AA20008C4100522FE0 /* guideMovie1.mov in Resources */, 313 | 99D949A120008C4100522FE0 /* adImage4.gif in Resources */, 314 | ); 315 | runOnlyForDeploymentPostprocessing = 0; 316 | }; 317 | 607FACE31AFB9204008FA782 /* Resources */ = { 318 | isa = PBXResourcesBuildPhase; 319 | buildActionMask = 2147483647; 320 | files = ( 321 | ); 322 | runOnlyForDeploymentPostprocessing = 0; 323 | }; 324 | /* End PBXResourcesBuildPhase section */ 325 | 326 | /* Begin PBXShellScriptBuildPhase section */ 327 | 30D373B9970F4E29BFB9AF2C /* [CP] Check Pods Manifest.lock */ = { 328 | isa = PBXShellScriptBuildPhase; 329 | buildActionMask = 2147483647; 330 | files = ( 331 | ); 332 | inputPaths = ( 333 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 334 | "${PODS_ROOT}/Manifest.lock", 335 | ); 336 | name = "[CP] Check Pods Manifest.lock"; 337 | outputPaths = ( 338 | "$(DERIVED_FILE_DIR)/Pods-GuidePageView_Tests-checkManifestLockResult.txt", 339 | ); 340 | runOnlyForDeploymentPostprocessing = 0; 341 | shellPath = /bin/sh; 342 | 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"; 343 | showEnvVarsInLog = 0; 344 | }; 345 | 7AACE3E275A4314EA05FBF80 /* [CP] Check Pods Manifest.lock */ = { 346 | isa = PBXShellScriptBuildPhase; 347 | buildActionMask = 2147483647; 348 | files = ( 349 | ); 350 | inputPaths = ( 351 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 352 | "${PODS_ROOT}/Manifest.lock", 353 | ); 354 | name = "[CP] Check Pods Manifest.lock"; 355 | outputPaths = ( 356 | "$(DERIVED_FILE_DIR)/Pods-GuidePageView_Example-checkManifestLockResult.txt", 357 | ); 358 | runOnlyForDeploymentPostprocessing = 0; 359 | shellPath = /bin/sh; 360 | 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"; 361 | showEnvVarsInLog = 0; 362 | }; 363 | FF6B1484B748F38895BDBA39 /* [CP] Embed Pods Frameworks */ = { 364 | isa = PBXShellScriptBuildPhase; 365 | buildActionMask = 2147483647; 366 | files = ( 367 | ); 368 | inputPaths = ( 369 | "${SRCROOT}/Pods/Target Support Files/Pods-GuidePageView_Example/Pods-GuidePageView_Example-frameworks.sh", 370 | "${BUILT_PRODUCTS_DIR}/GuidePageView/GuidePageView.framework", 371 | ); 372 | name = "[CP] Embed Pods Frameworks"; 373 | outputPaths = ( 374 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GuidePageView.framework", 375 | ); 376 | runOnlyForDeploymentPostprocessing = 0; 377 | shellPath = /bin/sh; 378 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-GuidePageView_Example/Pods-GuidePageView_Example-frameworks.sh\"\n"; 379 | showEnvVarsInLog = 0; 380 | }; 381 | /* End PBXShellScriptBuildPhase section */ 382 | 383 | /* Begin PBXSourcesBuildPhase section */ 384 | 607FACCC1AFB9204008FA782 /* Sources */ = { 385 | isa = PBXSourcesBuildPhase; 386 | buildActionMask = 2147483647; 387 | files = ( 388 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 389 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 390 | ); 391 | runOnlyForDeploymentPostprocessing = 0; 392 | }; 393 | 607FACE11AFB9204008FA782 /* Sources */ = { 394 | isa = PBXSourcesBuildPhase; 395 | buildActionMask = 2147483647; 396 | files = ( 397 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 398 | ); 399 | runOnlyForDeploymentPostprocessing = 0; 400 | }; 401 | /* End PBXSourcesBuildPhase section */ 402 | 403 | /* Begin PBXTargetDependency section */ 404 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 405 | isa = PBXTargetDependency; 406 | target = 607FACCF1AFB9204008FA782 /* GuidePageView_Example */; 407 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 408 | }; 409 | /* End PBXTargetDependency section */ 410 | 411 | /* Begin PBXVariantGroup section */ 412 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 413 | isa = PBXVariantGroup; 414 | children = ( 415 | 607FACDA1AFB9204008FA782 /* Base */, 416 | ); 417 | name = Main.storyboard; 418 | sourceTree = ""; 419 | }; 420 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 421 | isa = PBXVariantGroup; 422 | children = ( 423 | 607FACDF1AFB9204008FA782 /* Base */, 424 | ); 425 | name = LaunchScreen.xib; 426 | sourceTree = ""; 427 | }; 428 | /* End PBXVariantGroup section */ 429 | 430 | /* Begin XCBuildConfiguration section */ 431 | 607FACED1AFB9204008FA782 /* Debug */ = { 432 | isa = XCBuildConfiguration; 433 | buildSettings = { 434 | ALWAYS_SEARCH_USER_PATHS = NO; 435 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 436 | CLANG_CXX_LIBRARY = "libc++"; 437 | CLANG_ENABLE_MODULES = YES; 438 | CLANG_ENABLE_OBJC_ARC = YES; 439 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 440 | CLANG_WARN_BOOL_CONVERSION = YES; 441 | CLANG_WARN_COMMA = YES; 442 | CLANG_WARN_CONSTANT_CONVERSION = YES; 443 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 444 | CLANG_WARN_EMPTY_BODY = YES; 445 | CLANG_WARN_ENUM_CONVERSION = YES; 446 | CLANG_WARN_INFINITE_RECURSION = YES; 447 | CLANG_WARN_INT_CONVERSION = YES; 448 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 449 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 450 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 451 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 452 | CLANG_WARN_STRICT_PROTOTYPES = YES; 453 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 454 | CLANG_WARN_UNREACHABLE_CODE = YES; 455 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 456 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 457 | COPY_PHASE_STRIP = NO; 458 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 459 | ENABLE_STRICT_OBJC_MSGSEND = YES; 460 | ENABLE_TESTABILITY = YES; 461 | GCC_C_LANGUAGE_STANDARD = gnu99; 462 | GCC_DYNAMIC_NO_PIC = NO; 463 | GCC_NO_COMMON_BLOCKS = YES; 464 | GCC_OPTIMIZATION_LEVEL = 0; 465 | GCC_PREPROCESSOR_DEFINITIONS = ( 466 | "DEBUG=1", 467 | "$(inherited)", 468 | ); 469 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 470 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 471 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 472 | GCC_WARN_UNDECLARED_SELECTOR = YES; 473 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 474 | GCC_WARN_UNUSED_FUNCTION = YES; 475 | GCC_WARN_UNUSED_VARIABLE = YES; 476 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 477 | MTL_ENABLE_DEBUG_INFO = YES; 478 | ONLY_ACTIVE_ARCH = YES; 479 | SDKROOT = iphoneos; 480 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 481 | }; 482 | name = Debug; 483 | }; 484 | 607FACEE1AFB9204008FA782 /* Release */ = { 485 | isa = XCBuildConfiguration; 486 | buildSettings = { 487 | ALWAYS_SEARCH_USER_PATHS = NO; 488 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 489 | CLANG_CXX_LIBRARY = "libc++"; 490 | CLANG_ENABLE_MODULES = YES; 491 | CLANG_ENABLE_OBJC_ARC = YES; 492 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 493 | CLANG_WARN_BOOL_CONVERSION = YES; 494 | CLANG_WARN_COMMA = YES; 495 | CLANG_WARN_CONSTANT_CONVERSION = YES; 496 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 497 | CLANG_WARN_EMPTY_BODY = YES; 498 | CLANG_WARN_ENUM_CONVERSION = YES; 499 | CLANG_WARN_INFINITE_RECURSION = YES; 500 | CLANG_WARN_INT_CONVERSION = YES; 501 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 502 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 503 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 504 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 505 | CLANG_WARN_STRICT_PROTOTYPES = YES; 506 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 507 | CLANG_WARN_UNREACHABLE_CODE = YES; 508 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 509 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 510 | COPY_PHASE_STRIP = NO; 511 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 512 | ENABLE_NS_ASSERTIONS = NO; 513 | ENABLE_STRICT_OBJC_MSGSEND = YES; 514 | GCC_C_LANGUAGE_STANDARD = gnu99; 515 | GCC_NO_COMMON_BLOCKS = YES; 516 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 517 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 518 | GCC_WARN_UNDECLARED_SELECTOR = YES; 519 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 520 | GCC_WARN_UNUSED_FUNCTION = YES; 521 | GCC_WARN_UNUSED_VARIABLE = YES; 522 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 523 | MTL_ENABLE_DEBUG_INFO = NO; 524 | SDKROOT = iphoneos; 525 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 526 | VALIDATE_PRODUCT = YES; 527 | }; 528 | name = Release; 529 | }; 530 | 607FACF01AFB9204008FA782 /* Debug */ = { 531 | isa = XCBuildConfiguration; 532 | baseConfigurationReference = A198972362BC8E49E4591025 /* Pods-GuidePageView_Example.debug.xcconfig */; 533 | buildSettings = { 534 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 535 | DEVELOPMENT_TEAM = 8Y32T66G3J; 536 | INFOPLIST_FILE = GuidePageView/Info.plist; 537 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 538 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 539 | MODULE_NAME = ExampleApp; 540 | PRODUCT_BUNDLE_IDENTIFIER = com.demo.GuidePageView; 541 | PRODUCT_NAME = "$(TARGET_NAME)"; 542 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 543 | SWIFT_VERSION = 4.2; 544 | }; 545 | name = Debug; 546 | }; 547 | 607FACF11AFB9204008FA782 /* Release */ = { 548 | isa = XCBuildConfiguration; 549 | baseConfigurationReference = 7A6D409FE22ACD327C20795A /* Pods-GuidePageView_Example.release.xcconfig */; 550 | buildSettings = { 551 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 552 | DEVELOPMENT_TEAM = 8Y32T66G3J; 553 | INFOPLIST_FILE = GuidePageView/Info.plist; 554 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 555 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 556 | MODULE_NAME = ExampleApp; 557 | PRODUCT_BUNDLE_IDENTIFIER = com.demo.GuidePageView; 558 | PRODUCT_NAME = "$(TARGET_NAME)"; 559 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 560 | SWIFT_VERSION = 4.2; 561 | }; 562 | name = Release; 563 | }; 564 | 607FACF31AFB9204008FA782 /* Debug */ = { 565 | isa = XCBuildConfiguration; 566 | baseConfigurationReference = F8326F36420D50E3EAEED41E /* Pods-GuidePageView_Tests.debug.xcconfig */; 567 | buildSettings = { 568 | DEVELOPMENT_TEAM = HBBKUSRZMD; 569 | FRAMEWORK_SEARCH_PATHS = ( 570 | "$(SDKROOT)/Developer/Library/Frameworks", 571 | "$(inherited)", 572 | ); 573 | GCC_PREPROCESSOR_DEFINITIONS = ( 574 | "DEBUG=1", 575 | "$(inherited)", 576 | ); 577 | INFOPLIST_FILE = Tests/Info.plist; 578 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 579 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 580 | PRODUCT_NAME = "$(TARGET_NAME)"; 581 | SWIFT_VERSION = 4.2; 582 | }; 583 | name = Debug; 584 | }; 585 | 607FACF41AFB9204008FA782 /* Release */ = { 586 | isa = XCBuildConfiguration; 587 | baseConfigurationReference = 2999597B520134514832AA7E /* Pods-GuidePageView_Tests.release.xcconfig */; 588 | buildSettings = { 589 | DEVELOPMENT_TEAM = HBBKUSRZMD; 590 | FRAMEWORK_SEARCH_PATHS = ( 591 | "$(SDKROOT)/Developer/Library/Frameworks", 592 | "$(inherited)", 593 | ); 594 | INFOPLIST_FILE = Tests/Info.plist; 595 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 596 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 597 | PRODUCT_NAME = "$(TARGET_NAME)"; 598 | SWIFT_VERSION = 4.2; 599 | }; 600 | name = Release; 601 | }; 602 | /* End XCBuildConfiguration section */ 603 | 604 | /* Begin XCConfigurationList section */ 605 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "GuidePageView" */ = { 606 | isa = XCConfigurationList; 607 | buildConfigurations = ( 608 | 607FACED1AFB9204008FA782 /* Debug */, 609 | 607FACEE1AFB9204008FA782 /* Release */, 610 | ); 611 | defaultConfigurationIsVisible = 0; 612 | defaultConfigurationName = Release; 613 | }; 614 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "GuidePageView_Example" */ = { 615 | isa = XCConfigurationList; 616 | buildConfigurations = ( 617 | 607FACF01AFB9204008FA782 /* Debug */, 618 | 607FACF11AFB9204008FA782 /* Release */, 619 | ); 620 | defaultConfigurationIsVisible = 0; 621 | defaultConfigurationName = Release; 622 | }; 623 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "GuidePageView_Tests" */ = { 624 | isa = XCConfigurationList; 625 | buildConfigurations = ( 626 | 607FACF31AFB9204008FA782 /* Debug */, 627 | 607FACF41AFB9204008FA782 /* Release */, 628 | ); 629 | defaultConfigurationIsVisible = 0; 630 | defaultConfigurationName = Release; 631 | }; 632 | /* End XCConfigurationList section */ 633 | }; 634 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 635 | } 636 | -------------------------------------------------------------------------------- /Example/GuidePageView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/GuidePageView.xcodeproj/xcshareddata/xcschemes/GuidePageView-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 48 | 54 | 55 | 56 | 57 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 80 | 82 | 88 | 89 | 90 | 91 | 92 | 93 | 99 | 101 | 107 | 108 | 109 | 110 | 112 | 113 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /Example/GuidePageView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/GuidePageView.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/GuidePageView/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // GuidePageView 4 | // 5 | // Created by lisilong on 01/06/2018. 6 | // Copyright (c) 2018 lisilong. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | internal 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/GuidePageView/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Example/GuidePageView/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 | -------------------------------------------------------------------------------- /Example/GuidePageView/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Example/GuidePageView/Images/adImage3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilongLi/GuidePageView/db1e27d7dea7856e878a6320d7330593da91e84f/Example/GuidePageView/Images/adImage3.gif -------------------------------------------------------------------------------- /Example/GuidePageView/Images/adImage4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilongLi/GuidePageView/db1e27d7dea7856e878a6320d7330593da91e84f/Example/GuidePageView/Images/adImage4.gif -------------------------------------------------------------------------------- /Example/GuidePageView/Images/guideImage1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilongLi/GuidePageView/db1e27d7dea7856e878a6320d7330593da91e84f/Example/GuidePageView/Images/guideImage1.jpg -------------------------------------------------------------------------------- /Example/GuidePageView/Images/guideImage2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilongLi/GuidePageView/db1e27d7dea7856e878a6320d7330593da91e84f/Example/GuidePageView/Images/guideImage2.jpg -------------------------------------------------------------------------------- /Example/GuidePageView/Images/guideImage3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilongLi/GuidePageView/db1e27d7dea7856e878a6320d7330593da91e84f/Example/GuidePageView/Images/guideImage3.jpg -------------------------------------------------------------------------------- /Example/GuidePageView/Images/guideImage4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilongLi/GuidePageView/db1e27d7dea7856e878a6320d7330593da91e84f/Example/GuidePageView/Images/guideImage4.jpg -------------------------------------------------------------------------------- /Example/GuidePageView/Images/guideImage5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilongLi/GuidePageView/db1e27d7dea7856e878a6320d7330593da91e84f/Example/GuidePageView/Images/guideImage5.jpg -------------------------------------------------------------------------------- /Example/GuidePageView/Images/guideImage6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilongLi/GuidePageView/db1e27d7dea7856e878a6320d7330593da91e84f/Example/GuidePageView/Images/guideImage6.gif -------------------------------------------------------------------------------- /Example/GuidePageView/Images/guideImage7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilongLi/GuidePageView/db1e27d7dea7856e878a6320d7330593da91e84f/Example/GuidePageView/Images/guideImage7.gif -------------------------------------------------------------------------------- /Example/GuidePageView/Images/guideImage8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilongLi/GuidePageView/db1e27d7dea7856e878a6320d7330593da91e84f/Example/GuidePageView/Images/guideImage8.gif -------------------------------------------------------------------------------- /Example/GuidePageView/Images/guideMovie1.mov: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilongLi/GuidePageView/db1e27d7dea7856e878a6320d7330593da91e84f/Example/GuidePageView/Images/guideMovie1.mov -------------------------------------------------------------------------------- /Example/GuidePageView/Images/shopping.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilongLi/GuidePageView/db1e27d7dea7856e878a6320d7330593da91e84f/Example/GuidePageView/Images/shopping.gif -------------------------------------------------------------------------------- /Example/GuidePageView/Images/view_bg_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilongLi/GuidePageView/db1e27d7dea7856e878a6320d7330593da91e84f/Example/GuidePageView/Images/view_bg_image.png -------------------------------------------------------------------------------- /Example/GuidePageView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | 引导页 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.2.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 201903311600 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIMainStoryboardFile 30 | Main 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /Example/GuidePageView/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // GuidePageView 4 | // 5 | // Created by lisilong on 01/06/2018. 6 | // Copyright (c) 2018 lisilong. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import GuidePageView 11 | 12 | class ViewController: UIViewController { 13 | 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | 17 | // 首页背景图 18 | let imageView = UIImageView.init(image: UIImage.init(named: "view_bg_image.png")) 19 | imageView.frame = self.view.bounds 20 | self.view.addSubview(imageView) 21 | 22 | // 引导页案例 23 | // let gifArray = ["shopping.gif", "guideImage6.gif", "guideImage7.gif", "guideImage8.gif", "adImage3.gif", "adImage4.gif"] 24 | // let imageArray = ["guideImage1.jpg", "guideImage2.jpg", "guideImage3.jpg", "guideImage4.jpg", "guideImage5.jpg"] 25 | var imageGifArray = ["guideImage1.jpg","guideImage6.gif","guideImage7.gif","guideImage3.jpg", "guideImage5.jpg"] 26 | let guideView = GuidePageView.init(images: imageGifArray, loginRegistCompletion: { 27 | print("登录/注册") 28 | }) { 29 | print("开始使用app") 30 | } 31 | guideView.isSlipIntoHomeView = true 32 | self.view.addSubview(guideView) 33 | } 34 | 35 | override func didReceiveMemoryWarning() { 36 | super.didReceiveMemoryWarning() 37 | // Dispose of any resources that can be recreated. 38 | } 39 | 40 | } 41 | 42 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'GuidePageView_Example' do 4 | pod 'GuidePageView', :path => '../' 5 | 6 | target 'GuidePageView_Tests' do 7 | inherit! :search_paths 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - GuidePageView (1.1.0) 3 | 4 | DEPENDENCIES: 5 | - GuidePageView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | GuidePageView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | GuidePageView: 274c17981e435552fe6708e704d6cd5fa4aa8b26 13 | 14 | PODFILE CHECKSUM: f41042f8fbad75ce385adfb8277f54aff553bbf0 15 | 16 | COCOAPODS: 1.5.3 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/GuidePageView.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GuidePageView", 3 | "version": "1.2.0", 4 | "summary": "App启动引导页,支持播放gif/png/jpg等类型的资源数组。", 5 | "homepage": "https://github.com/SilongLi/GuidePageView.git", 6 | "license": { 7 | "type": "MIT", 8 | "file": "LICENSE" 9 | }, 10 | "authors": { 11 | "lisilong": "lisilong@tuandai.com" 12 | }, 13 | "source": { 14 | "git": "https://github.com/SilongLi/GuidePageView.git", 15 | "tag": "1.2.0" 16 | }, 17 | "source_files": "GuidePageView/Classes/**/*", 18 | "resources": "GuidePageView/GuideImage.bundle", 19 | "description": "App启动引导页,支持播放gif/png/jpg等类型的资源数组,及手动滑入主题。(建议引导页的图片都不要放在Assets文件中,因为使用imageName方法加载时,系统会缓存图片,造成内存暴增)", 20 | "platforms": { 21 | "ios": "8.0" 22 | }, 23 | "requires_arc": true, 24 | "pod_target_xcconfig": { 25 | "SWIFT_VERSION": "4.2" 26 | }, 27 | "frameworks": [ 28 | "Foundation", 29 | "UIKit" 30 | ] 31 | } 32 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - GuidePageView (1.1.0) 3 | 4 | DEPENDENCIES: 5 | - GuidePageView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | GuidePageView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | GuidePageView: 274c17981e435552fe6708e704d6cd5fa4aa8b26 13 | 14 | PODFILE CHECKSUM: f41042f8fbad75ce385adfb8277f54aff553bbf0 15 | 16 | COCOAPODS: 1.5.3 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 02C16EB67BDA31151AD28FCC607597DB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */; }; 11 | 18D30DC71963F0295D18B2EB9E6E4AFA /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */; }; 12 | 223EDB84B07B230C7B7810658FFE5E10 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */; }; 13 | 31CE9A4E83AABDA982CD7801FBBFEC2D /* Pods-GuidePageView_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = CA4EA81195CC85DE252063108CBA102E /* Pods-GuidePageView_Tests-dummy.m */; }; 14 | 4C5EA99689DAF81BCEEBCD63F748FBAD /* GifImageOperation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 87DFE308A37712626C7BE4D4582F1A08 /* GifImageOperation.swift */; }; 15 | 5415EBCB34F82C3C436C43F598A3A4AF /* GuideImage.bundle in Resources */ = {isa = PBXBuildFile; fileRef = ACBDB7A1D1CC55DC5020EAB3DDA1A092 /* GuideImage.bundle */; }; 16 | 6DA4749EEC51A19676A25628ADADD012 /* GuidePageView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = AEFEFADE67CEACAE29F5B6A041F95799 /* GuidePageView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | 88FD24981ECB35418A7062C148192ACC /* PageControl.swift in Sources */ = {isa = PBXBuildFile; fileRef = 691CF690F3DCA13A8D7D494C2290DC0A /* PageControl.swift */; }; 18 | 9B279E9A278A684780553C38D72D5EA9 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B63C6A64CF66340668996F78DA6BB482 /* UIKit.framework */; }; 19 | A7D0B6B8F42807D69C8F385C76130DD2 /* Pods-GuidePageView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5B2B760CEA10526EDF235921C7A9BAF9 /* Pods-GuidePageView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | D40F31F28F584CC44A7CD95948D7AD81 /* GuidePageView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 8856507191A71B29832985BBE153F4B9 /* GuidePageView-dummy.m */; }; 21 | D5ED3AE287B038B53203416FB61053AC /* Pods-GuidePageView_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = DF98545ACE68D03A4FACE4FAD6F15C0F /* Pods-GuidePageView_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 22 | E3DC053358D74EE6E7EE336DF3B8FC1D /* Pods-GuidePageView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 030BBCC71584D74A6C7494B1498E00C4 /* Pods-GuidePageView_Example-dummy.m */; }; 23 | FFFED15BCEDCA69747E214A718CCA69D /* GuidePageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 202BAFE3A9572B63FC015D651749BC1A /* GuidePageView.swift */; }; 24 | /* End PBXBuildFile section */ 25 | 26 | /* Begin PBXContainerItemProxy section */ 27 | 2B6ED3F6F96A98E6D007D4292690C58F /* PBXContainerItemProxy */ = { 28 | isa = PBXContainerItemProxy; 29 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 30 | proxyType = 1; 31 | remoteGlobalIDString = CDEDD18BD654FB04FAFB4A040051BF64; 32 | remoteInfo = GuidePageView; 33 | }; 34 | 5FF4415E9CA6D44772A90CB8D9D25DB3 /* PBXContainerItemProxy */ = { 35 | isa = PBXContainerItemProxy; 36 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 37 | proxyType = 1; 38 | remoteGlobalIDString = D640DD23F7D501A9DCE196F632060B0B; 39 | remoteInfo = "Pods-GuidePageView_Example"; 40 | }; 41 | /* End PBXContainerItemProxy section */ 42 | 43 | /* Begin PBXFileReference section */ 44 | 030BBCC71584D74A6C7494B1498E00C4 /* Pods-GuidePageView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-GuidePageView_Example-dummy.m"; sourceTree = ""; }; 45 | 03D730136EB29E91223322438014AA6D /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; 46 | 06C11A1B273438500D7E2FA85DEA1014 /* Pods-GuidePageView_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-GuidePageView_Tests-frameworks.sh"; sourceTree = ""; }; 47 | 0BC0F16BC9A13D7C3AF0B76E1685CEAC /* GuidePageView.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; path = GuidePageView.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 48 | 17BB09A7EF5B484E9614A32BCA062270 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 49 | 202BAFE3A9572B63FC015D651749BC1A /* GuidePageView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GuidePageView.swift; path = GuidePageView/Classes/GuidePageView.swift; sourceTree = ""; }; 50 | 29EE563A63C8766382FFDCA2AACF0D11 /* Pods_GuidePageView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_GuidePageView_Tests.framework; path = "Pods-GuidePageView_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 51 | 30412AF95A8D56BEA8275DD95330C0F3 /* Pods-GuidePageView_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-GuidePageView_Tests.modulemap"; sourceTree = ""; }; 52 | 3308A349F26560E0DE9C82846773F9C4 /* Pods-GuidePageView_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-GuidePageView_Tests-acknowledgements.plist"; sourceTree = ""; }; 53 | 37C722A7A9C633CA2731D506EB338DCB /* Pods-GuidePageView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-GuidePageView_Example-frameworks.sh"; sourceTree = ""; }; 54 | 3906818C39699D5DB93103E437C00601 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 55 | 3CC7AE5CE5BDBF7323294AAD548E98D1 /* Pods-GuidePageView_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-GuidePageView_Tests-acknowledgements.markdown"; sourceTree = ""; }; 56 | 4C6E4C4DB150D6C16DDC8818CBC595CB /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; 57 | 5582D6E46A578679A2EC5D0E7DC26F2A /* Pods-GuidePageView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-GuidePageView_Example.debug.xcconfig"; sourceTree = ""; }; 58 | 5B2B760CEA10526EDF235921C7A9BAF9 /* Pods-GuidePageView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-GuidePageView_Example-umbrella.h"; sourceTree = ""; }; 59 | 60D9DBA4E1CD4863F29531BBD50A2FDF /* Pods-GuidePageView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-GuidePageView_Example-acknowledgements.plist"; sourceTree = ""; }; 60 | 691CF690F3DCA13A8D7D494C2290DC0A /* PageControl.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PageControl.swift; path = GuidePageView/Classes/PageControl.swift; sourceTree = ""; }; 61 | 75F29AC6DAEB06716D65D97836F80A9C /* Pods-GuidePageView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-GuidePageView_Tests.release.xcconfig"; sourceTree = ""; }; 62 | 780524068230936F65C02764A617CD39 /* GuidePageView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "GuidePageView-prefix.pch"; sourceTree = ""; }; 63 | 87DFE308A37712626C7BE4D4582F1A08 /* GifImageOperation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GifImageOperation.swift; path = GuidePageView/Classes/GifImageOperation.swift; sourceTree = ""; }; 64 | 8856507191A71B29832985BBE153F4B9 /* GuidePageView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "GuidePageView-dummy.m"; sourceTree = ""; }; 65 | 8CD639A5F29B6B9D7F81C405824A192B /* Pods-GuidePageView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-GuidePageView_Example-acknowledgements.markdown"; sourceTree = ""; }; 66 | 91155BA95E5DD6B15F50D71E8C956E6F /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 67 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 68 | 990C4D3532A6212130694064090AAA3F /* GuidePageView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = GuidePageView.framework; path = GuidePageView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 69 | A3AA17A388A77BDBC2CBB32DA87959A8 /* Pods-GuidePageView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-GuidePageView_Example-resources.sh"; sourceTree = ""; }; 70 | A6BB7A13CA47DDEF9C08FDCE07810C11 /* Pods_GuidePageView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_GuidePageView_Example.framework; path = "Pods-GuidePageView_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 71 | A8C042F8D0E803BA16B50269C4730B17 /* GuidePageView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = GuidePageView.xcconfig; sourceTree = ""; }; 72 | ACBDB7A1D1CC55DC5020EAB3DDA1A092 /* GuideImage.bundle */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "wrapper.plug-in"; name = GuideImage.bundle; path = GuidePageView/GuideImage.bundle; sourceTree = ""; }; 73 | AEFEFADE67CEACAE29F5B6A041F95799 /* GuidePageView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "GuidePageView-umbrella.h"; sourceTree = ""; }; 74 | B63C6A64CF66340668996F78DA6BB482 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; 75 | CA4EA81195CC85DE252063108CBA102E /* Pods-GuidePageView_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-GuidePageView_Tests-dummy.m"; sourceTree = ""; }; 76 | D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 77 | DF98545ACE68D03A4FACE4FAD6F15C0F /* Pods-GuidePageView_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-GuidePageView_Tests-umbrella.h"; sourceTree = ""; }; 78 | E16DCC22709113F6C8B3DF05374E3D3E /* Pods-GuidePageView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-GuidePageView_Tests.debug.xcconfig"; sourceTree = ""; }; 79 | EC733D6EB15850DD8E952040B15BF955 /* Pods-GuidePageView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-GuidePageView_Example.modulemap"; sourceTree = ""; }; 80 | F223E4655C80D221113FC7BA13A5B443 /* Pods-GuidePageView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-GuidePageView_Example.release.xcconfig"; sourceTree = ""; }; 81 | F5D4EBE2A88D580062D547C495E5DE5C /* GuidePageView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = GuidePageView.modulemap; sourceTree = ""; }; 82 | F62C5494B11DF6FA54599C6EC7F1005B /* Pods-GuidePageView_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-GuidePageView_Tests-resources.sh"; sourceTree = ""; }; 83 | /* End PBXFileReference section */ 84 | 85 | /* Begin PBXFrameworksBuildPhase section */ 86 | 0A5B9A5A81C940174C9465BD577A0CF2 /* Frameworks */ = { 87 | isa = PBXFrameworksBuildPhase; 88 | buildActionMask = 2147483647; 89 | files = ( 90 | 02C16EB67BDA31151AD28FCC607597DB /* Foundation.framework in Frameworks */, 91 | ); 92 | runOnlyForDeploymentPostprocessing = 0; 93 | }; 94 | 81F28456CB6A8DF9A7DFFE5FCC6A5154 /* Frameworks */ = { 95 | isa = PBXFrameworksBuildPhase; 96 | buildActionMask = 2147483647; 97 | files = ( 98 | 18D30DC71963F0295D18B2EB9E6E4AFA /* Foundation.framework in Frameworks */, 99 | ); 100 | runOnlyForDeploymentPostprocessing = 0; 101 | }; 102 | F41DEFB8BAA08C3E0DCC6A43B9609F68 /* Frameworks */ = { 103 | isa = PBXFrameworksBuildPhase; 104 | buildActionMask = 2147483647; 105 | files = ( 106 | 223EDB84B07B230C7B7810658FFE5E10 /* Foundation.framework in Frameworks */, 107 | 9B279E9A278A684780553C38D72D5EA9 /* UIKit.framework in Frameworks */, 108 | ); 109 | runOnlyForDeploymentPostprocessing = 0; 110 | }; 111 | /* End PBXFrameworksBuildPhase section */ 112 | 113 | /* Begin PBXGroup section */ 114 | 1567E53EB5483288FF2AD364CBABD2D9 /* Pods-GuidePageView_Tests */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | 91155BA95E5DD6B15F50D71E8C956E6F /* Info.plist */, 118 | 30412AF95A8D56BEA8275DD95330C0F3 /* Pods-GuidePageView_Tests.modulemap */, 119 | 3CC7AE5CE5BDBF7323294AAD548E98D1 /* Pods-GuidePageView_Tests-acknowledgements.markdown */, 120 | 3308A349F26560E0DE9C82846773F9C4 /* Pods-GuidePageView_Tests-acknowledgements.plist */, 121 | CA4EA81195CC85DE252063108CBA102E /* Pods-GuidePageView_Tests-dummy.m */, 122 | 06C11A1B273438500D7E2FA85DEA1014 /* Pods-GuidePageView_Tests-frameworks.sh */, 123 | F62C5494B11DF6FA54599C6EC7F1005B /* Pods-GuidePageView_Tests-resources.sh */, 124 | DF98545ACE68D03A4FACE4FAD6F15C0F /* Pods-GuidePageView_Tests-umbrella.h */, 125 | E16DCC22709113F6C8B3DF05374E3D3E /* Pods-GuidePageView_Tests.debug.xcconfig */, 126 | 75F29AC6DAEB06716D65D97836F80A9C /* Pods-GuidePageView_Tests.release.xcconfig */, 127 | ); 128 | name = "Pods-GuidePageView_Tests"; 129 | path = "Target Support Files/Pods-GuidePageView_Tests"; 130 | sourceTree = ""; 131 | }; 132 | 2BB629CB309DAF9AC375651A22CDD0A6 /* Products */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | 990C4D3532A6212130694064090AAA3F /* GuidePageView.framework */, 136 | A6BB7A13CA47DDEF9C08FDCE07810C11 /* Pods_GuidePageView_Example.framework */, 137 | 29EE563A63C8766382FFDCA2AACF0D11 /* Pods_GuidePageView_Tests.framework */, 138 | ); 139 | name = Products; 140 | sourceTree = ""; 141 | }; 142 | 433CD3331B6C3787F473C941B61FC68F /* Frameworks */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | 438B396F6B4147076630CAEFE34282C1 /* iOS */, 146 | ); 147 | name = Frameworks; 148 | sourceTree = ""; 149 | }; 150 | 438B396F6B4147076630CAEFE34282C1 /* iOS */ = { 151 | isa = PBXGroup; 152 | children = ( 153 | D88AAE1F92055A60CC2FC970D7D34634 /* Foundation.framework */, 154 | B63C6A64CF66340668996F78DA6BB482 /* UIKit.framework */, 155 | ); 156 | name = iOS; 157 | sourceTree = ""; 158 | }; 159 | 7DB346D0F39D3F0E887471402A8071AB = { 160 | isa = PBXGroup; 161 | children = ( 162 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 163 | C448917AB61404CB28F8D54D6B503287 /* Development Pods */, 164 | 433CD3331B6C3787F473C941B61FC68F /* Frameworks */, 165 | 2BB629CB309DAF9AC375651A22CDD0A6 /* Products */, 166 | B8B9EE9CD45AE00FF0DB809076EBF4D9 /* Targets Support Files */, 167 | ); 168 | sourceTree = ""; 169 | }; 170 | B8B9EE9CD45AE00FF0DB809076EBF4D9 /* Targets Support Files */ = { 171 | isa = PBXGroup; 172 | children = ( 173 | C9CE8B839E12CC8D8950DB10AB019E3C /* Pods-GuidePageView_Example */, 174 | 1567E53EB5483288FF2AD364CBABD2D9 /* Pods-GuidePageView_Tests */, 175 | ); 176 | name = "Targets Support Files"; 177 | sourceTree = ""; 178 | }; 179 | BB359E66E5AF1B1AEB039F7A9DA8E75D /* Support Files */ = { 180 | isa = PBXGroup; 181 | children = ( 182 | F5D4EBE2A88D580062D547C495E5DE5C /* GuidePageView.modulemap */, 183 | A8C042F8D0E803BA16B50269C4730B17 /* GuidePageView.xcconfig */, 184 | 8856507191A71B29832985BBE153F4B9 /* GuidePageView-dummy.m */, 185 | 780524068230936F65C02764A617CD39 /* GuidePageView-prefix.pch */, 186 | AEFEFADE67CEACAE29F5B6A041F95799 /* GuidePageView-umbrella.h */, 187 | 17BB09A7EF5B484E9614A32BCA062270 /* Info.plist */, 188 | ); 189 | name = "Support Files"; 190 | path = "Example/Pods/Target Support Files/GuidePageView"; 191 | sourceTree = ""; 192 | }; 193 | C0EA1C085E14267C2C37B5F15FAA3BD0 /* Resources */ = { 194 | isa = PBXGroup; 195 | children = ( 196 | ACBDB7A1D1CC55DC5020EAB3DDA1A092 /* GuideImage.bundle */, 197 | ); 198 | name = Resources; 199 | sourceTree = ""; 200 | }; 201 | C448917AB61404CB28F8D54D6B503287 /* Development Pods */ = { 202 | isa = PBXGroup; 203 | children = ( 204 | ED504CDF6A9A046AC11A416AE7A24296 /* GuidePageView */, 205 | ); 206 | name = "Development Pods"; 207 | sourceTree = ""; 208 | }; 209 | C9CE8B839E12CC8D8950DB10AB019E3C /* Pods-GuidePageView_Example */ = { 210 | isa = PBXGroup; 211 | children = ( 212 | 3906818C39699D5DB93103E437C00601 /* Info.plist */, 213 | EC733D6EB15850DD8E952040B15BF955 /* Pods-GuidePageView_Example.modulemap */, 214 | 8CD639A5F29B6B9D7F81C405824A192B /* Pods-GuidePageView_Example-acknowledgements.markdown */, 215 | 60D9DBA4E1CD4863F29531BBD50A2FDF /* Pods-GuidePageView_Example-acknowledgements.plist */, 216 | 030BBCC71584D74A6C7494B1498E00C4 /* Pods-GuidePageView_Example-dummy.m */, 217 | 37C722A7A9C633CA2731D506EB338DCB /* Pods-GuidePageView_Example-frameworks.sh */, 218 | A3AA17A388A77BDBC2CBB32DA87959A8 /* Pods-GuidePageView_Example-resources.sh */, 219 | 5B2B760CEA10526EDF235921C7A9BAF9 /* Pods-GuidePageView_Example-umbrella.h */, 220 | 5582D6E46A578679A2EC5D0E7DC26F2A /* Pods-GuidePageView_Example.debug.xcconfig */, 221 | F223E4655C80D221113FC7BA13A5B443 /* Pods-GuidePageView_Example.release.xcconfig */, 222 | ); 223 | name = "Pods-GuidePageView_Example"; 224 | path = "Target Support Files/Pods-GuidePageView_Example"; 225 | sourceTree = ""; 226 | }; 227 | E08A01B60C06FD8BBB42FB279F978C57 /* Pod */ = { 228 | isa = PBXGroup; 229 | children = ( 230 | 0BC0F16BC9A13D7C3AF0B76E1685CEAC /* GuidePageView.podspec */, 231 | 03D730136EB29E91223322438014AA6D /* LICENSE */, 232 | 4C6E4C4DB150D6C16DDC8818CBC595CB /* README.md */, 233 | ); 234 | name = Pod; 235 | sourceTree = ""; 236 | }; 237 | ED504CDF6A9A046AC11A416AE7A24296 /* GuidePageView */ = { 238 | isa = PBXGroup; 239 | children = ( 240 | 87DFE308A37712626C7BE4D4582F1A08 /* GifImageOperation.swift */, 241 | 202BAFE3A9572B63FC015D651749BC1A /* GuidePageView.swift */, 242 | 691CF690F3DCA13A8D7D494C2290DC0A /* PageControl.swift */, 243 | E08A01B60C06FD8BBB42FB279F978C57 /* Pod */, 244 | C0EA1C085E14267C2C37B5F15FAA3BD0 /* Resources */, 245 | BB359E66E5AF1B1AEB039F7A9DA8E75D /* Support Files */, 246 | ); 247 | name = GuidePageView; 248 | path = ../..; 249 | sourceTree = ""; 250 | }; 251 | /* End PBXGroup section */ 252 | 253 | /* Begin PBXHeadersBuildPhase section */ 254 | AE5D3E7E8FFDA234E4C237EB4294A92B /* Headers */ = { 255 | isa = PBXHeadersBuildPhase; 256 | buildActionMask = 2147483647; 257 | files = ( 258 | D5ED3AE287B038B53203416FB61053AC /* Pods-GuidePageView_Tests-umbrella.h in Headers */, 259 | ); 260 | runOnlyForDeploymentPostprocessing = 0; 261 | }; 262 | B49C5EE879ABD0DAB481C9B6E80D30A0 /* Headers */ = { 263 | isa = PBXHeadersBuildPhase; 264 | buildActionMask = 2147483647; 265 | files = ( 266 | A7D0B6B8F42807D69C8F385C76130DD2 /* Pods-GuidePageView_Example-umbrella.h in Headers */, 267 | ); 268 | runOnlyForDeploymentPostprocessing = 0; 269 | }; 270 | EEE30727CD6763C88DE1E7FBED57D8EF /* Headers */ = { 271 | isa = PBXHeadersBuildPhase; 272 | buildActionMask = 2147483647; 273 | files = ( 274 | 6DA4749EEC51A19676A25628ADADD012 /* GuidePageView-umbrella.h in Headers */, 275 | ); 276 | runOnlyForDeploymentPostprocessing = 0; 277 | }; 278 | /* End PBXHeadersBuildPhase section */ 279 | 280 | /* Begin PBXNativeTarget section */ 281 | 345869E744E806B1559AD96692978544 /* Pods-GuidePageView_Tests */ = { 282 | isa = PBXNativeTarget; 283 | buildConfigurationList = 55A45837BC92FF44F5748DA341827767 /* Build configuration list for PBXNativeTarget "Pods-GuidePageView_Tests" */; 284 | buildPhases = ( 285 | 157F777A9F1428807A20C72F2651B1A2 /* Sources */, 286 | 0A5B9A5A81C940174C9465BD577A0CF2 /* Frameworks */, 287 | AE5D3E7E8FFDA234E4C237EB4294A92B /* Headers */, 288 | ); 289 | buildRules = ( 290 | ); 291 | dependencies = ( 292 | 82D407DDF0A06A3BAF5DF8BA8582B451 /* PBXTargetDependency */, 293 | ); 294 | name = "Pods-GuidePageView_Tests"; 295 | productName = "Pods-GuidePageView_Tests"; 296 | productReference = 29EE563A63C8766382FFDCA2AACF0D11 /* Pods_GuidePageView_Tests.framework */; 297 | productType = "com.apple.product-type.framework"; 298 | }; 299 | CDEDD18BD654FB04FAFB4A040051BF64 /* GuidePageView */ = { 300 | isa = PBXNativeTarget; 301 | buildConfigurationList = 0C43E21C3A0CC6CE01627437208AB281 /* Build configuration list for PBXNativeTarget "GuidePageView" */; 302 | buildPhases = ( 303 | 532577FB4FF0F5C89FE1C1A4A037F66C /* Sources */, 304 | F41DEFB8BAA08C3E0DCC6A43B9609F68 /* Frameworks */, 305 | 63ACF62913094046ADC088DD0189D73E /* Resources */, 306 | EEE30727CD6763C88DE1E7FBED57D8EF /* Headers */, 307 | ); 308 | buildRules = ( 309 | ); 310 | dependencies = ( 311 | ); 312 | name = GuidePageView; 313 | productName = GuidePageView; 314 | productReference = 990C4D3532A6212130694064090AAA3F /* GuidePageView.framework */; 315 | productType = "com.apple.product-type.framework"; 316 | }; 317 | D640DD23F7D501A9DCE196F632060B0B /* Pods-GuidePageView_Example */ = { 318 | isa = PBXNativeTarget; 319 | buildConfigurationList = 40AB97F4822D068C1BE781B12452FA4A /* Build configuration list for PBXNativeTarget "Pods-GuidePageView_Example" */; 320 | buildPhases = ( 321 | F6CFB1714DE8EDD117CE714286C9B92D /* Sources */, 322 | 81F28456CB6A8DF9A7DFFE5FCC6A5154 /* Frameworks */, 323 | B49C5EE879ABD0DAB481C9B6E80D30A0 /* Headers */, 324 | ); 325 | buildRules = ( 326 | ); 327 | dependencies = ( 328 | 6030B84EFB102BEE474D4D76937E05FB /* PBXTargetDependency */, 329 | ); 330 | name = "Pods-GuidePageView_Example"; 331 | productName = "Pods-GuidePageView_Example"; 332 | productReference = A6BB7A13CA47DDEF9C08FDCE07810C11 /* Pods_GuidePageView_Example.framework */; 333 | productType = "com.apple.product-type.framework"; 334 | }; 335 | /* End PBXNativeTarget section */ 336 | 337 | /* Begin PBXProject section */ 338 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 339 | isa = PBXProject; 340 | attributes = { 341 | LastSwiftUpdateCheck = 0930; 342 | LastUpgradeCheck = 0930; 343 | }; 344 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 345 | compatibilityVersion = "Xcode 3.2"; 346 | developmentRegion = English; 347 | hasScannedForEncodings = 0; 348 | knownRegions = ( 349 | en, 350 | ); 351 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 352 | productRefGroup = 2BB629CB309DAF9AC375651A22CDD0A6 /* Products */; 353 | projectDirPath = ""; 354 | projectRoot = ""; 355 | targets = ( 356 | CDEDD18BD654FB04FAFB4A040051BF64 /* GuidePageView */, 357 | D640DD23F7D501A9DCE196F632060B0B /* Pods-GuidePageView_Example */, 358 | 345869E744E806B1559AD96692978544 /* Pods-GuidePageView_Tests */, 359 | ); 360 | }; 361 | /* End PBXProject section */ 362 | 363 | /* Begin PBXResourcesBuildPhase section */ 364 | 63ACF62913094046ADC088DD0189D73E /* Resources */ = { 365 | isa = PBXResourcesBuildPhase; 366 | buildActionMask = 2147483647; 367 | files = ( 368 | 5415EBCB34F82C3C436C43F598A3A4AF /* GuideImage.bundle in Resources */, 369 | ); 370 | runOnlyForDeploymentPostprocessing = 0; 371 | }; 372 | /* End PBXResourcesBuildPhase section */ 373 | 374 | /* Begin PBXSourcesBuildPhase section */ 375 | 157F777A9F1428807A20C72F2651B1A2 /* Sources */ = { 376 | isa = PBXSourcesBuildPhase; 377 | buildActionMask = 2147483647; 378 | files = ( 379 | 31CE9A4E83AABDA982CD7801FBBFEC2D /* Pods-GuidePageView_Tests-dummy.m in Sources */, 380 | ); 381 | runOnlyForDeploymentPostprocessing = 0; 382 | }; 383 | 532577FB4FF0F5C89FE1C1A4A037F66C /* Sources */ = { 384 | isa = PBXSourcesBuildPhase; 385 | buildActionMask = 2147483647; 386 | files = ( 387 | 4C5EA99689DAF81BCEEBCD63F748FBAD /* GifImageOperation.swift in Sources */, 388 | D40F31F28F584CC44A7CD95948D7AD81 /* GuidePageView-dummy.m in Sources */, 389 | FFFED15BCEDCA69747E214A718CCA69D /* GuidePageView.swift in Sources */, 390 | 88FD24981ECB35418A7062C148192ACC /* PageControl.swift in Sources */, 391 | ); 392 | runOnlyForDeploymentPostprocessing = 0; 393 | }; 394 | F6CFB1714DE8EDD117CE714286C9B92D /* Sources */ = { 395 | isa = PBXSourcesBuildPhase; 396 | buildActionMask = 2147483647; 397 | files = ( 398 | E3DC053358D74EE6E7EE336DF3B8FC1D /* Pods-GuidePageView_Example-dummy.m in Sources */, 399 | ); 400 | runOnlyForDeploymentPostprocessing = 0; 401 | }; 402 | /* End PBXSourcesBuildPhase section */ 403 | 404 | /* Begin PBXTargetDependency section */ 405 | 6030B84EFB102BEE474D4D76937E05FB /* PBXTargetDependency */ = { 406 | isa = PBXTargetDependency; 407 | name = GuidePageView; 408 | target = CDEDD18BD654FB04FAFB4A040051BF64 /* GuidePageView */; 409 | targetProxy = 2B6ED3F6F96A98E6D007D4292690C58F /* PBXContainerItemProxy */; 410 | }; 411 | 82D407DDF0A06A3BAF5DF8BA8582B451 /* PBXTargetDependency */ = { 412 | isa = PBXTargetDependency; 413 | name = "Pods-GuidePageView_Example"; 414 | target = D640DD23F7D501A9DCE196F632060B0B /* Pods-GuidePageView_Example */; 415 | targetProxy = 5FF4415E9CA6D44772A90CB8D9D25DB3 /* PBXContainerItemProxy */; 416 | }; 417 | /* End PBXTargetDependency section */ 418 | 419 | /* Begin XCBuildConfiguration section */ 420 | 0A814434867E6B7A4CC9EC3AF296A38F /* Debug */ = { 421 | isa = XCBuildConfiguration; 422 | baseConfigurationReference = A8C042F8D0E803BA16B50269C4730B17 /* GuidePageView.xcconfig */; 423 | buildSettings = { 424 | CODE_SIGN_IDENTITY = ""; 425 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 426 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 427 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 428 | CURRENT_PROJECT_VERSION = 1; 429 | DEFINES_MODULE = YES; 430 | DYLIB_COMPATIBILITY_VERSION = 1; 431 | DYLIB_CURRENT_VERSION = 1; 432 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 433 | GCC_PREFIX_HEADER = "Target Support Files/GuidePageView/GuidePageView-prefix.pch"; 434 | INFOPLIST_FILE = "Target Support Files/GuidePageView/Info.plist"; 435 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 436 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 437 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 438 | MODULEMAP_FILE = "Target Support Files/GuidePageView/GuidePageView.modulemap"; 439 | PRODUCT_MODULE_NAME = GuidePageView; 440 | PRODUCT_NAME = GuidePageView; 441 | SDKROOT = iphoneos; 442 | SKIP_INSTALL = YES; 443 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 444 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 445 | SWIFT_VERSION = 4.2; 446 | TARGETED_DEVICE_FAMILY = "1,2"; 447 | VERSIONING_SYSTEM = "apple-generic"; 448 | VERSION_INFO_PREFIX = ""; 449 | }; 450 | name = Debug; 451 | }; 452 | 1EE19F5DD95931924296F637BF18BD8F /* Debug */ = { 453 | isa = XCBuildConfiguration; 454 | buildSettings = { 455 | ALWAYS_SEARCH_USER_PATHS = NO; 456 | CLANG_ANALYZER_NONNULL = YES; 457 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 458 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 459 | CLANG_CXX_LIBRARY = "libc++"; 460 | CLANG_ENABLE_MODULES = YES; 461 | CLANG_ENABLE_OBJC_ARC = YES; 462 | CLANG_ENABLE_OBJC_WEAK = YES; 463 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 464 | CLANG_WARN_BOOL_CONVERSION = YES; 465 | CLANG_WARN_COMMA = YES; 466 | CLANG_WARN_CONSTANT_CONVERSION = YES; 467 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 468 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 469 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 470 | CLANG_WARN_EMPTY_BODY = YES; 471 | CLANG_WARN_ENUM_CONVERSION = YES; 472 | CLANG_WARN_INFINITE_RECURSION = YES; 473 | CLANG_WARN_INT_CONVERSION = YES; 474 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 475 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 476 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 477 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 478 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 479 | CLANG_WARN_STRICT_PROTOTYPES = YES; 480 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 481 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 482 | CLANG_WARN_UNREACHABLE_CODE = YES; 483 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 484 | CODE_SIGNING_ALLOWED = NO; 485 | CODE_SIGNING_REQUIRED = NO; 486 | COPY_PHASE_STRIP = NO; 487 | DEBUG_INFORMATION_FORMAT = dwarf; 488 | ENABLE_STRICT_OBJC_MSGSEND = YES; 489 | ENABLE_TESTABILITY = YES; 490 | GCC_C_LANGUAGE_STANDARD = gnu11; 491 | GCC_DYNAMIC_NO_PIC = NO; 492 | GCC_NO_COMMON_BLOCKS = YES; 493 | GCC_OPTIMIZATION_LEVEL = 0; 494 | GCC_PREPROCESSOR_DEFINITIONS = ( 495 | "POD_CONFIGURATION_DEBUG=1", 496 | "DEBUG=1", 497 | "$(inherited)", 498 | ); 499 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 500 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 501 | GCC_WARN_UNDECLARED_SELECTOR = YES; 502 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 503 | GCC_WARN_UNUSED_FUNCTION = YES; 504 | GCC_WARN_UNUSED_VARIABLE = YES; 505 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 506 | MTL_ENABLE_DEBUG_INFO = YES; 507 | ONLY_ACTIVE_ARCH = YES; 508 | PRODUCT_NAME = "$(TARGET_NAME)"; 509 | STRIP_INSTALLED_PRODUCT = NO; 510 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 511 | SYMROOT = "${SRCROOT}/../build"; 512 | }; 513 | name = Debug; 514 | }; 515 | 29B428B88433C38DCCF40F0922216FFF /* Debug */ = { 516 | isa = XCBuildConfiguration; 517 | baseConfigurationReference = E16DCC22709113F6C8B3DF05374E3D3E /* Pods-GuidePageView_Tests.debug.xcconfig */; 518 | buildSettings = { 519 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 520 | CODE_SIGN_IDENTITY = ""; 521 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 522 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 523 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 524 | CURRENT_PROJECT_VERSION = 1; 525 | DEFINES_MODULE = YES; 526 | DYLIB_COMPATIBILITY_VERSION = 1; 527 | DYLIB_CURRENT_VERSION = 1; 528 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 529 | INFOPLIST_FILE = "Target Support Files/Pods-GuidePageView_Tests/Info.plist"; 530 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 531 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 532 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 533 | MACH_O_TYPE = staticlib; 534 | MODULEMAP_FILE = "Target Support Files/Pods-GuidePageView_Tests/Pods-GuidePageView_Tests.modulemap"; 535 | OTHER_LDFLAGS = ""; 536 | OTHER_LIBTOOLFLAGS = ""; 537 | PODS_ROOT = "$(SRCROOT)"; 538 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 539 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 540 | SDKROOT = iphoneos; 541 | SKIP_INSTALL = YES; 542 | TARGETED_DEVICE_FAMILY = "1,2"; 543 | VERSIONING_SYSTEM = "apple-generic"; 544 | VERSION_INFO_PREFIX = ""; 545 | }; 546 | name = Debug; 547 | }; 548 | 3E05FC66B7AABC2CFF20D7795493BA1C /* Release */ = { 549 | isa = XCBuildConfiguration; 550 | baseConfigurationReference = F223E4655C80D221113FC7BA13A5B443 /* Pods-GuidePageView_Example.release.xcconfig */; 551 | buildSettings = { 552 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 553 | CODE_SIGN_IDENTITY = ""; 554 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 555 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 556 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 557 | CURRENT_PROJECT_VERSION = 1; 558 | DEFINES_MODULE = YES; 559 | DYLIB_COMPATIBILITY_VERSION = 1; 560 | DYLIB_CURRENT_VERSION = 1; 561 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 562 | INFOPLIST_FILE = "Target Support Files/Pods-GuidePageView_Example/Info.plist"; 563 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 564 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 565 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 566 | MACH_O_TYPE = staticlib; 567 | MODULEMAP_FILE = "Target Support Files/Pods-GuidePageView_Example/Pods-GuidePageView_Example.modulemap"; 568 | OTHER_LDFLAGS = ""; 569 | OTHER_LIBTOOLFLAGS = ""; 570 | PODS_ROOT = "$(SRCROOT)"; 571 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 572 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 573 | SDKROOT = iphoneos; 574 | SKIP_INSTALL = YES; 575 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 576 | TARGETED_DEVICE_FAMILY = "1,2"; 577 | VALIDATE_PRODUCT = YES; 578 | VERSIONING_SYSTEM = "apple-generic"; 579 | VERSION_INFO_PREFIX = ""; 580 | }; 581 | name = Release; 582 | }; 583 | 711F52F6967098635D2292FC717983C3 /* Debug */ = { 584 | isa = XCBuildConfiguration; 585 | baseConfigurationReference = 5582D6E46A578679A2EC5D0E7DC26F2A /* Pods-GuidePageView_Example.debug.xcconfig */; 586 | buildSettings = { 587 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 588 | CODE_SIGN_IDENTITY = ""; 589 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 590 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 591 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 592 | CURRENT_PROJECT_VERSION = 1; 593 | DEFINES_MODULE = YES; 594 | DYLIB_COMPATIBILITY_VERSION = 1; 595 | DYLIB_CURRENT_VERSION = 1; 596 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 597 | INFOPLIST_FILE = "Target Support Files/Pods-GuidePageView_Example/Info.plist"; 598 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 599 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 600 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 601 | MACH_O_TYPE = staticlib; 602 | MODULEMAP_FILE = "Target Support Files/Pods-GuidePageView_Example/Pods-GuidePageView_Example.modulemap"; 603 | OTHER_LDFLAGS = ""; 604 | OTHER_LIBTOOLFLAGS = ""; 605 | PODS_ROOT = "$(SRCROOT)"; 606 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 607 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 608 | SDKROOT = iphoneos; 609 | SKIP_INSTALL = YES; 610 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 611 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 612 | TARGETED_DEVICE_FAMILY = "1,2"; 613 | VERSIONING_SYSTEM = "apple-generic"; 614 | VERSION_INFO_PREFIX = ""; 615 | }; 616 | name = Debug; 617 | }; 618 | 7B2C30DD507BD9DA2B45BA55D8F713B3 /* Release */ = { 619 | isa = XCBuildConfiguration; 620 | baseConfigurationReference = 75F29AC6DAEB06716D65D97836F80A9C /* Pods-GuidePageView_Tests.release.xcconfig */; 621 | buildSettings = { 622 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 623 | CODE_SIGN_IDENTITY = ""; 624 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 625 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 626 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 627 | CURRENT_PROJECT_VERSION = 1; 628 | DEFINES_MODULE = YES; 629 | DYLIB_COMPATIBILITY_VERSION = 1; 630 | DYLIB_CURRENT_VERSION = 1; 631 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 632 | INFOPLIST_FILE = "Target Support Files/Pods-GuidePageView_Tests/Info.plist"; 633 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 634 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 635 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 636 | MACH_O_TYPE = staticlib; 637 | MODULEMAP_FILE = "Target Support Files/Pods-GuidePageView_Tests/Pods-GuidePageView_Tests.modulemap"; 638 | OTHER_LDFLAGS = ""; 639 | OTHER_LIBTOOLFLAGS = ""; 640 | PODS_ROOT = "$(SRCROOT)"; 641 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 642 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 643 | SDKROOT = iphoneos; 644 | SKIP_INSTALL = YES; 645 | TARGETED_DEVICE_FAMILY = "1,2"; 646 | VALIDATE_PRODUCT = YES; 647 | VERSIONING_SYSTEM = "apple-generic"; 648 | VERSION_INFO_PREFIX = ""; 649 | }; 650 | name = Release; 651 | }; 652 | 8EB44977D2A32EE9BCACDDE0AD073521 /* Release */ = { 653 | isa = XCBuildConfiguration; 654 | baseConfigurationReference = A8C042F8D0E803BA16B50269C4730B17 /* GuidePageView.xcconfig */; 655 | buildSettings = { 656 | CODE_SIGN_IDENTITY = ""; 657 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 658 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 659 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 660 | CURRENT_PROJECT_VERSION = 1; 661 | DEFINES_MODULE = YES; 662 | DYLIB_COMPATIBILITY_VERSION = 1; 663 | DYLIB_CURRENT_VERSION = 1; 664 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 665 | GCC_PREFIX_HEADER = "Target Support Files/GuidePageView/GuidePageView-prefix.pch"; 666 | INFOPLIST_FILE = "Target Support Files/GuidePageView/Info.plist"; 667 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 668 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 669 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 670 | MODULEMAP_FILE = "Target Support Files/GuidePageView/GuidePageView.modulemap"; 671 | PRODUCT_MODULE_NAME = GuidePageView; 672 | PRODUCT_NAME = GuidePageView; 673 | SDKROOT = iphoneos; 674 | SKIP_INSTALL = YES; 675 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 676 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 677 | SWIFT_VERSION = 4.2; 678 | TARGETED_DEVICE_FAMILY = "1,2"; 679 | VALIDATE_PRODUCT = YES; 680 | VERSIONING_SYSTEM = "apple-generic"; 681 | VERSION_INFO_PREFIX = ""; 682 | }; 683 | name = Release; 684 | }; 685 | F4568DEE257655D290C2B9CEAB37C934 /* Release */ = { 686 | isa = XCBuildConfiguration; 687 | buildSettings = { 688 | ALWAYS_SEARCH_USER_PATHS = NO; 689 | CLANG_ANALYZER_NONNULL = YES; 690 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 691 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 692 | CLANG_CXX_LIBRARY = "libc++"; 693 | CLANG_ENABLE_MODULES = YES; 694 | CLANG_ENABLE_OBJC_ARC = YES; 695 | CLANG_ENABLE_OBJC_WEAK = YES; 696 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 697 | CLANG_WARN_BOOL_CONVERSION = YES; 698 | CLANG_WARN_COMMA = YES; 699 | CLANG_WARN_CONSTANT_CONVERSION = YES; 700 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 701 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 702 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 703 | CLANG_WARN_EMPTY_BODY = YES; 704 | CLANG_WARN_ENUM_CONVERSION = YES; 705 | CLANG_WARN_INFINITE_RECURSION = YES; 706 | CLANG_WARN_INT_CONVERSION = YES; 707 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 708 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 709 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 710 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 711 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 712 | CLANG_WARN_STRICT_PROTOTYPES = YES; 713 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 714 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 715 | CLANG_WARN_UNREACHABLE_CODE = YES; 716 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 717 | CODE_SIGNING_ALLOWED = NO; 718 | CODE_SIGNING_REQUIRED = NO; 719 | COPY_PHASE_STRIP = NO; 720 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 721 | ENABLE_NS_ASSERTIONS = NO; 722 | ENABLE_STRICT_OBJC_MSGSEND = YES; 723 | GCC_C_LANGUAGE_STANDARD = gnu11; 724 | GCC_NO_COMMON_BLOCKS = YES; 725 | GCC_PREPROCESSOR_DEFINITIONS = ( 726 | "POD_CONFIGURATION_RELEASE=1", 727 | "$(inherited)", 728 | ); 729 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 730 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 731 | GCC_WARN_UNDECLARED_SELECTOR = YES; 732 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 733 | GCC_WARN_UNUSED_FUNCTION = YES; 734 | GCC_WARN_UNUSED_VARIABLE = YES; 735 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 736 | MTL_ENABLE_DEBUG_INFO = NO; 737 | PRODUCT_NAME = "$(TARGET_NAME)"; 738 | STRIP_INSTALLED_PRODUCT = NO; 739 | SYMROOT = "${SRCROOT}/../build"; 740 | }; 741 | name = Release; 742 | }; 743 | /* End XCBuildConfiguration section */ 744 | 745 | /* Begin XCConfigurationList section */ 746 | 0C43E21C3A0CC6CE01627437208AB281 /* Build configuration list for PBXNativeTarget "GuidePageView" */ = { 747 | isa = XCConfigurationList; 748 | buildConfigurations = ( 749 | 0A814434867E6B7A4CC9EC3AF296A38F /* Debug */, 750 | 8EB44977D2A32EE9BCACDDE0AD073521 /* Release */, 751 | ); 752 | defaultConfigurationIsVisible = 0; 753 | defaultConfigurationName = Release; 754 | }; 755 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 756 | isa = XCConfigurationList; 757 | buildConfigurations = ( 758 | 1EE19F5DD95931924296F637BF18BD8F /* Debug */, 759 | F4568DEE257655D290C2B9CEAB37C934 /* Release */, 760 | ); 761 | defaultConfigurationIsVisible = 0; 762 | defaultConfigurationName = Release; 763 | }; 764 | 40AB97F4822D068C1BE781B12452FA4A /* Build configuration list for PBXNativeTarget "Pods-GuidePageView_Example" */ = { 765 | isa = XCConfigurationList; 766 | buildConfigurations = ( 767 | 711F52F6967098635D2292FC717983C3 /* Debug */, 768 | 3E05FC66B7AABC2CFF20D7795493BA1C /* Release */, 769 | ); 770 | defaultConfigurationIsVisible = 0; 771 | defaultConfigurationName = Release; 772 | }; 773 | 55A45837BC92FF44F5748DA341827767 /* Build configuration list for PBXNativeTarget "Pods-GuidePageView_Tests" */ = { 774 | isa = XCConfigurationList; 775 | buildConfigurations = ( 776 | 29B428B88433C38DCCF40F0922216FFF /* Debug */, 777 | 7B2C30DD507BD9DA2B45BA55D8F713B3 /* Release */, 778 | ); 779 | defaultConfigurationIsVisible = 0; 780 | defaultConfigurationName = Release; 781 | }; 782 | /* End XCConfigurationList section */ 783 | }; 784 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 785 | } 786 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/GuidePageView/GuidePageView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_GuidePageView : NSObject 3 | @end 4 | @implementation PodsDummy_GuidePageView 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/GuidePageView/GuidePageView-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/GuidePageView/GuidePageView-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 GuidePageViewVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char GuidePageViewVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/GuidePageView/GuidePageView.modulemap: -------------------------------------------------------------------------------- 1 | framework module GuidePageView { 2 | umbrella header "GuidePageView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/GuidePageView/GuidePageView.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/GuidePageView 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_LDFLAGS = -framework "Foundation" -framework "UIKit" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | SWIFT_VERSION = 4.2 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/GuidePageView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-GuidePageView_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-GuidePageView_Example/Pods-GuidePageView_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## GuidePageView 5 | 6 | MIT License 7 | 8 | Copyright (c) 2018 Bruce Li 9 | 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | 17 | The above copyright notice and this permission notice shall be included in all 18 | copies or substantial portions of the Software. 19 | 20 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 23 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 25 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 26 | SOFTWARE. 27 | 28 | Generated by CocoaPods - https://cocoapods.org 29 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-GuidePageView_Example/Pods-GuidePageView_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | MIT License 18 | 19 | Copyright (c) 2018 Bruce Li 20 | 21 | Permission is hereby granted, free of charge, to any person obtaining a copy 22 | of this software and associated documentation files (the "Software"), to deal 23 | in the Software without restriction, including without limitation the rights 24 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 25 | copies of the Software, and to permit persons to whom the Software is 26 | furnished to do so, subject to the following conditions: 27 | 28 | The above copyright notice and this permission notice shall be included in all 29 | copies or substantial portions of the Software. 30 | 31 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 32 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 33 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 34 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 35 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 36 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 37 | SOFTWARE. 38 | 39 | License 40 | MIT 41 | Title 42 | GuidePageView 43 | Type 44 | PSGroupSpecifier 45 | 46 | 47 | FooterText 48 | Generated by CocoaPods - https://cocoapods.org 49 | Title 50 | 51 | Type 52 | PSGroupSpecifier 53 | 54 | 55 | StringsTable 56 | Acknowledgements 57 | Title 58 | Acknowledgements 59 | 60 | 61 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-GuidePageView_Example/Pods-GuidePageView_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_GuidePageView_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_GuidePageView_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-GuidePageView_Example/Pods-GuidePageView_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 | if ! [ -r "$binary" ]; then 51 | binary="${destination}/${basename}" 52 | fi 53 | 54 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 55 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 56 | strip_invalid_archs "$binary" 57 | fi 58 | 59 | # Resign the code if required by the build settings to avoid unstable apps 60 | code_sign_if_enabled "${destination}/$(basename "$1")" 61 | 62 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 63 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 64 | local swift_runtime_libs 65 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 66 | for lib in $swift_runtime_libs; do 67 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 68 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 69 | code_sign_if_enabled "${destination}/${lib}" 70 | done 71 | fi 72 | } 73 | 74 | # Copies and strips a vendored dSYM 75 | install_dsym() { 76 | local source="$1" 77 | if [ -r "$source" ]; then 78 | # Copy the dSYM into a the targets temp dir. 79 | 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}\"" 80 | 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}" 81 | 82 | local basename 83 | basename="$(basename -s .framework.dSYM "$source")" 84 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 85 | 86 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 87 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 88 | strip_invalid_archs "$binary" 89 | fi 90 | 91 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 92 | # Move the stripped file into its final destination. 93 | 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}\"" 94 | 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}" 95 | else 96 | # 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. 97 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 98 | fi 99 | fi 100 | } 101 | 102 | # Signs a framework with the provided identity 103 | code_sign_if_enabled() { 104 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 105 | # Use the current code_sign_identitiy 106 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 107 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 108 | 109 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 110 | code_sign_cmd="$code_sign_cmd &" 111 | fi 112 | echo "$code_sign_cmd" 113 | eval "$code_sign_cmd" 114 | fi 115 | } 116 | 117 | # Strip invalid architectures 118 | strip_invalid_archs() { 119 | binary="$1" 120 | # Get architectures for current target binary 121 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 122 | # Intersect them with the architectures we are building for 123 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 124 | # If there are no archs supported by this binary then warn the user 125 | if [[ -z "$intersected_archs" ]]; then 126 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 127 | STRIP_BINARY_RETVAL=0 128 | return 129 | fi 130 | stripped="" 131 | for arch in $binary_archs; do 132 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 133 | # Strip non-valid architectures in-place 134 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 135 | stripped="$stripped $arch" 136 | fi 137 | done 138 | if [[ "$stripped" ]]; then 139 | echo "Stripped $binary of architectures:$stripped" 140 | fi 141 | STRIP_BINARY_RETVAL=1 142 | } 143 | 144 | 145 | if [[ "$CONFIGURATION" == "Debug" ]]; then 146 | install_framework "${BUILT_PRODUCTS_DIR}/GuidePageView/GuidePageView.framework" 147 | fi 148 | if [[ "$CONFIGURATION" == "Release" ]]; then 149 | install_framework "${BUILT_PRODUCTS_DIR}/GuidePageView/GuidePageView.framework" 150 | fi 151 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 152 | wait 153 | fi 154 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-GuidePageView_Example/Pods-GuidePageView_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then 7 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # resources to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 13 | 14 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 15 | > "$RESOURCES_TO_COPY" 16 | 17 | XCASSET_FILES=() 18 | 19 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 20 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 21 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 22 | 23 | case "${TARGETED_DEVICE_FAMILY:-}" in 24 | 1,2) 25 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 26 | ;; 27 | 1) 28 | TARGET_DEVICE_ARGS="--target-device iphone" 29 | ;; 30 | 2) 31 | TARGET_DEVICE_ARGS="--target-device ipad" 32 | ;; 33 | 3) 34 | TARGET_DEVICE_ARGS="--target-device tv" 35 | ;; 36 | 4) 37 | TARGET_DEVICE_ARGS="--target-device watch" 38 | ;; 39 | *) 40 | TARGET_DEVICE_ARGS="--target-device mac" 41 | ;; 42 | esac 43 | 44 | install_resource() 45 | { 46 | if [[ "$1" = /* ]] ; then 47 | RESOURCE_PATH="$1" 48 | else 49 | RESOURCE_PATH="${PODS_ROOT}/$1" 50 | fi 51 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 52 | cat << EOM 53 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 54 | EOM 55 | exit 1 56 | fi 57 | case $RESOURCE_PATH in 58 | *.storyboard) 59 | 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 60 | 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} 61 | ;; 62 | *.xib) 63 | 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 64 | 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} 65 | ;; 66 | *.framework) 67 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 68 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 69 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 70 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 71 | ;; 72 | *.xcdatamodel) 73 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 74 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 75 | ;; 76 | *.xcdatamodeld) 77 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 78 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 79 | ;; 80 | *.xcmappingmodel) 81 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 82 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 83 | ;; 84 | *.xcassets) 85 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 86 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 87 | ;; 88 | *) 89 | echo "$RESOURCE_PATH" || true 90 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 91 | ;; 92 | esac 93 | } 94 | 95 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 96 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 97 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 98 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 100 | fi 101 | rm -f "$RESOURCES_TO_COPY" 102 | 103 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] 104 | then 105 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 106 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 107 | while read line; do 108 | if [[ $line != "${PODS_ROOT}*" ]]; then 109 | XCASSET_FILES+=("$line") 110 | fi 111 | done <<<"$OTHER_XCASSETS" 112 | 113 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then 114 | 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}" 115 | else 116 | 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}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" 117 | fi 118 | fi 119 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-GuidePageView_Example/Pods-GuidePageView_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_GuidePageView_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_GuidePageView_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-GuidePageView_Example/Pods-GuidePageView_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/GuidePageView" 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}/GuidePageView/GuidePageView.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "GuidePageView" 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-GuidePageView_Example/Pods-GuidePageView_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_GuidePageView_Example { 2 | umbrella header "Pods-GuidePageView_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-GuidePageView_Example/Pods-GuidePageView_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/GuidePageView" 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}/GuidePageView/GuidePageView.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "GuidePageView" 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-GuidePageView_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-GuidePageView_Tests/Pods-GuidePageView_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-GuidePageView_Tests/Pods-GuidePageView_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-GuidePageView_Tests/Pods-GuidePageView_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_GuidePageView_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_GuidePageView_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-GuidePageView_Tests/Pods-GuidePageView_Tests-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 | if ! [ -r "$binary" ]; then 51 | binary="${destination}/${basename}" 52 | fi 53 | 54 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 55 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 56 | strip_invalid_archs "$binary" 57 | fi 58 | 59 | # Resign the code if required by the build settings to avoid unstable apps 60 | code_sign_if_enabled "${destination}/$(basename "$1")" 61 | 62 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 63 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 64 | local swift_runtime_libs 65 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 66 | for lib in $swift_runtime_libs; do 67 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 68 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 69 | code_sign_if_enabled "${destination}/${lib}" 70 | done 71 | fi 72 | } 73 | 74 | # Copies and strips a vendored dSYM 75 | install_dsym() { 76 | local source="$1" 77 | if [ -r "$source" ]; then 78 | # Copy the dSYM into a the targets temp dir. 79 | 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}\"" 80 | 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}" 81 | 82 | local basename 83 | basename="$(basename -s .framework.dSYM "$source")" 84 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 85 | 86 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 87 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 88 | strip_invalid_archs "$binary" 89 | fi 90 | 91 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 92 | # Move the stripped file into its final destination. 93 | 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}\"" 94 | 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}" 95 | else 96 | # 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. 97 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 98 | fi 99 | fi 100 | } 101 | 102 | # Signs a framework with the provided identity 103 | code_sign_if_enabled() { 104 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 105 | # Use the current code_sign_identitiy 106 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 107 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 108 | 109 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 110 | code_sign_cmd="$code_sign_cmd &" 111 | fi 112 | echo "$code_sign_cmd" 113 | eval "$code_sign_cmd" 114 | fi 115 | } 116 | 117 | # Strip invalid architectures 118 | strip_invalid_archs() { 119 | binary="$1" 120 | # Get architectures for current target binary 121 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 122 | # Intersect them with the architectures we are building for 123 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 124 | # If there are no archs supported by this binary then warn the user 125 | if [[ -z "$intersected_archs" ]]; then 126 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 127 | STRIP_BINARY_RETVAL=0 128 | return 129 | fi 130 | stripped="" 131 | for arch in $binary_archs; do 132 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 133 | # Strip non-valid architectures in-place 134 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 135 | stripped="$stripped $arch" 136 | fi 137 | done 138 | if [[ "$stripped" ]]; then 139 | echo "Stripped $binary of architectures:$stripped" 140 | fi 141 | STRIP_BINARY_RETVAL=1 142 | } 143 | 144 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 145 | wait 146 | fi 147 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-GuidePageView_Tests/Pods-GuidePageView_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then 7 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # resources to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 13 | 14 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 15 | > "$RESOURCES_TO_COPY" 16 | 17 | XCASSET_FILES=() 18 | 19 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 20 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 21 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 22 | 23 | case "${TARGETED_DEVICE_FAMILY:-}" in 24 | 1,2) 25 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 26 | ;; 27 | 1) 28 | TARGET_DEVICE_ARGS="--target-device iphone" 29 | ;; 30 | 2) 31 | TARGET_DEVICE_ARGS="--target-device ipad" 32 | ;; 33 | 3) 34 | TARGET_DEVICE_ARGS="--target-device tv" 35 | ;; 36 | 4) 37 | TARGET_DEVICE_ARGS="--target-device watch" 38 | ;; 39 | *) 40 | TARGET_DEVICE_ARGS="--target-device mac" 41 | ;; 42 | esac 43 | 44 | install_resource() 45 | { 46 | if [[ "$1" = /* ]] ; then 47 | RESOURCE_PATH="$1" 48 | else 49 | RESOURCE_PATH="${PODS_ROOT}/$1" 50 | fi 51 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 52 | cat << EOM 53 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 54 | EOM 55 | exit 1 56 | fi 57 | case $RESOURCE_PATH in 58 | *.storyboard) 59 | 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 60 | 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} 61 | ;; 62 | *.xib) 63 | 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 64 | 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} 65 | ;; 66 | *.framework) 67 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 68 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 69 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 70 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 71 | ;; 72 | *.xcdatamodel) 73 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 74 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 75 | ;; 76 | *.xcdatamodeld) 77 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 78 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 79 | ;; 80 | *.xcmappingmodel) 81 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 82 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 83 | ;; 84 | *.xcassets) 85 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 86 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 87 | ;; 88 | *) 89 | echo "$RESOURCE_PATH" || true 90 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 91 | ;; 92 | esac 93 | } 94 | 95 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 96 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 97 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 98 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 100 | fi 101 | rm -f "$RESOURCES_TO_COPY" 102 | 103 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] 104 | then 105 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 106 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 107 | while read line; do 108 | if [[ $line != "${PODS_ROOT}*" ]]; then 109 | XCASSET_FILES+=("$line") 110 | fi 111 | done <<<"$OTHER_XCASSETS" 112 | 113 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then 114 | 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}" 115 | else 116 | 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}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" 117 | fi 118 | fi 119 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-GuidePageView_Tests/Pods-GuidePageView_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_GuidePageView_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_GuidePageView_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-GuidePageView_Tests/Pods-GuidePageView_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/GuidePageView" 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}/GuidePageView/GuidePageView.framework/Headers" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-GuidePageView_Tests/Pods-GuidePageView_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_GuidePageView_Tests { 2 | umbrella header "Pods-GuidePageView_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-GuidePageView_Tests/Pods-GuidePageView_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/GuidePageView" 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}/GuidePageView/GuidePageView.framework/Headers" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/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 GuidePageView 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 | -------------------------------------------------------------------------------- /GuidePageView.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'GuidePageView' 3 | s.version = '1.2.0' 4 | 5 | s.summary = 'App启动引导页,支持播放gif/png/jpg等类型的资源数组。' 6 | s.homepage = 'https://github.com/SilongLi/GuidePageView.git' 7 | s.license = { :type => 'MIT', :file => 'LICENSE' } 8 | s.author = { 'lisilong' => 'lisilong@tuandai.com' } 9 | s.source = { :git => 'https://github.com/SilongLi/GuidePageView.git', :tag => s.version.to_s } 10 | s.source_files = 'GuidePageView/Classes/**/*' 11 | s.resources = "GuidePageView/GuideImage.bundle" 12 | 13 | s.description = <<-DESC 14 | App启动引导页,支持播放gif/png/jpg等类型的资源数组,及手动滑入主题。(建议引导页的图片都不要放在Assets文件中,因为使用imageName方法加载时,系统会缓存图片,造成内存暴增) 15 | DESC 16 | 17 | s.ios.deployment_target = '8.0' 18 | s.requires_arc = true 19 | s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.2' } 20 | s.frameworks = 'Foundation', 'UIKit' 21 | end 22 | -------------------------------------------------------------------------------- /GuidePageView/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilongLi/GuidePageView/db1e27d7dea7856e878a6320d7330593da91e84f/GuidePageView/Assets/.gitkeep -------------------------------------------------------------------------------- /GuidePageView/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SilongLi/GuidePageView/db1e27d7dea7856e878a6320d7330593da91e84f/GuidePageView/Classes/.gitkeep -------------------------------------------------------------------------------- /GuidePageView/Classes/GifImageOperation.swift: -------------------------------------------------------------------------------- 1 | // 2 | // GifImageOperation.swift 3 | // TDGuidePageView 4 | // 5 | // Created by lisilong on 2018/1/4. 6 | // Copyright © 2018年 tuandai. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | public enum DataType: String { 12 | case gif = "gif" 13 | case png = "png" 14 | case jpeg = "jpeg" 15 | case tiff = "tiff" 16 | case defaultType 17 | } 18 | 19 | public class GifImageOperation: UIView { 20 | private var gifTimer: DispatchSourceTimer? // GIF播放定时器 21 | 22 | /// 播放gif图片 23 | /// 24 | /// - Parameters: 25 | /// - frame: 显示大小 26 | /// - gifData: gif数据 27 | public convenience init(frame: CGRect = UIScreen.main.bounds, gifData: Data) { 28 | self.init(frame: frame) 29 | 30 | let gifProperties = NSDictionary.init(object: NSDictionary.init(object: NSNumber.init(value: 0), 31 | forKey: kCGImagePropertyGIFLoopCount as! NSCopying), 32 | forKey: kCGImagePropertyGIFDictionary as! NSCopying) 33 | guard let gifDataSource = CGImageSourceCreateWithData(gifData as CFData, gifProperties) else { 34 | return 35 | } 36 | // gif 总帧数 37 | let gifImagesCount = CGImageSourceGetCount(gifDataSource) 38 | // gif 图片组 39 | var images = [UIImage]() 40 | // gif 播放时长 41 | var gifDuration = 0.0 42 | for i in 0 ..< gifImagesCount { 43 | guard let imageRef = CGImageSourceCreateImageAtIndex(gifDataSource, i, gifProperties) else { 44 | return 45 | } 46 | if gifImagesCount == 1 { // 单帧 47 | gifDuration = Double.infinity 48 | } else { // 获取到 gif每帧时间间隔 49 | guard let properties = CGImageSourceCopyPropertiesAtIndex(gifDataSource, i, nil), 50 | let gifInfo = (properties as NSDictionary)[kCGImagePropertyGIFDictionary as String] as? NSDictionary, 51 | let frameDuration = (gifInfo[kCGImagePropertyGIFDelayTime as String] as? NSNumber) else { 52 | return 53 | } 54 | gifDuration += frameDuration.doubleValue 55 | let image = UIImage.init(cgImage: imageRef, scale: UIScreen.main.scale, orientation: UIImage.Orientation.up) 56 | images.append(image) 57 | } 58 | } 59 | 60 | // 根据总时长和总帧数,计算平均播放时长 61 | var repeating = gifDuration / Double(gifImagesCount) 62 | // 规则一: 如果平均时长超过1.2秒, 按0.1计算 63 | repeating = repeating > 1.2 ? 0.1 : repeating 64 | // 规则二: 如果总帧数超过30并且时长超过0.06,按0.06计算 65 | repeating = (gifImagesCount > 30 && repeating > 0.06) ? 0.06 : repeating 66 | // 规则三: 如果总帧数超过50并且时长超过0.04,按0.04计算 67 | repeating = (gifImagesCount > 50 && repeating > 0.04) ? 0.04 : repeating 68 | gifTimer = DispatchSource.makeTimerSource(flags: [], queue: DispatchQueue.global()) 69 | gifTimer?.schedule(deadline: .now(), repeating: repeating) 70 | var index = 0 71 | gifTimer?.setEventHandler(handler: { [weak self] in 72 | DispatchQueue.main.async { 73 | index = index % gifImagesCount 74 | let imageref: CGImage? = CGImageSourceCreateImageAtIndex(gifDataSource, index, nil) 75 | self?.layer.contents = imageref 76 | index += 1 77 | } 78 | }) 79 | gifTimer?.resume() 80 | } 81 | 82 | // MARK: - actions 83 | 84 | /// 验证资源的格式 85 | /// 86 | /// - Parameter data: 资源 87 | /// - Returns: 返回资源格式(png/gif/jpeg...) 88 | public class func checkDataType(data: Data?) -> DataType { 89 | guard data != nil else { 90 | return .defaultType 91 | } 92 | let c = data![0] 93 | switch (c) { 94 | case 0xFF: 95 | return .jpeg 96 | case 0x89: 97 | return .png 98 | case 0x47: 99 | return .gif 100 | case 0x49, 0x4D: 101 | return .tiff 102 | default: 103 | return .defaultType 104 | } 105 | } 106 | } 107 | -------------------------------------------------------------------------------- /GuidePageView/Classes/GuidePageView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // GuidePageView.swift 3 | // GuidePageView 4 | // 5 | // Created by lisilong on 2018/1/4. 6 | // Copyright © 2018年 tuandai. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | public class GuidePageView: UIView { 12 | 13 | private lazy var guideScrollView: UIScrollView = { 14 | let view = UIScrollView.init() 15 | view.backgroundColor = UIColor.clear 16 | view.bounces = false 17 | view.isPagingEnabled = true 18 | view.showsHorizontalScrollIndicator = false 19 | view.delegate = self 20 | return view 21 | }() 22 | 23 | /// 指示器 24 | public lazy var pageControl: PageControl = { 25 | let size = CGSize(width: 15.0, height: 3.0) 26 | let normalImage = creatImage(color: UIColor(white: 0.0, alpha: 0.1), size: size) 27 | let selectedImage = creatImage(color: UIColor(red: 198.0/255.0, green: 165.0/255.0, blue: 111.0/255.0, alpha: 1.0), size: size) 28 | var pageControl = PageControl() 29 | pageControl.setImage(normalImage, for: .normal) 30 | pageControl.setImage(selectedImage, for: .selected) 31 | pageControl.itemSpacing = 14.0 32 | return pageControl 33 | }() 34 | 35 | /// 跳过按钮 36 | public lazy var skipButton: UIButton = { 37 | let btn = UIButton.init(type: .custom) 38 | btn.backgroundColor = UIColor.init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.4) 39 | btn.layer.cornerRadius = 5.0 40 | btn.layer.masksToBounds = true 41 | btn.setTitle("跳 过", for: .normal) 42 | btn.titleLabel?.font = UIFont.systemFont(ofSize: 12) 43 | btn.setTitleColor(UIColor.white, for: .normal) 44 | btn.titleLabel?.sizeToFit() 45 | btn.addTarget(self, action: #selector(skipBtnClicked), for: .touchUpInside) 46 | return btn 47 | }() 48 | 49 | /// 登录注册按钮 50 | public lazy var logtinButton: UIButton = { 51 | let btn = UIButton.init(type: .custom) 52 | btn.setTitle("注册/登录", for: .normal) 53 | btn.titleLabel?.font = UIFont.systemFont(ofSize: 15) 54 | btn.setTitleColor(UIColor.white, for: .normal) 55 | btn.titleLabel?.sizeToFit() 56 | btn.backgroundColor = UIColor.init(red: 177.0/255.0, green: 126.0/255.0, blue: 71.0/255.0, alpha: 1.0) 57 | btn.addTarget(self, action: #selector(loginBtnClicked), for: .touchUpInside) 58 | return btn 59 | }() 60 | 61 | /// 立即体验按钮 62 | public lazy var startButton: UIButton = { 63 | let btn = UIButton.init(type: .custom) 64 | btn.setTitle("随便看看 >", for: .normal) 65 | btn.titleLabel?.font = UIFont.systemFont(ofSize: 13) 66 | btn.setTitleColor(UIColor.init(red: 177.0/255.0, green: 126.0/255.0, blue: 71.0/255.0, alpha: 1.0), for: .normal) 67 | btn.titleLabel?.sizeToFit() 68 | btn.addTarget(self, action: #selector(startBtnClicked), for: .touchUpInside) 69 | return btn 70 | }() 71 | 72 | /// 是否打开右滑进入主题,default: false 73 | public var isSlipIntoHomeView: Bool = false 74 | 75 | /// 是否隐藏跳过按钮(true 隐藏; false 不隐藏),default: false 76 | private var isHiddenSkipBtn: Bool = false 77 | 78 | /// 是否隐藏立即体验按钮(true 隐藏; false 不隐藏),default: false 79 | private var isHiddenStartBtn: Bool = false 80 | 81 | /// 数据源 82 | private var imageArray: Array? 83 | 84 | var startCompletion: (() -> ())? 85 | var loginCompletion: (() -> ())? 86 | let pageControlHeight: CGFloat = 40.0 87 | let startHeigth: CGFloat = 30.0 88 | let loginHeight: CGFloat = 40.0 89 | /// 是否正在做滑入动作 90 | private var isSliping: Bool = false 91 | 92 | // MARK: - life cycle 93 | private override init(frame: CGRect) { 94 | super.init(frame: frame) 95 | } 96 | 97 | /// App启动引导页 98 | /// 99 | /// - Parameters: 100 | /// - frame: 引导页大小 101 | /// - images: 引导页图片(gif/png/jpeg...)注意:gif图不可放在Assets中,否则加载不出来(建议引导页的图片都不要放在Assets文件中,因为使用imageName加载时,系统会缓存图片,造成内存暴增) 102 | /// - isHiddenSkipBtn: 是否隐藏跳过按钮 103 | /// - isHiddenStartBtn: 是否隐藏立即体验按钮 104 | /// - loginRegistCompletion: 登录/注册回调 105 | /// - startCompletion: 立即体验回调 106 | public convenience init(frame: CGRect = UIScreen.main.bounds, 107 | images: Array, 108 | isHiddenSkipBtn: Bool = false, 109 | isHiddenStartBtn: Bool = false, 110 | loginRegistCompletion: (() -> ())?, 111 | startCompletion: (() -> ())?) { 112 | self.init(frame: frame) 113 | 114 | self.imageArray = images 115 | self.isHiddenSkipBtn = isHiddenSkipBtn 116 | self.isHiddenStartBtn = isHiddenStartBtn 117 | self.startCompletion = startCompletion 118 | self.loginCompletion = loginRegistCompletion 119 | 120 | setupSubviews(frame: frame) 121 | self.backgroundColor = UIColor.clear 122 | } 123 | 124 | required public init?(coder aDecoder: NSCoder) { 125 | fatalError("init(coder:) has not been implemented") 126 | } 127 | 128 | // MARK: - setup 129 | private func setupSubviews(frame: CGRect) { 130 | let size = UIScreen.main.bounds.size 131 | guideScrollView.frame = frame 132 | guideScrollView.contentSize = CGSize.init(width: frame.size.width * CGFloat(imageArray?.count ?? 0) + 50.0, height: frame.size.height) 133 | self.addSubview(guideScrollView) 134 | 135 | skipButton.frame = CGRect.init(x: size.width - 70.0 , y: 40.0, width: 50.0, height: 24.0) 136 | skipButton.isHidden = isHiddenSkipBtn 137 | self.addSubview(skipButton) 138 | 139 | pageControl.frame = CGRect(x: 0.0, y: size.height - pageControlHeight, width: size.width, height: pageControlHeight) 140 | pageControl.numberOfPages = imageArray?.count ?? 0 141 | self.addSubview(pageControl) 142 | 143 | guard imageArray != nil, imageArray?.count ?? 0 > 0 else { return } 144 | for index in 0..<(imageArray?.count ?? 1) { 145 | let name = imageArray![index] 146 | let imageFrame = CGRect.init(x: size.width * CGFloat(index), y: 0.0, width: size.width, height: size.height) 147 | let filePath = Bundle.main.path(forResource: name, ofType: nil) ?? "" 148 | let data: Data? = try? Data.init(contentsOf: URL.init(fileURLWithPath: filePath), options: Data.ReadingOptions.uncached) 149 | var view: UIView 150 | let type = GifImageOperation.checkDataType(data: data) 151 | if type == DataType.gif { // gif 152 | view = GifImageOperation.init(frame: imageFrame, gifData: data!) 153 | } else { // 其它图片 154 | // Warning: 假如说图片是放在Assets中的,使用Bundle的方式加载不到,需要使用init(named:)方法加载。 155 | view = UIImageView.init(frame: imageFrame) 156 | view.contentMode = .scaleAspectFill 157 | view.clipsToBounds = true 158 | (view as! UIImageView).image = (data != nil ? UIImage.init(data: data!) : UIImage.init(named: name)) 159 | } 160 | // 添加“立即体验”按钮和登录/注册按钮 161 | if imageArray?.last == name { 162 | view.isUserInteractionEnabled = true 163 | if !isHiddenStartBtn { 164 | let y = size.height - pageControlHeight - startHeigth 165 | let width = size.width * 0.35 166 | startButton.frame = CGRect.init(x: (size.width - width) * 0.5, y: y, width: width, height: startHeigth) 167 | startButton.alpha = imageArray?.count == 1 ? 1.0 : 0.0 168 | view.addSubview(startButton) 169 | 170 | let w = size.width * 0.6 171 | logtinButton.frame = CGRect.init(x: (size.width - w) * 0.5, y: y - loginHeight - 20, width: w, height: loginHeight) 172 | logtinButton.alpha = imageArray?.count == 1 ? 1.0 : 0.0 173 | view.addSubview(logtinButton) 174 | } 175 | } 176 | guideScrollView.addSubview(view) 177 | } 178 | } 179 | 180 | // MARK: - actions 181 | private func removeGuideViewFromSupview() { 182 | UIView.animate(withDuration: 1.0, delay: 0, options: UIView.AnimationOptions.curveEaseOut, animations: { 183 | self.alpha = 0.0 184 | }) { (_) in 185 | self.removeFromSuperview() 186 | } 187 | } 188 | 189 | /// 点击“跳过”按钮事件,立即退出引导页 190 | @objc private func skipBtnClicked() { 191 | if self.startCompletion != nil { 192 | self.startCompletion!() 193 | } 194 | self.removeGuideViewFromSupview() 195 | } 196 | 197 | /// 点击“立即体验”按钮事件,退出引导页 198 | @objc private func startBtnClicked() { 199 | if self.startCompletion != nil { 200 | self.startCompletion!() 201 | } 202 | self.removeGuideViewFromSupview() 203 | } 204 | 205 | /// 点击登录注册按钮 206 | @objc private func loginBtnClicked() { 207 | if self.loginCompletion != nil { 208 | self.loginCompletion!() 209 | } 210 | DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + 1.5) { 211 | DispatchQueue.main.async { 212 | self.removeGuideViewFromSupview() 213 | } 214 | } 215 | } 216 | 217 | /// 作为 pod 第三方库取图片资源 218 | /// 219 | /// - Parameter name: 图片名 220 | /// - Returns: 图片 221 | private func imageFromBundle(name: String) -> UIImage { 222 | let podBundle = Bundle(for: self.classForCoder) 223 | let bundleURL = podBundle.url(forResource: "GuideImage", withExtension: "bundle") 224 | let bundle = Bundle(url: bundleURL!) 225 | let image = UIImage(named: String(name), in: bundle, compatibleWith: nil) 226 | return image! 227 | } 228 | 229 | /// 根据UIColor创建UIImage 230 | /// 231 | /// - Parameters: 232 | /// - color: 颜色 233 | /// - size: 图片大小 234 | /// - Returns: 图片 235 | private func creatImage(color: UIColor, size: CGSize = CGSize.init(width: 100, height: 100)) -> UIImage { 236 | let size = (size == CGSize.zero ? CGSize(width: 100, height: 100): size) 237 | UIGraphicsBeginImageContext(size) 238 | let context = UIGraphicsGetCurrentContext() 239 | context!.setFillColor(color.cgColor) 240 | context!.fill(CGRect.init(x: 0, y: 0, width: size.width, height: size.height)) 241 | let image = UIGraphicsGetImageFromCurrentImageContext() 242 | UIGraphicsEndImageContext() 243 | return image! 244 | } 245 | } 246 | 247 | // MARK: - 248 | extension GuidePageView: UIScrollViewDelegate { 249 | public func scrollViewDidScroll(_ scrollView: UIScrollView) { 250 | guard isSlipIntoHomeView else { return } 251 | guard isSliping == false else { return } 252 | 253 | let totalWidth = UIScreen.main.bounds.size.width * CGFloat((imageArray?.count ?? 1) - 1) 254 | let offsetX = scrollView.contentOffset.x - totalWidth 255 | if offsetX > 30 { 256 | isSliping = true 257 | UIView.animate(withDuration: 1.0, animations: { 258 | self.guideScrollView.alpha = 0.0 259 | var frame = self.guideScrollView.frame 260 | frame.origin.x = -UIScreen.main.bounds.size.width 261 | self.guideScrollView.frame = frame 262 | }) { (_) in 263 | self.isSliping = false 264 | self.startBtnClicked() 265 | } 266 | } 267 | } 268 | 269 | public func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) { 270 | let page: Int = Int(scrollView.contentOffset.x / scrollView.bounds.size.width) 271 | // 设置指示器 272 | pageControl.currentPage = page 273 | 274 | // 显示“立即体验”按钮 275 | if !isHiddenStartBtn, (imageArray?.count ?? 0) - 1 == page { 276 | UIView.animate(withDuration: 1.0, animations: { 277 | self.startButton.alpha = 1.0 278 | self.logtinButton.alpha = 1.0 279 | }) 280 | } 281 | } 282 | } 283 | 284 | -------------------------------------------------------------------------------- /GuidePageView/Classes/PageControl.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PageControl.swift 3 | // GuidePageView 4 | // 5 | // Created by lisilong on 2018/3/28. 6 | // 7 | 8 | import UIKit 9 | 10 | @IBDesignable 11 | open class PageControl: UIControl { 12 | 13 | /// The number of page indicators of the page control. Default is 0. 14 | @IBInspectable 15 | open var numberOfPages: Int = 0 { 16 | didSet { 17 | self.setNeedsCreateIndicators() 18 | } 19 | } 20 | 21 | /// The current page, highlighted by the page control. Default is 0. 22 | @IBInspectable 23 | open var currentPage: Int = 0 { 24 | didSet { 25 | self.setNeedsUpdateIndicators() 26 | } 27 | } 28 | 29 | /// The spacing to use of page indicators in the page control. 30 | @IBInspectable 31 | open var itemSpacing: CGFloat = 6 { 32 | didSet { 33 | self.setNeedsUpdateIndicators() 34 | } 35 | } 36 | 37 | /// The spacing to use between page indicators in the page control. 38 | @IBInspectable 39 | open var interitemSpacing: CGFloat = 6 { 40 | didSet { 41 | self.setNeedsLayout() 42 | } 43 | } 44 | 45 | /// The distance that the page indicators is inset from the enclosing page control. 46 | /// @IBInspectable 不支持 UIEdgeInsets 类型 47 | open var contentInsets: UIEdgeInsets = UIEdgeInsets(top: 0.0, left: 0.0, bottom: 0.0, right: 0.0) { 48 | didSet { 49 | self.setNeedsLayout() 50 | } 51 | } 52 | 53 | /// The horizontal alignment of content within the control’s bounds. Default is center. 54 | open override var contentHorizontalAlignment: UIControl.ContentHorizontalAlignment { 55 | didSet { 56 | self.setNeedsLayout() 57 | } 58 | } 59 | 60 | internal var strokeColors: [UIControl.State: UIColor] = [:] 61 | internal var fillColors: [UIControl.State: UIColor] = [:] 62 | internal var paths: [UIControl.State: UIBezierPath] = [:] 63 | internal var images: [UIControl.State: UIImage] = [:] 64 | internal var alphas: [UIControl.State: CGFloat] = [:] 65 | internal var transforms: [UIControl.State: CGAffineTransform] = [:] 66 | 67 | fileprivate weak var contentView: UIView! 68 | 69 | fileprivate var needsUpdateIndicators = false 70 | fileprivate var needsCreateIndicators = false 71 | fileprivate var indicatorLayers = [CAShapeLayer]() 72 | 73 | fileprivate var runLoopObserver: CFRunLoopObserver? 74 | fileprivate var runLoopCallback: CFRunLoopObserverCallBack = { 75 | (observer: CFRunLoopObserver?, activity: CFRunLoopActivity, info: UnsafeMutableRawPointer?) -> Void in 76 | guard let info = info else { 77 | return 78 | } 79 | let pageControl = Unmanaged.fromOpaque(info).takeUnretainedValue() 80 | pageControl.createIndicatorsIfNecessary() 81 | pageControl.updateIndicatorsIfNecessary() 82 | } 83 | 84 | public override init(frame: CGRect) { 85 | super.init(frame: frame) 86 | commonInit() 87 | } 88 | 89 | public required init?(coder aDecoder: NSCoder) { 90 | super.init(coder: aDecoder) 91 | commonInit() 92 | } 93 | 94 | deinit { 95 | CFRunLoopRemoveObserver(CFRunLoopGetCurrent(), self.runLoopObserver, .commonModes) 96 | } 97 | 98 | open override func layoutSubviews() { 99 | super.layoutSubviews() 100 | self.contentView.frame = { 101 | let x = self.contentInsets.left 102 | let y = self.contentInsets.top 103 | let width = self.frame.width - self.contentInsets.left - self.contentInsets.right 104 | let height = self.frame.height - self.contentInsets.top - self.contentInsets.bottom 105 | let frame = CGRect(x: x, y: y, width: width, height: height) 106 | return frame 107 | }() 108 | } 109 | 110 | open override func layoutSublayers(of layer: CALayer) { 111 | super.layoutSublayers(of: layer) 112 | 113 | let diameter = self.itemSpacing 114 | let spacing = self.interitemSpacing 115 | var x: CGFloat = { 116 | switch self.contentHorizontalAlignment { 117 | case .left: 118 | return 0 119 | case .center, .fill: 120 | let midX = self.contentView.bounds.midX 121 | let amplitude = CGFloat(self.numberOfPages/2) * diameter + spacing*CGFloat((self.numberOfPages-1)/2) 122 | return midX - amplitude 123 | case .right: 124 | let contentWidth = diameter*CGFloat(self.numberOfPages) + CGFloat(self.numberOfPages-1)*spacing 125 | return contentView.frame.width - contentWidth 126 | case .leading: 127 | return 0 128 | case .trailing: 129 | return 0 130 | } 131 | }() 132 | for (index, value) in self.indicatorLayers.enumerated() { 133 | let state: UIControl.State = (index == self.currentPage) ? .selected : .normal 134 | let image = self.images[state] 135 | let size = image?.size ?? CGSize(width: diameter, height: diameter) 136 | let origin = CGPoint(x: x - (size.width-diameter)*0.5, y: self.contentView.bounds.midY-size.height*0.5) 137 | value.frame = CGRect(origin: origin, size: size) 138 | x += (spacing + diameter) 139 | } 140 | 141 | } 142 | 143 | /// Sets the stroke color for page indicators to use for the specified state. (selected/normal). 144 | /// 145 | /// - Parameters: 146 | /// - strokeColor: The stroke color to use for the specified state. 147 | /// - state: The state that uses the specified stroke color. 148 | @objc(setStrokeColor:forState:) 149 | open func setStrokeColor(_ strokeColor: UIColor?, for state: UIControl.State) { 150 | guard self.strokeColors[state] != strokeColor else { 151 | return 152 | } 153 | self.strokeColors[state] = strokeColor 154 | self.setNeedsUpdateIndicators() 155 | } 156 | 157 | /// Sets the fill color for page indicators to use for the specified state. (selected/normal). 158 | /// 159 | /// - Parameters: 160 | /// - fillColor: The fill color to use for the specified state. 161 | /// - state: The state that uses the specified fill color. 162 | @objc(setFillColor:forState:) 163 | open func setFillColor(_ fillColor: UIColor?, for state: UIControl.State) { 164 | guard self.fillColors[state] != fillColor else { 165 | return 166 | } 167 | self.fillColors[state] = fillColor 168 | self.setNeedsUpdateIndicators() 169 | } 170 | 171 | /// Sets the image for page indicators to use for the specified state. (selected/normal). 172 | /// 173 | /// - Parameters: 174 | /// - image: The image to use for the specified state. 175 | /// - state: The state that uses the specified image. 176 | @objc(setImage:forState:) 177 | open func setImage(_ image: UIImage?, for state: UIControl.State) { 178 | guard self.images[state] != image else { 179 | return 180 | } 181 | self.images[state] = image 182 | self.setNeedsUpdateIndicators() 183 | } 184 | 185 | @objc(setAlpha:forState:) 186 | 187 | /// Sets the alpha value for page indicators to use for the specified state. (selected/normal). 188 | /// 189 | /// - Parameters: 190 | /// - alpha: The alpha value to use for the specified state. 191 | /// - state: The state that uses the specified alpha. 192 | open func setAlpha(_ alpha: CGFloat, for state: UIControl.State) { 193 | guard self.alphas[state] != alpha else { 194 | return 195 | } 196 | self.alphas[state] = alpha 197 | self.setNeedsUpdateIndicators() 198 | } 199 | 200 | /// Sets the path for page indicators to use for the specified state. (selected/normal). 201 | /// 202 | /// - Parameters: 203 | /// - path: The path to use for the specified state. 204 | /// - state: The state that uses the specified path. 205 | @objc(setPath:forState:) 206 | open func setPath(_ path: UIBezierPath?, for state: UIControl.State) { 207 | guard self.paths[state] != path else { 208 | return 209 | } 210 | self.paths[state] = path 211 | self.setNeedsUpdateIndicators() 212 | } 213 | 214 | // MARK: - Private functions 215 | 216 | fileprivate func commonInit() { 217 | 218 | // Content View 219 | let view = UIView(frame: .zero) 220 | view.backgroundColor = UIColor.clear 221 | self.addSubview(view) 222 | self.contentView = view 223 | 224 | // RunLoop 225 | let runLoop = CFRunLoopGetCurrent() 226 | let activities: CFRunLoopActivity = [.entry, .afterWaiting] 227 | var context = CFRunLoopObserverContext(version: 0, info: Unmanaged.passUnretained(self).toOpaque(), retain: nil, release: nil, copyDescription: nil) 228 | self.runLoopObserver = CFRunLoopObserverCreate(nil, activities.rawValue, true, Int.max, self.runLoopCallback, &context) 229 | CFRunLoopAddObserver(runLoop, self.runLoopObserver, .commonModes) 230 | 231 | } 232 | 233 | fileprivate func setNeedsUpdateIndicators() { 234 | self.needsUpdateIndicators = true 235 | self.setNeedsLayout() 236 | } 237 | 238 | fileprivate func updateIndicatorsIfNecessary() { 239 | guard self.needsUpdateIndicators else { 240 | return 241 | } 242 | guard !self.indicatorLayers.isEmpty else { 243 | return 244 | } 245 | self.needsUpdateIndicators = false 246 | self.indicatorLayers.forEach { (layer) in 247 | self.updateIndicatorAttributes(for: layer) 248 | } 249 | } 250 | 251 | fileprivate func updateIndicatorAttributes(for layer: CAShapeLayer) { 252 | let index = self.indicatorLayers.index(of: layer) 253 | let state: UIControl.State = index == self.currentPage ? .selected : .normal 254 | if let image = self.images[state] { 255 | layer.strokeColor = nil 256 | layer.fillColor = nil 257 | layer.path = nil 258 | layer.contents = image.cgImage 259 | } else { 260 | layer.contents = nil 261 | let strokeColor = self.strokeColors[state] 262 | let fillColor = self.fillColors[state] 263 | if strokeColor == nil && fillColor == nil { 264 | layer.fillColor = (state == .selected ? UIColor.white : UIColor.gray).cgColor 265 | layer.strokeColor = nil 266 | } else { 267 | layer.strokeColor = strokeColor?.cgColor 268 | layer.fillColor = fillColor?.cgColor 269 | } 270 | layer.path = self.paths[state]?.cgPath ?? UIBezierPath(ovalIn: CGRect(x: 0, y: 0, width: self.itemSpacing, height: self.itemSpacing)).cgPath 271 | } 272 | if let transform = self.transforms[state] { 273 | layer.transform = CATransform3DMakeAffineTransform(transform) 274 | } 275 | layer.opacity = Float(self.alphas[state] ?? 1.0) 276 | } 277 | 278 | fileprivate func setNeedsCreateIndicators() { 279 | self.needsCreateIndicators = true 280 | } 281 | 282 | fileprivate func createIndicatorsIfNecessary() { 283 | guard self.needsCreateIndicators else { 284 | return 285 | } 286 | self.needsCreateIndicators = false 287 | self.indicatorLayers.forEach { (layer) in 288 | layer.removeFromSuperlayer() 289 | } 290 | self.indicatorLayers.removeAll() 291 | for _ in 0.. Swift 4.2 7 | > 8 | > iOS 8.0 9 | > 10 | > Xcode 10.0 11 | > 12 | 13 | 版本: 14 | - 1.2.0版本 Xcode 10+ Swift 4.2 15 | - 1.1.0版本 Xcode 10+ Swift 4.1~4.2 16 | - 1.0.0版本 Xcode 9+ Swift 4.0 17 | 18 | 19 | ## 最新版本`1.2.0` 20 | **新增右滑进入主题功能** 21 | ```Swift 22 | 23 | /// 是否打开右滑进入主题,default: false 24 | public var isSlipIntoHomeView: Bool = false 25 | ``` 26 | 27 | ## Gif演示: 28 | 29 | ![GuidePageView.gif](http://upload-images.jianshu.io/upload_images/877439-71f9a9a8c30aa7ec.gif?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) 30 | 31 | 32 | ## 可配置接口介绍 33 | 34 | ### 实例化接口及可配置参数 35 | 36 | ```Swift 37 | 38 | /// 是否打开右滑进入主题,default: false 39 | public var isSlipIntoHomeView: Bool = false 40 | 41 | /// 指示器 42 | public lazy var pageControl: PageControl 43 | 44 | /// 跳过按钮 45 | public lazy var skipButton: UIButton { get set } 46 | 47 | /// 立即体验按钮 48 | public lazy var startButton: UIButton { get set } 49 | 50 | /// 登录注册按钮 51 | public lazy var logtinButton: UIButton { get set } 52 | 53 | /// App启动引导页 54 | /// 55 | /// - Parameters: 56 | /// - frame: 引导页大小 57 | /// - images: 引导页图片(gif/png/jpeg...)注意:gif图不可放在Assets中,否则加载不出来(建议引导页的图片都不要放在Assets文件中,因为使用imageName加载时,系统会缓存图片,造成内存暴增) 58 | /// - isHiddenSkipBtn: 是否隐藏跳过按钮 59 | /// - isHiddenStartBtn: 是否隐藏立即体验按钮 60 | /// - loginRegistCompletion: 登录/注册回调 61 | /// - startCompletion: 立即体验回调 62 | public convenience init(frame: CGRect = UIScreen.main.bounds, 63 | images: Array, 64 | isHiddenSkipBtn: Bool = false, 65 | isHiddenStartBtn: Bool = false, 66 | loginRegistCompletion: (() -> ())?, 67 | startCompletion: (() -> ())?) 68 | 69 | ``` 70 | 71 | ## Example 72 | 73 | ### 配置Podfile 74 | 75 | ```Swift 76 | pod 'GuidePageView' 77 | ``` 78 | 79 | ### 执行pod命令,导入组件 80 | 81 | ```Swift 82 | pod install 83 | ``` 84 | ### 案例 85 | 86 | ```Swift 87 | // gif和jpg类型的资源数组 88 | let imageGifArray = ["guideImage1.jpg","guideImage6.gif", "guideImage8.gif", "guideImage2.jpg","guideImage7.gif", "guideImage5.jpg"] 89 | let guideView = GuidePageView.init(images: imageGifArray, loginRegistCompletion: { 90 | print("登录/注册")} 91 | }) { 92 | print("开始使用app") 93 | } 94 | self.view.addSubview(guideView) 95 | ``` 96 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /fastlane/Appfile: -------------------------------------------------------------------------------- 1 | app_identifier "org.cocoapods.demo.CocoPodsTestDemo1" # The bundle identifier of your app 2 | apple_id "876996667@qq.com" # Your Apple email address 3 | 4 | team_id "[[DEV_PORTAL_TEAM_ID]]" # Developer Portal Team ID 5 | 6 | # you can even provide different app identifiers, Apple IDs and team names per lane: 7 | # More information: https://docs.fastlane.tools/advanced/#appfile 8 | -------------------------------------------------------------------------------- /fastlane/Fastfile: -------------------------------------------------------------------------------- 1 | desc '使用ManagerLibs脚本,可以对自己的私有库进行快速的升级维护。' 2 | desc '使用脚本命令组成(ManagerLibs为我的脚本名称),接收四个参数: fastlane ManagerLibs tag:[版本号] message:"[本次升级的日志]" repo:[私有库名称] podspec:[podspec名称]' 3 | desc '案例:fastlane ManagerLibs tag:[1.0.0] message:"封装私有库" repo:BruceLiLibs podspec: fastlaneDemo' 4 | 5 | lane :ManagerLibs do |options| 6 | # ManagerLibs是fastlane脚本名称,options是接收的参数字典集合 7 | 8 | 9 | # 参数列表 10 | 11 | # tag版本号 12 | tagName = options[:tag] 13 | 14 | # message: 提交日志 15 | message = options[:message] 16 | 17 | # repo 私有库存放的库的名称 18 | repoName = options[:repo] 19 | 20 | # 项目的podspec名称 21 | podspecName = options[:podspec] 22 | 23 | 24 | # 1. pod install 25 | 26 | cocoapods( 27 | clean: true, 28 | podfile: "./Example/Podfile" 29 | ) 30 | 31 | # 我习惯先执行本地验证操作,这样有问题了可以先需改完成,这样提交的时候,看到的是同一个commit。 32 | # 本地验证: pod lib lint xxx.podspec --allow-warnings 33 | 34 | pod_lib_lint(allow_warnings: true) 35 | 36 | 37 | # 提交代码命令 38 | # 2. git add . 39 | 40 | git_add(path: ".") 41 | 42 | 43 | # git commit -m "xxx" 44 | 45 | git_commit(path: ".", message: message) 46 | 47 | 48 | # git pull origin master 49 | 50 | git_pull 51 | 52 | 53 | # git push origin master 54 | 55 | push_to_git_remote 56 | 57 | 58 | # 3. 验证标签tag是否存在,如果存在,需要删除本地和远程标签 59 | # 删除本地标签 git tag -d xxx 60 | # 删除远程标签 git push origin :xxx 61 | 62 | if git_tag_exists(tag: tagName) 63 | UI.message("从远程仓库中查找到版本号为:#{tagName} 的版本,即将执行本地和远程删除标签操作。") 64 | remove_tag(tag: tagName) 65 | end 66 | 67 | 68 | # 提交新的标签 69 | # 4. git tag -a xxx 70 | 71 | add_git_tag( 72 | tag: tagName 73 | ) 74 | 75 | 76 | # git push origin --tag 77 | 78 | push_git_tags 79 | 80 | 81 | # 提交私有库信息 82 | # 5. 提交私有库 pod repo push BruceLiLibs xxx.podspec --allow-warnings 83 | 84 | pod_repo_push(repo: repoName, podspec: podspecName) 85 | 86 | end -------------------------------------------------------------------------------- /fastlane/README.md: -------------------------------------------------------------------------------- 1 | fastlane documentation 2 | ================ 3 | # Installation 4 | 5 | Make sure you have the latest version of the Xcode command line tools installed: 6 | 7 | ``` 8 | xcode-select --install 9 | ``` 10 | 11 | ## Choose your installation method: 12 | 13 | | Method | OS support | Description | 14 | |----------------------------|-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------| 15 | | [Homebrew](http://brew.sh) | macOS | `brew cask install fastlane` | 16 | | Installer Script | macOS | [Download the zip file](https://download.fastlane.tools). Then double click on the `install` script (or run it in a terminal window). | 17 | | RubyGems | macOS or Linux with Ruby 2.0.0 or above | `sudo gem install fastlane -NV` | 18 | 19 | # Available Actions 20 | ### ManagerLibs 21 | ``` 22 | fastlane ManagerLibs 23 | ``` 24 | 使用ManagerLibs脚本,可以对自己的私有库进行快速的升级维护。 25 | 26 | 使用脚本命令组成(ManagerLibs为我的脚本名称),接收四个参数: fastlane ManagerLibs tag:[版本号] message:"[本次升级的日志]" repo:[私有库名称] podspec:[podspec名称] 27 | 28 | 案例:fastlane ManagerLibs tag:[1.0.0] message:"封装私有库" repo:BruceLiLibs podspec: fastlaneDemo 29 | 30 | ---- 31 | 32 | This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run. 33 | More information about fastlane can be found on [fastlane.tools](https://fastlane.tools). 34 | The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools). 35 | -------------------------------------------------------------------------------- /fastlane/actions/pod_repo_push.rb: -------------------------------------------------------------------------------- 1 | module Fastlane 2 | module Actions 3 | module SharedValues 4 | POD_REPO_PUSH_CUSTOM_VALUE = :POD_REPO_PUSH_CUSTOM_VALUE 5 | end 6 | 7 | class PodRepoPushAction < Action 8 | def self.run(params) 9 | 10 | # 接收外部参数 11 | repoName = params[:repo] 12 | podspecName = params[:podspec] 13 | 14 | # 1. 先定义一个数组,用来存储所有需要执行的命令 15 | cmds = [] 16 | 17 | # 2. 添加命令 18 | 19 | # pod repo push [repoName] xxx.podspec 20 | cmds << "pod repo push #{repoName} #{podspecName}.podspec --allow-warnings" 21 | 22 | # 3. 执行命令 23 | # 数组中的命令,用“&”做连接符分开, 如: git tag -d "xxx" & git push origin :"xxx" 24 | Actions.sh(cmds.join('&')); 25 | 26 | end 27 | 28 | def self.description 29 | "推送podspec文件到私有的索引库中。" 30 | end 31 | 32 | def self.details 33 | "使用此action,推送podspec文件到私有的索引库中。" 34 | end 35 | 36 | def self.available_options 37 | # 接收的参数类型定义 38 | [ 39 | FastlaneCore::ConfigItem.new(key: :repo, 40 | description: "私有索引库", 41 | is_string: true, 42 | optional:false), 43 | 44 | FastlaneCore::ConfigItem.new(key: :podspec, 45 | description: "podspec文件名", 46 | is_string: true, 47 | optional:false) 48 | ] 49 | end 50 | 51 | def self.output 52 | 53 | end 54 | 55 | def self.return_value 56 | nil 57 | end 58 | 59 | def self.authors 60 | ["lisilong"] 61 | end 62 | 63 | def self.is_supported?(platform) 64 | platform == :ios 65 | end 66 | end 67 | end 68 | end 69 | -------------------------------------------------------------------------------- /fastlane/actions/remove_tag.rb: -------------------------------------------------------------------------------- 1 | module Fastlane 2 | module Actions 3 | module SharedValues 4 | REMOVE_TAG_CUSTOM_VALUE = :REMOVE_TAG_CUSTOM_VALUE 5 | end 6 | 7 | class RemoveTagAction < Action 8 | def self.run(params) 9 | # 接收外部参数 10 | tagName = params[:tag] 11 | isRemoveLocalTag = params[:isRemoveLocal] 12 | isRemoveRemoteTag = params[:isRemoveRemote] 13 | 14 | # 1. 先定义一个数组,用来存储所有需要执行的命令 15 | cmds = [] 16 | 17 | # 2. 添加命令 18 | 19 | # 删除本地标签 git tag -d "xxx" 20 | if isRemoveLocalTag 21 | cmds << "git tag -d #{tagName}" 22 | end 23 | 24 | # 删除远程标签 git push origin :"xxx" 25 | if isRemoveRemoteTag 26 | cmds << "git push origin :#{tagName}" 27 | end 28 | 29 | # 3. 执行命令 30 | # 数组中的命令,用“&”做连接符分开, 如: git tag -d "xxx" & git push origin :"xxx" 31 | Actions.sh(cmds.join('&')); 32 | 33 | end 34 | 35 | def self.description 36 | "删除本地和远程的标签" 37 | end 38 | 39 | def self.details 40 | "使用此action,删除本地和远程的标签。" 41 | end 42 | 43 | def self.available_options 44 | # 接收的参数类型定义 45 | [ 46 | FastlaneCore::ConfigItem.new(key: :tag, 47 | description: "即将被删除的标签名称", 48 | is_string: true, 49 | optional:false), 50 | 51 | FastlaneCore::ConfigItem.new(key: :isRemoveLocal, 52 | description: "是否需要删除本地标签", 53 | is_string: false, 54 | optional: true, 55 | default_value: true), 56 | 57 | FastlaneCore::ConfigItem.new(key: :isRemoveRemote, 58 | description: "是否需要删除远程标签", 59 | is_string: false, 60 | optional: true, 61 | default_value: true) 62 | ] 63 | end 64 | 65 | def self.output 66 | 67 | end 68 | 69 | def self.return_value 70 | nil 71 | end 72 | 73 | def self.authors 74 | ["lisilong"] 75 | end 76 | 77 | def self.is_supported?(platform) 78 | platform == :ios 79 | end 80 | end 81 | end 82 | end 83 | --------------------------------------------------------------------------------