├── .gitignore ├── .swift-version ├── .travis.yml ├── Example ├── FOView.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── FOView-Example.xcscheme ├── FOView.xcworkspace │ └── contents.xcworkspacedata ├── FOView │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ ├── Contents.json │ │ ├── image1.imageset │ │ │ ├── Contents.json │ │ │ └── image1.jpg │ │ ├── image2.imageset │ │ │ ├── Contents.json │ │ │ └── image2.jpg │ │ └── image3.imageset │ │ │ ├── Contents.json │ │ │ └── image3.jpg │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── FOView.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ └── Target Support Files │ │ ├── FOView │ │ ├── FOView-dummy.m │ │ ├── FOView-prefix.pch │ │ ├── FOView-umbrella.h │ │ ├── FOView.modulemap │ │ ├── FOView.xcconfig │ │ └── Info.plist │ │ ├── Pods-FOView_Example │ │ ├── Info.plist │ │ ├── Pods-FOView_Example-acknowledgements.markdown │ │ ├── Pods-FOView_Example-acknowledgements.plist │ │ ├── Pods-FOView_Example-dummy.m │ │ ├── Pods-FOView_Example-frameworks.sh │ │ ├── Pods-FOView_Example-resources.sh │ │ ├── Pods-FOView_Example-umbrella.h │ │ ├── Pods-FOView_Example.debug.xcconfig │ │ ├── Pods-FOView_Example.modulemap │ │ └── Pods-FOView_Example.release.xcconfig │ │ └── Pods-FOView_Tests │ │ ├── Info.plist │ │ ├── Pods-FOView_Tests-acknowledgements.markdown │ │ ├── Pods-FOView_Tests-acknowledgements.plist │ │ ├── Pods-FOView_Tests-dummy.m │ │ ├── Pods-FOView_Tests-frameworks.sh │ │ ├── Pods-FOView_Tests-resources.sh │ │ ├── Pods-FOView_Tests-umbrella.h │ │ ├── Pods-FOView_Tests.debug.xcconfig │ │ ├── Pods-FOView_Tests.modulemap │ │ └── Pods-FOView_Tests.release.xcconfig └── Tests │ ├── Info.plist │ └── Tests.swift ├── FOView.podspec ├── FOView ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── FOAnimation.swift │ ├── FODelegate.swift │ ├── FOEnums.swift │ └── FOView.swift ├── LICENSE ├── README.md └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 26 | # Carthage/Checkouts 27 | 28 | Carthage/Build 29 | 30 | # We recommend against adding the Pods directory to your .gitignore. However 31 | # you should judge for yourself, the pros and cons are mentioned at: 32 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 33 | # 34 | # Note: if you ignore the Pods directory, make sure to uncomment 35 | # `pod install` in .travis.yml 36 | # 37 | # Pods/ 38 | -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 4.0 2 | 4.0 3 | -------------------------------------------------------------------------------- /.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/FOView.xcworkspace -scheme FOView-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/FOView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 11 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 12 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 13 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 14 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 15 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 16 | 88900EC83A9BC83A59DA6CE9 /* Pods_FOView_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0323B19047F16DD3B78A1321 /* Pods_FOView_Tests.framework */; }; 17 | 95ADCCBD4229B764E53E1134 /* Pods_FOView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B95B4CAC2A2DFC17565F2E31 /* Pods_FOView_Example.framework */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 26 | remoteInfo = FOView; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 0323B19047F16DD3B78A1321 /* Pods_FOView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FOView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 32 | 068DC965F2DCA82104A5702C /* Pods-FOView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FOView_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-FOView_Example/Pods-FOView_Example.release.xcconfig"; sourceTree = ""; }; 33 | 1EDADA81CA376132B3BC0E5F /* Pods-FOView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FOView_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-FOView_Example/Pods-FOView_Example.debug.xcconfig"; sourceTree = ""; }; 34 | 36EF58860E141331D7ABCF26 /* FOView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = FOView.podspec; path = ../FOView.podspec; sourceTree = ""; }; 35 | 4BB4D1F06A563D478ED63AB2 /* Pods-FOView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FOView_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-FOView_Tests/Pods-FOView_Tests.release.xcconfig"; sourceTree = ""; }; 36 | 607FACD01AFB9204008FA782 /* FOView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FOView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 37 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 38 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 39 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 40 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 41 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 42 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 43 | 607FACE51AFB9204008FA782 /* FOView_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = FOView_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 46 | 70E0900C0F81F74B298B12F6 /* Pods-FOView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FOView_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-FOView_Tests/Pods-FOView_Tests.debug.xcconfig"; sourceTree = ""; }; 47 | B95B4CAC2A2DFC17565F2E31 /* Pods_FOView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FOView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 48 | EFF6739A3009614976F3BA29 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 49 | FDE94073E171AA69C5FF0923 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | 95ADCCBD4229B764E53E1134 /* Pods_FOView_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | 88900EC83A9BC83A59DA6CE9 /* Pods_FOView_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 607FACC71AFB9204008FA782 = { 73 | isa = PBXGroup; 74 | children = ( 75 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 76 | 607FACD21AFB9204008FA782 /* Example for FOView */, 77 | 607FACE81AFB9204008FA782 /* Tests */, 78 | 607FACD11AFB9204008FA782 /* Products */, 79 | 935028FBF9FBBCE0AAEBC095 /* Pods */, 80 | 6231007BA081657B2A8D301E /* Frameworks */, 81 | ); 82 | sourceTree = ""; 83 | }; 84 | 607FACD11AFB9204008FA782 /* Products */ = { 85 | isa = PBXGroup; 86 | children = ( 87 | 607FACD01AFB9204008FA782 /* FOView_Example.app */, 88 | 607FACE51AFB9204008FA782 /* FOView_Tests.xctest */, 89 | ); 90 | name = Products; 91 | sourceTree = ""; 92 | }; 93 | 607FACD21AFB9204008FA782 /* Example for FOView */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 97 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 98 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 99 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 100 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 101 | 607FACD31AFB9204008FA782 /* Supporting Files */, 102 | ); 103 | name = "Example for FOView"; 104 | path = FOView; 105 | sourceTree = ""; 106 | }; 107 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | 607FACD41AFB9204008FA782 /* Info.plist */, 111 | ); 112 | name = "Supporting Files"; 113 | sourceTree = ""; 114 | }; 115 | 607FACE81AFB9204008FA782 /* Tests */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 119 | 607FACE91AFB9204008FA782 /* Supporting Files */, 120 | ); 121 | path = Tests; 122 | sourceTree = ""; 123 | }; 124 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 607FACEA1AFB9204008FA782 /* Info.plist */, 128 | ); 129 | name = "Supporting Files"; 130 | sourceTree = ""; 131 | }; 132 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | 36EF58860E141331D7ABCF26 /* FOView.podspec */, 136 | FDE94073E171AA69C5FF0923 /* README.md */, 137 | EFF6739A3009614976F3BA29 /* LICENSE */, 138 | ); 139 | name = "Podspec Metadata"; 140 | sourceTree = ""; 141 | }; 142 | 6231007BA081657B2A8D301E /* Frameworks */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | B95B4CAC2A2DFC17565F2E31 /* Pods_FOView_Example.framework */, 146 | 0323B19047F16DD3B78A1321 /* Pods_FOView_Tests.framework */, 147 | ); 148 | name = Frameworks; 149 | sourceTree = ""; 150 | }; 151 | 935028FBF9FBBCE0AAEBC095 /* Pods */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 1EDADA81CA376132B3BC0E5F /* Pods-FOView_Example.debug.xcconfig */, 155 | 068DC965F2DCA82104A5702C /* Pods-FOView_Example.release.xcconfig */, 156 | 70E0900C0F81F74B298B12F6 /* Pods-FOView_Tests.debug.xcconfig */, 157 | 4BB4D1F06A563D478ED63AB2 /* Pods-FOView_Tests.release.xcconfig */, 158 | ); 159 | name = Pods; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* FOView_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "FOView_Example" */; 168 | buildPhases = ( 169 | B2E0AE40F2BE9EAE8A11786E /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | 257781348BDA387D7139677E /* [CP] Embed Pods Frameworks */, 174 | 933B08E0F936046CE6E9B84A /* [CP] Copy Pods Resources */, 175 | ); 176 | buildRules = ( 177 | ); 178 | dependencies = ( 179 | ); 180 | name = FOView_Example; 181 | productName = FOView; 182 | productReference = 607FACD01AFB9204008FA782 /* FOView_Example.app */; 183 | productType = "com.apple.product-type.application"; 184 | }; 185 | 607FACE41AFB9204008FA782 /* FOView_Tests */ = { 186 | isa = PBXNativeTarget; 187 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "FOView_Tests" */; 188 | buildPhases = ( 189 | 570061801F1C3A6FCA4D24CC /* [CP] Check Pods Manifest.lock */, 190 | 607FACE11AFB9204008FA782 /* Sources */, 191 | 607FACE21AFB9204008FA782 /* Frameworks */, 192 | 607FACE31AFB9204008FA782 /* Resources */, 193 | 25B72CC3167119B63258E9DB /* [CP] Embed Pods Frameworks */, 194 | 4EC84E4F0F03FB78F5ED6F58 /* [CP] Copy Pods Resources */, 195 | ); 196 | buildRules = ( 197 | ); 198 | dependencies = ( 199 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 200 | ); 201 | name = FOView_Tests; 202 | productName = Tests; 203 | productReference = 607FACE51AFB9204008FA782 /* FOView_Tests.xctest */; 204 | productType = "com.apple.product-type.bundle.unit-test"; 205 | }; 206 | /* End PBXNativeTarget section */ 207 | 208 | /* Begin PBXProject section */ 209 | 607FACC81AFB9204008FA782 /* Project object */ = { 210 | isa = PBXProject; 211 | attributes = { 212 | LastSwiftUpdateCheck = 0830; 213 | LastUpgradeCheck = 0830; 214 | ORGANIZATIONNAME = CocoaPods; 215 | TargetAttributes = { 216 | 607FACCF1AFB9204008FA782 = { 217 | CreatedOnToolsVersion = 6.3.1; 218 | DevelopmentTeam = K5795Q9X7C; 219 | LastSwiftMigration = 0900; 220 | }; 221 | 607FACE41AFB9204008FA782 = { 222 | CreatedOnToolsVersion = 6.3.1; 223 | DevelopmentTeam = K5795Q9X7C; 224 | LastSwiftMigration = 0900; 225 | TestTargetID = 607FACCF1AFB9204008FA782; 226 | }; 227 | }; 228 | }; 229 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "FOView" */; 230 | compatibilityVersion = "Xcode 3.2"; 231 | developmentRegion = English; 232 | hasScannedForEncodings = 0; 233 | knownRegions = ( 234 | en, 235 | Base, 236 | ); 237 | mainGroup = 607FACC71AFB9204008FA782; 238 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 239 | projectDirPath = ""; 240 | projectRoot = ""; 241 | targets = ( 242 | 607FACCF1AFB9204008FA782 /* FOView_Example */, 243 | 607FACE41AFB9204008FA782 /* FOView_Tests */, 244 | ); 245 | }; 246 | /* End PBXProject section */ 247 | 248 | /* Begin PBXResourcesBuildPhase section */ 249 | 607FACCE1AFB9204008FA782 /* Resources */ = { 250 | isa = PBXResourcesBuildPhase; 251 | buildActionMask = 2147483647; 252 | files = ( 253 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 254 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 255 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 256 | ); 257 | runOnlyForDeploymentPostprocessing = 0; 258 | }; 259 | 607FACE31AFB9204008FA782 /* Resources */ = { 260 | isa = PBXResourcesBuildPhase; 261 | buildActionMask = 2147483647; 262 | files = ( 263 | ); 264 | runOnlyForDeploymentPostprocessing = 0; 265 | }; 266 | /* End PBXResourcesBuildPhase section */ 267 | 268 | /* Begin PBXShellScriptBuildPhase section */ 269 | 257781348BDA387D7139677E /* [CP] Embed Pods Frameworks */ = { 270 | isa = PBXShellScriptBuildPhase; 271 | buildActionMask = 2147483647; 272 | files = ( 273 | ); 274 | inputPaths = ( 275 | "${SRCROOT}/Pods/Target Support Files/Pods-FOView_Example/Pods-FOView_Example-frameworks.sh", 276 | "${BUILT_PRODUCTS_DIR}/FOView/FOView.framework", 277 | ); 278 | name = "[CP] Embed Pods Frameworks"; 279 | outputPaths = ( 280 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FOView.framework", 281 | ); 282 | runOnlyForDeploymentPostprocessing = 0; 283 | shellPath = /bin/sh; 284 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FOView_Example/Pods-FOView_Example-frameworks.sh\"\n"; 285 | showEnvVarsInLog = 0; 286 | }; 287 | 25B72CC3167119B63258E9DB /* [CP] Embed Pods Frameworks */ = { 288 | isa = PBXShellScriptBuildPhase; 289 | buildActionMask = 2147483647; 290 | files = ( 291 | ); 292 | inputPaths = ( 293 | ); 294 | name = "[CP] Embed Pods Frameworks"; 295 | outputPaths = ( 296 | ); 297 | runOnlyForDeploymentPostprocessing = 0; 298 | shellPath = /bin/sh; 299 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FOView_Tests/Pods-FOView_Tests-frameworks.sh\"\n"; 300 | showEnvVarsInLog = 0; 301 | }; 302 | 4EC84E4F0F03FB78F5ED6F58 /* [CP] Copy Pods Resources */ = { 303 | isa = PBXShellScriptBuildPhase; 304 | buildActionMask = 2147483647; 305 | files = ( 306 | ); 307 | inputPaths = ( 308 | ); 309 | name = "[CP] Copy Pods Resources"; 310 | outputPaths = ( 311 | ); 312 | runOnlyForDeploymentPostprocessing = 0; 313 | shellPath = /bin/sh; 314 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FOView_Tests/Pods-FOView_Tests-resources.sh\"\n"; 315 | showEnvVarsInLog = 0; 316 | }; 317 | 570061801F1C3A6FCA4D24CC /* [CP] Check Pods Manifest.lock */ = { 318 | isa = PBXShellScriptBuildPhase; 319 | buildActionMask = 2147483647; 320 | files = ( 321 | ); 322 | inputPaths = ( 323 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 324 | "${PODS_ROOT}/Manifest.lock", 325 | ); 326 | name = "[CP] Check Pods Manifest.lock"; 327 | outputPaths = ( 328 | "$(DERIVED_FILE_DIR)/Pods-FOView_Tests-checkManifestLockResult.txt", 329 | ); 330 | runOnlyForDeploymentPostprocessing = 0; 331 | shellPath = /bin/sh; 332 | 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"; 333 | showEnvVarsInLog = 0; 334 | }; 335 | 933B08E0F936046CE6E9B84A /* [CP] Copy Pods Resources */ = { 336 | isa = PBXShellScriptBuildPhase; 337 | buildActionMask = 2147483647; 338 | files = ( 339 | ); 340 | inputPaths = ( 341 | ); 342 | name = "[CP] Copy Pods Resources"; 343 | outputPaths = ( 344 | ); 345 | runOnlyForDeploymentPostprocessing = 0; 346 | shellPath = /bin/sh; 347 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FOView_Example/Pods-FOView_Example-resources.sh\"\n"; 348 | showEnvVarsInLog = 0; 349 | }; 350 | B2E0AE40F2BE9EAE8A11786E /* [CP] Check Pods Manifest.lock */ = { 351 | isa = PBXShellScriptBuildPhase; 352 | buildActionMask = 2147483647; 353 | files = ( 354 | ); 355 | inputPaths = ( 356 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 357 | "${PODS_ROOT}/Manifest.lock", 358 | ); 359 | name = "[CP] Check Pods Manifest.lock"; 360 | outputPaths = ( 361 | "$(DERIVED_FILE_DIR)/Pods-FOView_Example-checkManifestLockResult.txt", 362 | ); 363 | runOnlyForDeploymentPostprocessing = 0; 364 | shellPath = /bin/sh; 365 | 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"; 366 | showEnvVarsInLog = 0; 367 | }; 368 | /* End PBXShellScriptBuildPhase section */ 369 | 370 | /* Begin PBXSourcesBuildPhase section */ 371 | 607FACCC1AFB9204008FA782 /* Sources */ = { 372 | isa = PBXSourcesBuildPhase; 373 | buildActionMask = 2147483647; 374 | files = ( 375 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 376 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 377 | ); 378 | runOnlyForDeploymentPostprocessing = 0; 379 | }; 380 | 607FACE11AFB9204008FA782 /* Sources */ = { 381 | isa = PBXSourcesBuildPhase; 382 | buildActionMask = 2147483647; 383 | files = ( 384 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 385 | ); 386 | runOnlyForDeploymentPostprocessing = 0; 387 | }; 388 | /* End PBXSourcesBuildPhase section */ 389 | 390 | /* Begin PBXTargetDependency section */ 391 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 392 | isa = PBXTargetDependency; 393 | target = 607FACCF1AFB9204008FA782 /* FOView_Example */; 394 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 395 | }; 396 | /* End PBXTargetDependency section */ 397 | 398 | /* Begin PBXVariantGroup section */ 399 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 400 | isa = PBXVariantGroup; 401 | children = ( 402 | 607FACDA1AFB9204008FA782 /* Base */, 403 | ); 404 | name = Main.storyboard; 405 | sourceTree = ""; 406 | }; 407 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 408 | isa = PBXVariantGroup; 409 | children = ( 410 | 607FACDF1AFB9204008FA782 /* Base */, 411 | ); 412 | name = LaunchScreen.xib; 413 | sourceTree = ""; 414 | }; 415 | /* End PBXVariantGroup section */ 416 | 417 | /* Begin XCBuildConfiguration section */ 418 | 607FACED1AFB9204008FA782 /* Debug */ = { 419 | isa = XCBuildConfiguration; 420 | buildSettings = { 421 | ALWAYS_SEARCH_USER_PATHS = NO; 422 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 423 | CLANG_CXX_LIBRARY = "libc++"; 424 | CLANG_ENABLE_MODULES = YES; 425 | CLANG_ENABLE_OBJC_ARC = YES; 426 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 427 | CLANG_WARN_BOOL_CONVERSION = YES; 428 | CLANG_WARN_COMMA = YES; 429 | CLANG_WARN_CONSTANT_CONVERSION = YES; 430 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 431 | CLANG_WARN_EMPTY_BODY = YES; 432 | CLANG_WARN_ENUM_CONVERSION = YES; 433 | CLANG_WARN_INFINITE_RECURSION = YES; 434 | CLANG_WARN_INT_CONVERSION = YES; 435 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 436 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 437 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 438 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 439 | CLANG_WARN_STRICT_PROTOTYPES = YES; 440 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 441 | CLANG_WARN_UNREACHABLE_CODE = YES; 442 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 443 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 444 | COPY_PHASE_STRIP = NO; 445 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 446 | ENABLE_STRICT_OBJC_MSGSEND = YES; 447 | ENABLE_TESTABILITY = YES; 448 | GCC_C_LANGUAGE_STANDARD = gnu99; 449 | GCC_DYNAMIC_NO_PIC = NO; 450 | GCC_NO_COMMON_BLOCKS = YES; 451 | GCC_OPTIMIZATION_LEVEL = 0; 452 | GCC_PREPROCESSOR_DEFINITIONS = ( 453 | "DEBUG=1", 454 | "$(inherited)", 455 | ); 456 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 457 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 458 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 459 | GCC_WARN_UNDECLARED_SELECTOR = YES; 460 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 461 | GCC_WARN_UNUSED_FUNCTION = YES; 462 | GCC_WARN_UNUSED_VARIABLE = YES; 463 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 464 | MTL_ENABLE_DEBUG_INFO = YES; 465 | ONLY_ACTIVE_ARCH = YES; 466 | SDKROOT = iphoneos; 467 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 468 | }; 469 | name = Debug; 470 | }; 471 | 607FACEE1AFB9204008FA782 /* Release */ = { 472 | isa = XCBuildConfiguration; 473 | buildSettings = { 474 | ALWAYS_SEARCH_USER_PATHS = NO; 475 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 476 | CLANG_CXX_LIBRARY = "libc++"; 477 | CLANG_ENABLE_MODULES = YES; 478 | CLANG_ENABLE_OBJC_ARC = YES; 479 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 480 | CLANG_WARN_BOOL_CONVERSION = YES; 481 | CLANG_WARN_COMMA = YES; 482 | CLANG_WARN_CONSTANT_CONVERSION = YES; 483 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 484 | CLANG_WARN_EMPTY_BODY = YES; 485 | CLANG_WARN_ENUM_CONVERSION = YES; 486 | CLANG_WARN_INFINITE_RECURSION = YES; 487 | CLANG_WARN_INT_CONVERSION = YES; 488 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 489 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 490 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 491 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 492 | CLANG_WARN_STRICT_PROTOTYPES = YES; 493 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 494 | CLANG_WARN_UNREACHABLE_CODE = YES; 495 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 496 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 497 | COPY_PHASE_STRIP = NO; 498 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 499 | ENABLE_NS_ASSERTIONS = NO; 500 | ENABLE_STRICT_OBJC_MSGSEND = YES; 501 | GCC_C_LANGUAGE_STANDARD = gnu99; 502 | GCC_NO_COMMON_BLOCKS = YES; 503 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 504 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 505 | GCC_WARN_UNDECLARED_SELECTOR = YES; 506 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 507 | GCC_WARN_UNUSED_FUNCTION = YES; 508 | GCC_WARN_UNUSED_VARIABLE = YES; 509 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 510 | MTL_ENABLE_DEBUG_INFO = NO; 511 | SDKROOT = iphoneos; 512 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 513 | VALIDATE_PRODUCT = YES; 514 | }; 515 | name = Release; 516 | }; 517 | 607FACF01AFB9204008FA782 /* Debug */ = { 518 | isa = XCBuildConfiguration; 519 | baseConfigurationReference = 1EDADA81CA376132B3BC0E5F /* Pods-FOView_Example.debug.xcconfig */; 520 | buildSettings = { 521 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 522 | DEVELOPMENT_TEAM = K5795Q9X7C; 523 | INFOPLIST_FILE = FOView/Info.plist; 524 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 525 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 526 | MODULE_NAME = ExampleApp; 527 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 528 | PRODUCT_NAME = "$(TARGET_NAME)"; 529 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 530 | SWIFT_VERSION = 4.0; 531 | }; 532 | name = Debug; 533 | }; 534 | 607FACF11AFB9204008FA782 /* Release */ = { 535 | isa = XCBuildConfiguration; 536 | baseConfigurationReference = 068DC965F2DCA82104A5702C /* Pods-FOView_Example.release.xcconfig */; 537 | buildSettings = { 538 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 539 | DEVELOPMENT_TEAM = K5795Q9X7C; 540 | INFOPLIST_FILE = FOView/Info.plist; 541 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 542 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 543 | MODULE_NAME = ExampleApp; 544 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 545 | PRODUCT_NAME = "$(TARGET_NAME)"; 546 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 547 | SWIFT_VERSION = 4.0; 548 | }; 549 | name = Release; 550 | }; 551 | 607FACF31AFB9204008FA782 /* Debug */ = { 552 | isa = XCBuildConfiguration; 553 | baseConfigurationReference = 70E0900C0F81F74B298B12F6 /* Pods-FOView_Tests.debug.xcconfig */; 554 | buildSettings = { 555 | DEVELOPMENT_TEAM = K5795Q9X7C; 556 | FRAMEWORK_SEARCH_PATHS = ( 557 | "$(SDKROOT)/Developer/Library/Frameworks", 558 | "$(inherited)", 559 | ); 560 | GCC_PREPROCESSOR_DEFINITIONS = ( 561 | "DEBUG=1", 562 | "$(inherited)", 563 | ); 564 | INFOPLIST_FILE = Tests/Info.plist; 565 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 566 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 567 | PRODUCT_NAME = "$(TARGET_NAME)"; 568 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 569 | SWIFT_VERSION = 4.0; 570 | }; 571 | name = Debug; 572 | }; 573 | 607FACF41AFB9204008FA782 /* Release */ = { 574 | isa = XCBuildConfiguration; 575 | baseConfigurationReference = 4BB4D1F06A563D478ED63AB2 /* Pods-FOView_Tests.release.xcconfig */; 576 | buildSettings = { 577 | DEVELOPMENT_TEAM = K5795Q9X7C; 578 | FRAMEWORK_SEARCH_PATHS = ( 579 | "$(SDKROOT)/Developer/Library/Frameworks", 580 | "$(inherited)", 581 | ); 582 | INFOPLIST_FILE = Tests/Info.plist; 583 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 584 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 585 | PRODUCT_NAME = "$(TARGET_NAME)"; 586 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 587 | SWIFT_VERSION = 4.0; 588 | }; 589 | name = Release; 590 | }; 591 | /* End XCBuildConfiguration section */ 592 | 593 | /* Begin XCConfigurationList section */ 594 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "FOView" */ = { 595 | isa = XCConfigurationList; 596 | buildConfigurations = ( 597 | 607FACED1AFB9204008FA782 /* Debug */, 598 | 607FACEE1AFB9204008FA782 /* Release */, 599 | ); 600 | defaultConfigurationIsVisible = 0; 601 | defaultConfigurationName = Release; 602 | }; 603 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "FOView_Example" */ = { 604 | isa = XCConfigurationList; 605 | buildConfigurations = ( 606 | 607FACF01AFB9204008FA782 /* Debug */, 607 | 607FACF11AFB9204008FA782 /* Release */, 608 | ); 609 | defaultConfigurationIsVisible = 0; 610 | defaultConfigurationName = Release; 611 | }; 612 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "FOView_Tests" */ = { 613 | isa = XCConfigurationList; 614 | buildConfigurations = ( 615 | 607FACF31AFB9204008FA782 /* Debug */, 616 | 607FACF41AFB9204008FA782 /* Release */, 617 | ); 618 | defaultConfigurationIsVisible = 0; 619 | defaultConfigurationName = Release; 620 | }; 621 | /* End XCConfigurationList section */ 622 | }; 623 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 624 | } 625 | -------------------------------------------------------------------------------- /Example/FOView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/FOView.xcodeproj/xcshareddata/xcschemes/FOView-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/FOView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/FOView/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // FOView 4 | // 5 | // Created by baran.karaoguz@ogr.sakarya.edu.tr on 04/04/2018. 6 | // Copyright (c) 2018 baran.karaoguz@ogr.sakarya.edu.tr. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/FOView/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/FOView/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Example/FOView/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/FOView/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/FOView/Images.xcassets/image1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "image1.jpg", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/FOView/Images.xcassets/image1.imageset/image1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barankaraoguzzz/FastOnBoarding/740b661340cb00a3c1dfdf957570b91fda7bcddc/Example/FOView/Images.xcassets/image1.imageset/image1.jpg -------------------------------------------------------------------------------- /Example/FOView/Images.xcassets/image2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "image2.jpg", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/FOView/Images.xcassets/image2.imageset/image2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barankaraoguzzz/FastOnBoarding/740b661340cb00a3c1dfdf957570b91fda7bcddc/Example/FOView/Images.xcassets/image2.imageset/image2.jpg -------------------------------------------------------------------------------- /Example/FOView/Images.xcassets/image3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "image3.jpg", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/FOView/Images.xcassets/image3.imageset/image3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barankaraoguzzz/FastOnBoarding/740b661340cb00a3c1dfdf957570b91fda7bcddc/Example/FOView/Images.xcassets/image3.imageset/image3.jpg -------------------------------------------------------------------------------- /Example/FOView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/FOView/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // FOView 4 | // 5 | // Created by baran.karaoguz@ogr.sakarya.edu.tr on 04/04/2018. 6 | // Copyright (c) 2018 baran.karaoguz@ogr.sakarya.edu.tr. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import FOView 11 | 12 | class ViewController: UIViewController { 13 | 14 | @IBOutlet weak var onboardingView: FOView! 15 | 16 | override func viewDidLoad() { 17 | super.viewDidLoad() 18 | onboardingView.foImages = imageViewArray 19 | onboardingView.animateType = .oglFlip 20 | onboardingView.foDiriction = .horizantal 21 | onboardingView.isPageControl = false // this is optional method. default = true 22 | onboardingView.delegate = self 23 | onboardingView.startOnboarding() 24 | 25 | } 26 | 27 | let imageViewArray : [UIImage]? = [#imageLiteral(resourceName: "image1"),#imageLiteral(resourceName: "image2"),#imageLiteral(resourceName: "image3")] 28 | } 29 | 30 | 31 | extension ViewController: FODelegate { 32 | func FOnboarding(_ foView: FOView, getCountPageControl: Int) { 33 | print(getCountPageControl) 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'FOView_Example' do 4 | pod 'FOView', :path => '../' 5 | 6 | target 'FOView_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FOView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - FOView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | FOView: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | FOView: 806c44264a556c345dbe21a97618e9de757556ea 13 | 14 | PODFILE CHECKSUM: 479da6e8721aa9e36db007a5e87b3f4c67237ab6 15 | 16 | COCOAPODS: 1.4.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/FOView.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "FOView", 3 | "version": "0.1.0", 4 | "summary": "almost every application needs an onboarding page. Fast Onboarding will eliminate this need.", 5 | "description": "almost every application needs an onboarding page. Fast Onboarding will eliminate this need.", 6 | "homepage": "https://github.com/barankaraoguzzz/FastOnBoarding", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "baran.karaoguz@ogr.sakarya.edu.tr": "b.b.karaoguz@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/barankaraoguzzz/FastOnBoarding.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "FOView/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FOView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - FOView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | FOView: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | FOView: 806c44264a556c345dbe21a97618e9de757556ea 13 | 14 | PODFILE CHECKSUM: 479da6e8721aa9e36db007a5e87b3f4c67237ab6 15 | 16 | COCOAPODS: 1.4.0 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 | 094AC5A2DBB23FD1E267FDC89A0904F4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 11 | 144246A315E1E99A9F2E1DB1C5D5D038 /* FOView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 24613DD722E9E30806429C42ED49BE96 /* FOView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 1E1AFC7CDC3681EDDDECA85C9519C611 /* Pods-FOView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 4B57D979301778A8BFE5E5415437875C /* Pods-FOView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 48D64A7567B9C52F0C84EC08CA8E23E2 /* FOView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 89379975CC03A6311D5BD0EAF828728A /* FOView-dummy.m */; }; 14 | 6DF5D66E6E7A8CF9880157B3EF8CF378 /* FOAnimation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 09F351F6BDA9D35A1DD47935CA10486B /* FOAnimation.swift */; }; 15 | 6F859A3499AF1EFE7697EA1DD92FD562 /* Pods-FOView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B2FD76B1BE03C2325CCC88F8EE39F73E /* Pods-FOView_Example-dummy.m */; }; 16 | 943176ACC4C81A3CF64FEFDA67C6E8FA /* Pods-FOView_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 760010D7CCBF40D5D989FA2BB8137A9E /* Pods-FOView_Tests-dummy.m */; }; 17 | 95CE3F382077F57D005B5C02 /* FODelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95CE3F372077F57C005B5C02 /* FODelegate.swift */; }; 18 | B5E81B61A458C2E536F5C162319441DA /* FOView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C02DFBD296276FDD0EBEFEC1D2B569A /* FOView.swift */; }; 19 | C234511E3162C82DD0C857ACE6A4698B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 20 | D88BCD42640F6C7F98C7C9B0AE001AB8 /* FOEnums.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20654B6F59E48EB40BA0721A1ED9957A /* FOEnums.swift */; }; 21 | E2F6324B72790B7333B595294A316F6A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 22 | F1D76B8DBF8FBCF9324CBB1AA97948D9 /* Pods-FOView_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E6AC42BA8496C471E3A2E701B7570B9A /* Pods-FOView_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXContainerItemProxy section */ 26 | FAC749C76A3ED8C254896656D3E9B9DD /* PBXContainerItemProxy */ = { 27 | isa = PBXContainerItemProxy; 28 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 29 | proxyType = 1; 30 | remoteGlobalIDString = B38733137F1E2D90147275771C1DCDFE; 31 | remoteInfo = FOView; 32 | }; 33 | /* End PBXContainerItemProxy section */ 34 | 35 | /* Begin PBXFileReference section */ 36 | 005B848091F613D87440CDA18264DC22 /* Pods_FOView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FOView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 37 | 01F13F7CD7AAC7C8D4A63C47C5A63307 /* FOView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = FOView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 38 | 040ADD7FD000AE1A4931EBA10D10A5D8 /* Pods-FOView_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-FOView_Tests-resources.sh"; sourceTree = ""; }; 39 | 0488053434AC059E5F1239337365215B /* Pods-FOView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-FOView_Example-resources.sh"; sourceTree = ""; }; 40 | 09F351F6BDA9D35A1DD47935CA10486B /* FOAnimation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = FOAnimation.swift; path = FOView/Classes/FOAnimation.swift; sourceTree = ""; }; 41 | 0C25317AFDA7312C279D32E2B9B6F2AE /* Pods-FOView_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-FOView_Tests-acknowledgements.markdown"; sourceTree = ""; }; 42 | 1C02DFBD296276FDD0EBEFEC1D2B569A /* FOView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = FOView.swift; path = FOView/Classes/FOView.swift; sourceTree = ""; }; 43 | 20654B6F59E48EB40BA0721A1ED9957A /* FOEnums.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = FOEnums.swift; path = FOView/Classes/FOEnums.swift; sourceTree = ""; }; 44 | 24613DD722E9E30806429C42ED49BE96 /* FOView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FOView-umbrella.h"; sourceTree = ""; }; 45 | 27A11C12C6456CE0F47CE09335C8066E /* Pods-FOView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-FOView_Example-acknowledgements.plist"; sourceTree = ""; }; 46 | 28421B5E6655F5CDC00F53F19DBF9EFA /* Pods_FOView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FOView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | 315575276AD02351BF7DC323BC39C5FB /* Pods-FOView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FOView_Tests.release.xcconfig"; sourceTree = ""; }; 48 | 354049AE3390D262C40FF72B4B1097FD /* Pods-FOView_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-FOView_Tests-acknowledgements.plist"; sourceTree = ""; }; 49 | 399D1D30B45E24934814284A905D4A24 /* Pods-FOView_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-FOView_Tests.modulemap"; sourceTree = ""; }; 50 | 3D7B522EDFF632BD531B0C62C34F4410 /* Pods-FOView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FOView_Example.debug.xcconfig"; sourceTree = ""; }; 51 | 499F8C6813207D4C820DE1769A775A0F /* FOView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FOView-prefix.pch"; sourceTree = ""; }; 52 | 4B57D979301778A8BFE5E5415437875C /* Pods-FOView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-FOView_Example-umbrella.h"; sourceTree = ""; }; 53 | 659E60C78E5273F87BE134938F82C4F7 /* Pods-FOView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-FOView_Example.modulemap"; sourceTree = ""; }; 54 | 6604A7D69453B4569E4E4827FB9155A9 /* 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; }; 55 | 66EE0BD895EFF61E7365AB239D99A6DB /* Pods-FOView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FOView_Tests.debug.xcconfig"; sourceTree = ""; }; 56 | 6E3C942663BAD1D74AC4E3854BE57299 /* FOView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = FOView.xcconfig; sourceTree = ""; }; 57 | 760010D7CCBF40D5D989FA2BB8137A9E /* Pods-FOView_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-FOView_Tests-dummy.m"; sourceTree = ""; }; 58 | 77AAC7CDD22CE76D5BA7C75F9FDF38A8 /* Pods-FOView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FOView_Example.release.xcconfig"; sourceTree = ""; }; 59 | 823B7920A40CFD0894CE670846FF5403 /* FOView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = FOView.modulemap; sourceTree = ""; }; 60 | 842D8816EDA295AFB925D725E964950A /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 61 | 89379975CC03A6311D5BD0EAF828728A /* FOView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "FOView-dummy.m"; sourceTree = ""; }; 62 | 8A38C13C2A67967C59D11319697E2C34 /* Pods-FOView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-FOView_Example-frameworks.sh"; sourceTree = ""; }; 63 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 64 | 95CE3F372077F57C005B5C02 /* FODelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = FODelegate.swift; path = FOView/Classes/FODelegate.swift; sourceTree = ""; }; 65 | AA5449FD17508591B9B6B8A8A6958456 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 66 | B2FD76B1BE03C2325CCC88F8EE39F73E /* Pods-FOView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-FOView_Example-dummy.m"; sourceTree = ""; }; 67 | BEE6605BE0FB7A76D51273880B82351B /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 68 | CB59701B23DA2DF9291487BC409FBF16 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 69 | D25B32013ED4B97798ED21E43FF07E9B /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 70 | DA75B5CC829671930BB5C1BA6E65C7BF /* Pods-FOView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-FOView_Example-acknowledgements.markdown"; sourceTree = ""; }; 71 | E6AC42BA8496C471E3A2E701B7570B9A /* Pods-FOView_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-FOView_Tests-umbrella.h"; sourceTree = ""; }; 72 | ED40656E8F6C24F74E041DAE37874A73 /* FOView.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; path = FOView.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 73 | F5CCE76F5ECD39175B35B99A2840B846 /* Pods-FOView_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-FOView_Tests-frameworks.sh"; sourceTree = ""; }; 74 | /* End PBXFileReference section */ 75 | 76 | /* Begin PBXFrameworksBuildPhase section */ 77 | 26FDFDD3440BE6E1C1CC0408DEF9D8BD /* Frameworks */ = { 78 | isa = PBXFrameworksBuildPhase; 79 | buildActionMask = 2147483647; 80 | files = ( 81 | C234511E3162C82DD0C857ACE6A4698B /* Foundation.framework in Frameworks */, 82 | ); 83 | runOnlyForDeploymentPostprocessing = 0; 84 | }; 85 | 9420C4A97F7CD560764A16FFA96D59CB /* Frameworks */ = { 86 | isa = PBXFrameworksBuildPhase; 87 | buildActionMask = 2147483647; 88 | files = ( 89 | E2F6324B72790B7333B595294A316F6A /* Foundation.framework in Frameworks */, 90 | ); 91 | runOnlyForDeploymentPostprocessing = 0; 92 | }; 93 | E0D74EB65C0C2315FFE32C8D4253194C /* Frameworks */ = { 94 | isa = PBXFrameworksBuildPhase; 95 | buildActionMask = 2147483647; 96 | files = ( 97 | 094AC5A2DBB23FD1E267FDC89A0904F4 /* Foundation.framework in Frameworks */, 98 | ); 99 | runOnlyForDeploymentPostprocessing = 0; 100 | }; 101 | /* End PBXFrameworksBuildPhase section */ 102 | 103 | /* Begin PBXGroup section */ 104 | 14EBCEA47D24F9CF1E015BA71A5E8610 /* Support Files */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 823B7920A40CFD0894CE670846FF5403 /* FOView.modulemap */, 108 | 6E3C942663BAD1D74AC4E3854BE57299 /* FOView.xcconfig */, 109 | 89379975CC03A6311D5BD0EAF828728A /* FOView-dummy.m */, 110 | 499F8C6813207D4C820DE1769A775A0F /* FOView-prefix.pch */, 111 | 24613DD722E9E30806429C42ED49BE96 /* FOView-umbrella.h */, 112 | CB59701B23DA2DF9291487BC409FBF16 /* Info.plist */, 113 | ); 114 | name = "Support Files"; 115 | path = "Example/Pods/Target Support Files/FOView"; 116 | sourceTree = ""; 117 | }; 118 | 269FF4D4DBC954AF240A975609716BF8 /* FOView */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 95CE3F372077F57C005B5C02 /* FODelegate.swift */, 122 | 09F351F6BDA9D35A1DD47935CA10486B /* FOAnimation.swift */, 123 | 20654B6F59E48EB40BA0721A1ED9957A /* FOEnums.swift */, 124 | 1C02DFBD296276FDD0EBEFEC1D2B569A /* FOView.swift */, 125 | 93995484BFA59046D48916BD246BEF1F /* Pod */, 126 | 14EBCEA47D24F9CF1E015BA71A5E8610 /* Support Files */, 127 | ); 128 | name = FOView; 129 | path = ../..; 130 | sourceTree = ""; 131 | }; 132 | 34C97A82F595296EA17A785299B876C7 /* Development Pods */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | 269FF4D4DBC954AF240A975609716BF8 /* FOView */, 136 | ); 137 | name = "Development Pods"; 138 | sourceTree = ""; 139 | }; 140 | 7DB346D0F39D3F0E887471402A8071AB = { 141 | isa = PBXGroup; 142 | children = ( 143 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 144 | 34C97A82F595296EA17A785299B876C7 /* Development Pods */, 145 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 146 | DA1217C7829DE0D9EBECDFA910E550F2 /* Products */, 147 | 80FE4AB38A42E9D21D1D179B6A0275F8 /* Targets Support Files */, 148 | ); 149 | sourceTree = ""; 150 | }; 151 | 80FE4AB38A42E9D21D1D179B6A0275F8 /* Targets Support Files */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 9592465A9B1865A235038ACF549A2734 /* Pods-FOView_Example */, 155 | F3A94F1AC56D908F8260A87510A7CF4F /* Pods-FOView_Tests */, 156 | ); 157 | name = "Targets Support Files"; 158 | sourceTree = ""; 159 | }; 160 | 93995484BFA59046D48916BD246BEF1F /* Pod */ = { 161 | isa = PBXGroup; 162 | children = ( 163 | ED40656E8F6C24F74E041DAE37874A73 /* FOView.podspec */, 164 | BEE6605BE0FB7A76D51273880B82351B /* LICENSE */, 165 | 842D8816EDA295AFB925D725E964950A /* README.md */, 166 | ); 167 | name = Pod; 168 | sourceTree = ""; 169 | }; 170 | 9592465A9B1865A235038ACF549A2734 /* Pods-FOView_Example */ = { 171 | isa = PBXGroup; 172 | children = ( 173 | D25B32013ED4B97798ED21E43FF07E9B /* Info.plist */, 174 | 659E60C78E5273F87BE134938F82C4F7 /* Pods-FOView_Example.modulemap */, 175 | DA75B5CC829671930BB5C1BA6E65C7BF /* Pods-FOView_Example-acknowledgements.markdown */, 176 | 27A11C12C6456CE0F47CE09335C8066E /* Pods-FOView_Example-acknowledgements.plist */, 177 | B2FD76B1BE03C2325CCC88F8EE39F73E /* Pods-FOView_Example-dummy.m */, 178 | 8A38C13C2A67967C59D11319697E2C34 /* Pods-FOView_Example-frameworks.sh */, 179 | 0488053434AC059E5F1239337365215B /* Pods-FOView_Example-resources.sh */, 180 | 4B57D979301778A8BFE5E5415437875C /* Pods-FOView_Example-umbrella.h */, 181 | 3D7B522EDFF632BD531B0C62C34F4410 /* Pods-FOView_Example.debug.xcconfig */, 182 | 77AAC7CDD22CE76D5BA7C75F9FDF38A8 /* Pods-FOView_Example.release.xcconfig */, 183 | ); 184 | name = "Pods-FOView_Example"; 185 | path = "Target Support Files/Pods-FOView_Example"; 186 | sourceTree = ""; 187 | }; 188 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 189 | isa = PBXGroup; 190 | children = ( 191 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 192 | ); 193 | name = Frameworks; 194 | sourceTree = ""; 195 | }; 196 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 197 | isa = PBXGroup; 198 | children = ( 199 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 200 | ); 201 | name = iOS; 202 | sourceTree = ""; 203 | }; 204 | DA1217C7829DE0D9EBECDFA910E550F2 /* Products */ = { 205 | isa = PBXGroup; 206 | children = ( 207 | 01F13F7CD7AAC7C8D4A63C47C5A63307 /* FOView.framework */, 208 | 005B848091F613D87440CDA18264DC22 /* Pods_FOView_Example.framework */, 209 | 28421B5E6655F5CDC00F53F19DBF9EFA /* Pods_FOView_Tests.framework */, 210 | ); 211 | name = Products; 212 | sourceTree = ""; 213 | }; 214 | F3A94F1AC56D908F8260A87510A7CF4F /* Pods-FOView_Tests */ = { 215 | isa = PBXGroup; 216 | children = ( 217 | AA5449FD17508591B9B6B8A8A6958456 /* Info.plist */, 218 | 399D1D30B45E24934814284A905D4A24 /* Pods-FOView_Tests.modulemap */, 219 | 0C25317AFDA7312C279D32E2B9B6F2AE /* Pods-FOView_Tests-acknowledgements.markdown */, 220 | 354049AE3390D262C40FF72B4B1097FD /* Pods-FOView_Tests-acknowledgements.plist */, 221 | 760010D7CCBF40D5D989FA2BB8137A9E /* Pods-FOView_Tests-dummy.m */, 222 | F5CCE76F5ECD39175B35B99A2840B846 /* Pods-FOView_Tests-frameworks.sh */, 223 | 040ADD7FD000AE1A4931EBA10D10A5D8 /* Pods-FOView_Tests-resources.sh */, 224 | E6AC42BA8496C471E3A2E701B7570B9A /* Pods-FOView_Tests-umbrella.h */, 225 | 66EE0BD895EFF61E7365AB239D99A6DB /* Pods-FOView_Tests.debug.xcconfig */, 226 | 315575276AD02351BF7DC323BC39C5FB /* Pods-FOView_Tests.release.xcconfig */, 227 | ); 228 | name = "Pods-FOView_Tests"; 229 | path = "Target Support Files/Pods-FOView_Tests"; 230 | sourceTree = ""; 231 | }; 232 | /* End PBXGroup section */ 233 | 234 | /* Begin PBXHeadersBuildPhase section */ 235 | 701A82B3222A8989C6F6BD31D6065306 /* Headers */ = { 236 | isa = PBXHeadersBuildPhase; 237 | buildActionMask = 2147483647; 238 | files = ( 239 | F1D76B8DBF8FBCF9324CBB1AA97948D9 /* Pods-FOView_Tests-umbrella.h in Headers */, 240 | ); 241 | runOnlyForDeploymentPostprocessing = 0; 242 | }; 243 | 76578AF9112144246A94B861252B393F /* Headers */ = { 244 | isa = PBXHeadersBuildPhase; 245 | buildActionMask = 2147483647; 246 | files = ( 247 | 1E1AFC7CDC3681EDDDECA85C9519C611 /* Pods-FOView_Example-umbrella.h in Headers */, 248 | ); 249 | runOnlyForDeploymentPostprocessing = 0; 250 | }; 251 | F016495A1ED1BB3ED54D6AEC84098FD5 /* Headers */ = { 252 | isa = PBXHeadersBuildPhase; 253 | buildActionMask = 2147483647; 254 | files = ( 255 | 144246A315E1E99A9F2E1DB1C5D5D038 /* FOView-umbrella.h in Headers */, 256 | ); 257 | runOnlyForDeploymentPostprocessing = 0; 258 | }; 259 | /* End PBXHeadersBuildPhase section */ 260 | 261 | /* Begin PBXNativeTarget section */ 262 | 8D948709A9B113AF374DEB6F0ADDBF1C /* Pods-FOView_Tests */ = { 263 | isa = PBXNativeTarget; 264 | buildConfigurationList = D509830F7A66ED7374086CC7472DE467 /* Build configuration list for PBXNativeTarget "Pods-FOView_Tests" */; 265 | buildPhases = ( 266 | 32E9C36317C93DFB95D77B16CD017A7F /* Sources */, 267 | 9420C4A97F7CD560764A16FFA96D59CB /* Frameworks */, 268 | 701A82B3222A8989C6F6BD31D6065306 /* Headers */, 269 | ); 270 | buildRules = ( 271 | ); 272 | dependencies = ( 273 | ); 274 | name = "Pods-FOView_Tests"; 275 | productName = "Pods-FOView_Tests"; 276 | productReference = 28421B5E6655F5CDC00F53F19DBF9EFA /* Pods_FOView_Tests.framework */; 277 | productType = "com.apple.product-type.framework"; 278 | }; 279 | B0666A58574F5D5B7ECA03968D87E825 /* Pods-FOView_Example */ = { 280 | isa = PBXNativeTarget; 281 | buildConfigurationList = FC8DA8BD9A61B11435F56BCB59AE81A2 /* Build configuration list for PBXNativeTarget "Pods-FOView_Example" */; 282 | buildPhases = ( 283 | 6817CECE8DC56A78077C15A5E23E1175 /* Sources */, 284 | E0D74EB65C0C2315FFE32C8D4253194C /* Frameworks */, 285 | 76578AF9112144246A94B861252B393F /* Headers */, 286 | ); 287 | buildRules = ( 288 | ); 289 | dependencies = ( 290 | 4C1E30A2CEB34093A92820E098317F8F /* PBXTargetDependency */, 291 | ); 292 | name = "Pods-FOView_Example"; 293 | productName = "Pods-FOView_Example"; 294 | productReference = 005B848091F613D87440CDA18264DC22 /* Pods_FOView_Example.framework */; 295 | productType = "com.apple.product-type.framework"; 296 | }; 297 | B38733137F1E2D90147275771C1DCDFE /* FOView */ = { 298 | isa = PBXNativeTarget; 299 | buildConfigurationList = B2A84455B56E43D3299380FA7EDDB8B2 /* Build configuration list for PBXNativeTarget "FOView" */; 300 | buildPhases = ( 301 | 19D28119B92489070A0D6D69B5EC4381 /* Sources */, 302 | 26FDFDD3440BE6E1C1CC0408DEF9D8BD /* Frameworks */, 303 | F016495A1ED1BB3ED54D6AEC84098FD5 /* Headers */, 304 | ); 305 | buildRules = ( 306 | ); 307 | dependencies = ( 308 | ); 309 | name = FOView; 310 | productName = FOView; 311 | productReference = 01F13F7CD7AAC7C8D4A63C47C5A63307 /* FOView.framework */; 312 | productType = "com.apple.product-type.framework"; 313 | }; 314 | /* End PBXNativeTarget section */ 315 | 316 | /* Begin PBXProject section */ 317 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 318 | isa = PBXProject; 319 | attributes = { 320 | LastSwiftUpdateCheck = 0830; 321 | LastUpgradeCheck = 0700; 322 | }; 323 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 324 | compatibilityVersion = "Xcode 3.2"; 325 | developmentRegion = English; 326 | hasScannedForEncodings = 0; 327 | knownRegions = ( 328 | en, 329 | ); 330 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 331 | productRefGroup = DA1217C7829DE0D9EBECDFA910E550F2 /* Products */; 332 | projectDirPath = ""; 333 | projectRoot = ""; 334 | targets = ( 335 | B38733137F1E2D90147275771C1DCDFE /* FOView */, 336 | B0666A58574F5D5B7ECA03968D87E825 /* Pods-FOView_Example */, 337 | 8D948709A9B113AF374DEB6F0ADDBF1C /* Pods-FOView_Tests */, 338 | ); 339 | }; 340 | /* End PBXProject section */ 341 | 342 | /* Begin PBXSourcesBuildPhase section */ 343 | 19D28119B92489070A0D6D69B5EC4381 /* Sources */ = { 344 | isa = PBXSourcesBuildPhase; 345 | buildActionMask = 2147483647; 346 | files = ( 347 | 95CE3F382077F57D005B5C02 /* FODelegate.swift in Sources */, 348 | 6DF5D66E6E7A8CF9880157B3EF8CF378 /* FOAnimation.swift in Sources */, 349 | D88BCD42640F6C7F98C7C9B0AE001AB8 /* FOEnums.swift in Sources */, 350 | 48D64A7567B9C52F0C84EC08CA8E23E2 /* FOView-dummy.m in Sources */, 351 | B5E81B61A458C2E536F5C162319441DA /* FOView.swift in Sources */, 352 | ); 353 | runOnlyForDeploymentPostprocessing = 0; 354 | }; 355 | 32E9C36317C93DFB95D77B16CD017A7F /* Sources */ = { 356 | isa = PBXSourcesBuildPhase; 357 | buildActionMask = 2147483647; 358 | files = ( 359 | 943176ACC4C81A3CF64FEFDA67C6E8FA /* Pods-FOView_Tests-dummy.m in Sources */, 360 | ); 361 | runOnlyForDeploymentPostprocessing = 0; 362 | }; 363 | 6817CECE8DC56A78077C15A5E23E1175 /* Sources */ = { 364 | isa = PBXSourcesBuildPhase; 365 | buildActionMask = 2147483647; 366 | files = ( 367 | 6F859A3499AF1EFE7697EA1DD92FD562 /* Pods-FOView_Example-dummy.m in Sources */, 368 | ); 369 | runOnlyForDeploymentPostprocessing = 0; 370 | }; 371 | /* End PBXSourcesBuildPhase section */ 372 | 373 | /* Begin PBXTargetDependency section */ 374 | 4C1E30A2CEB34093A92820E098317F8F /* PBXTargetDependency */ = { 375 | isa = PBXTargetDependency; 376 | name = FOView; 377 | target = B38733137F1E2D90147275771C1DCDFE /* FOView */; 378 | targetProxy = FAC749C76A3ED8C254896656D3E9B9DD /* PBXContainerItemProxy */; 379 | }; 380 | /* End PBXTargetDependency section */ 381 | 382 | /* Begin XCBuildConfiguration section */ 383 | 33DA7F43A1D2FA3C74A8C8FC246E1FA6 /* Debug */ = { 384 | isa = XCBuildConfiguration; 385 | buildSettings = { 386 | ALWAYS_SEARCH_USER_PATHS = NO; 387 | CLANG_ANALYZER_NONNULL = YES; 388 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 389 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 390 | CLANG_CXX_LIBRARY = "libc++"; 391 | CLANG_ENABLE_MODULES = YES; 392 | CLANG_ENABLE_OBJC_ARC = YES; 393 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 394 | CLANG_WARN_BOOL_CONVERSION = YES; 395 | CLANG_WARN_COMMA = YES; 396 | CLANG_WARN_CONSTANT_CONVERSION = YES; 397 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 398 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 399 | CLANG_WARN_EMPTY_BODY = YES; 400 | CLANG_WARN_ENUM_CONVERSION = YES; 401 | CLANG_WARN_INFINITE_RECURSION = YES; 402 | CLANG_WARN_INT_CONVERSION = YES; 403 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 404 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 405 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 406 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 407 | CLANG_WARN_STRICT_PROTOTYPES = YES; 408 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 409 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 410 | CLANG_WARN_UNREACHABLE_CODE = YES; 411 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 412 | CODE_SIGNING_REQUIRED = NO; 413 | COPY_PHASE_STRIP = NO; 414 | DEBUG_INFORMATION_FORMAT = dwarf; 415 | ENABLE_STRICT_OBJC_MSGSEND = YES; 416 | ENABLE_TESTABILITY = YES; 417 | GCC_C_LANGUAGE_STANDARD = gnu11; 418 | GCC_DYNAMIC_NO_PIC = NO; 419 | GCC_NO_COMMON_BLOCKS = YES; 420 | GCC_OPTIMIZATION_LEVEL = 0; 421 | GCC_PREPROCESSOR_DEFINITIONS = ( 422 | "POD_CONFIGURATION_DEBUG=1", 423 | "DEBUG=1", 424 | "$(inherited)", 425 | ); 426 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 427 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 428 | GCC_WARN_UNDECLARED_SELECTOR = YES; 429 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 430 | GCC_WARN_UNUSED_FUNCTION = YES; 431 | GCC_WARN_UNUSED_VARIABLE = YES; 432 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 433 | MTL_ENABLE_DEBUG_INFO = YES; 434 | ONLY_ACTIVE_ARCH = YES; 435 | PRODUCT_NAME = "$(TARGET_NAME)"; 436 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 437 | STRIP_INSTALLED_PRODUCT = NO; 438 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 439 | SYMROOT = "${SRCROOT}/../build"; 440 | }; 441 | name = Debug; 442 | }; 443 | 44DFFF1AD3303163D35A12386990A443 /* Debug */ = { 444 | isa = XCBuildConfiguration; 445 | baseConfigurationReference = 3D7B522EDFF632BD531B0C62C34F4410 /* Pods-FOView_Example.debug.xcconfig */; 446 | buildSettings = { 447 | CODE_SIGN_IDENTITY = ""; 448 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 449 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 450 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 451 | CURRENT_PROJECT_VERSION = 1; 452 | DEFINES_MODULE = YES; 453 | DYLIB_COMPATIBILITY_VERSION = 1; 454 | DYLIB_CURRENT_VERSION = 1; 455 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 456 | INFOPLIST_FILE = "Target Support Files/Pods-FOView_Example/Info.plist"; 457 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 458 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 459 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 460 | MACH_O_TYPE = staticlib; 461 | MODULEMAP_FILE = "Target Support Files/Pods-FOView_Example/Pods-FOView_Example.modulemap"; 462 | OTHER_LDFLAGS = ""; 463 | OTHER_LIBTOOLFLAGS = ""; 464 | PODS_ROOT = "$(SRCROOT)"; 465 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 466 | PRODUCT_NAME = Pods_FOView_Example; 467 | SDKROOT = iphoneos; 468 | SKIP_INSTALL = YES; 469 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 470 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 471 | TARGETED_DEVICE_FAMILY = "1,2"; 472 | VERSIONING_SYSTEM = "apple-generic"; 473 | VERSION_INFO_PREFIX = ""; 474 | }; 475 | name = Debug; 476 | }; 477 | 727BEC76B63697E542B121455D44785A /* Release */ = { 478 | isa = XCBuildConfiguration; 479 | baseConfigurationReference = 6E3C942663BAD1D74AC4E3854BE57299 /* FOView.xcconfig */; 480 | buildSettings = { 481 | CODE_SIGN_IDENTITY = ""; 482 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 483 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 484 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 485 | CURRENT_PROJECT_VERSION = 1; 486 | DEFINES_MODULE = YES; 487 | DYLIB_COMPATIBILITY_VERSION = 1; 488 | DYLIB_CURRENT_VERSION = 1; 489 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 490 | GCC_PREFIX_HEADER = "Target Support Files/FOView/FOView-prefix.pch"; 491 | INFOPLIST_FILE = "Target Support Files/FOView/Info.plist"; 492 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 493 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 494 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 495 | MODULEMAP_FILE = "Target Support Files/FOView/FOView.modulemap"; 496 | PRODUCT_NAME = FOView; 497 | SDKROOT = iphoneos; 498 | SKIP_INSTALL = YES; 499 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 500 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 501 | SWIFT_VERSION = 4.0; 502 | TARGETED_DEVICE_FAMILY = "1,2"; 503 | VALIDATE_PRODUCT = YES; 504 | VERSIONING_SYSTEM = "apple-generic"; 505 | VERSION_INFO_PREFIX = ""; 506 | }; 507 | name = Release; 508 | }; 509 | 731DC216E1A58545B559F6E0A2418060 /* Release */ = { 510 | isa = XCBuildConfiguration; 511 | buildSettings = { 512 | ALWAYS_SEARCH_USER_PATHS = NO; 513 | CLANG_ANALYZER_NONNULL = YES; 514 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 515 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 516 | CLANG_CXX_LIBRARY = "libc++"; 517 | CLANG_ENABLE_MODULES = YES; 518 | CLANG_ENABLE_OBJC_ARC = YES; 519 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 520 | CLANG_WARN_BOOL_CONVERSION = YES; 521 | CLANG_WARN_COMMA = YES; 522 | CLANG_WARN_CONSTANT_CONVERSION = YES; 523 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 524 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 525 | CLANG_WARN_EMPTY_BODY = YES; 526 | CLANG_WARN_ENUM_CONVERSION = YES; 527 | CLANG_WARN_INFINITE_RECURSION = YES; 528 | CLANG_WARN_INT_CONVERSION = YES; 529 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 530 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 531 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 532 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 533 | CLANG_WARN_STRICT_PROTOTYPES = YES; 534 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 535 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 536 | CLANG_WARN_UNREACHABLE_CODE = YES; 537 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 538 | CODE_SIGNING_REQUIRED = NO; 539 | COPY_PHASE_STRIP = NO; 540 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 541 | ENABLE_NS_ASSERTIONS = NO; 542 | ENABLE_STRICT_OBJC_MSGSEND = YES; 543 | GCC_C_LANGUAGE_STANDARD = gnu11; 544 | GCC_NO_COMMON_BLOCKS = YES; 545 | GCC_PREPROCESSOR_DEFINITIONS = ( 546 | "POD_CONFIGURATION_RELEASE=1", 547 | "$(inherited)", 548 | ); 549 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 550 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 551 | GCC_WARN_UNDECLARED_SELECTOR = YES; 552 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 553 | GCC_WARN_UNUSED_FUNCTION = YES; 554 | GCC_WARN_UNUSED_VARIABLE = YES; 555 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 556 | MTL_ENABLE_DEBUG_INFO = NO; 557 | PRODUCT_NAME = "$(TARGET_NAME)"; 558 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 559 | STRIP_INSTALLED_PRODUCT = NO; 560 | SYMROOT = "${SRCROOT}/../build"; 561 | }; 562 | name = Release; 563 | }; 564 | 7FD53A696405229311B8042EF98D0025 /* Debug */ = { 565 | isa = XCBuildConfiguration; 566 | baseConfigurationReference = 66EE0BD895EFF61E7365AB239D99A6DB /* Pods-FOView_Tests.debug.xcconfig */; 567 | buildSettings = { 568 | CODE_SIGN_IDENTITY = ""; 569 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 570 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 571 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 572 | CURRENT_PROJECT_VERSION = 1; 573 | DEFINES_MODULE = YES; 574 | DYLIB_COMPATIBILITY_VERSION = 1; 575 | DYLIB_CURRENT_VERSION = 1; 576 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 577 | INFOPLIST_FILE = "Target Support Files/Pods-FOView_Tests/Info.plist"; 578 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 579 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 580 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 581 | MACH_O_TYPE = staticlib; 582 | MODULEMAP_FILE = "Target Support Files/Pods-FOView_Tests/Pods-FOView_Tests.modulemap"; 583 | OTHER_LDFLAGS = ""; 584 | OTHER_LIBTOOLFLAGS = ""; 585 | PODS_ROOT = "$(SRCROOT)"; 586 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 587 | PRODUCT_NAME = Pods_FOView_Tests; 588 | SDKROOT = iphoneos; 589 | SKIP_INSTALL = YES; 590 | TARGETED_DEVICE_FAMILY = "1,2"; 591 | VERSIONING_SYSTEM = "apple-generic"; 592 | VERSION_INFO_PREFIX = ""; 593 | }; 594 | name = Debug; 595 | }; 596 | 8A4F1ADD8F39D38590DA45A5EB87072D /* Release */ = { 597 | isa = XCBuildConfiguration; 598 | baseConfigurationReference = 315575276AD02351BF7DC323BC39C5FB /* Pods-FOView_Tests.release.xcconfig */; 599 | buildSettings = { 600 | CODE_SIGN_IDENTITY = ""; 601 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 602 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 603 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 604 | CURRENT_PROJECT_VERSION = 1; 605 | DEFINES_MODULE = YES; 606 | DYLIB_COMPATIBILITY_VERSION = 1; 607 | DYLIB_CURRENT_VERSION = 1; 608 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 609 | INFOPLIST_FILE = "Target Support Files/Pods-FOView_Tests/Info.plist"; 610 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 611 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 612 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 613 | MACH_O_TYPE = staticlib; 614 | MODULEMAP_FILE = "Target Support Files/Pods-FOView_Tests/Pods-FOView_Tests.modulemap"; 615 | OTHER_LDFLAGS = ""; 616 | OTHER_LIBTOOLFLAGS = ""; 617 | PODS_ROOT = "$(SRCROOT)"; 618 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 619 | PRODUCT_NAME = Pods_FOView_Tests; 620 | SDKROOT = iphoneos; 621 | SKIP_INSTALL = YES; 622 | TARGETED_DEVICE_FAMILY = "1,2"; 623 | VALIDATE_PRODUCT = YES; 624 | VERSIONING_SYSTEM = "apple-generic"; 625 | VERSION_INFO_PREFIX = ""; 626 | }; 627 | name = Release; 628 | }; 629 | B87A46012F9D2EC2D299DBB756147768 /* Debug */ = { 630 | isa = XCBuildConfiguration; 631 | baseConfigurationReference = 6E3C942663BAD1D74AC4E3854BE57299 /* FOView.xcconfig */; 632 | buildSettings = { 633 | CODE_SIGN_IDENTITY = ""; 634 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 635 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 636 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 637 | CURRENT_PROJECT_VERSION = 1; 638 | DEFINES_MODULE = YES; 639 | DYLIB_COMPATIBILITY_VERSION = 1; 640 | DYLIB_CURRENT_VERSION = 1; 641 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 642 | GCC_PREFIX_HEADER = "Target Support Files/FOView/FOView-prefix.pch"; 643 | INFOPLIST_FILE = "Target Support Files/FOView/Info.plist"; 644 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 645 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 646 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 647 | MODULEMAP_FILE = "Target Support Files/FOView/FOView.modulemap"; 648 | PRODUCT_NAME = FOView; 649 | SDKROOT = iphoneos; 650 | SKIP_INSTALL = YES; 651 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 652 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 653 | SWIFT_VERSION = 4.0; 654 | TARGETED_DEVICE_FAMILY = "1,2"; 655 | VERSIONING_SYSTEM = "apple-generic"; 656 | VERSION_INFO_PREFIX = ""; 657 | }; 658 | name = Debug; 659 | }; 660 | F66CD9442162F7D938DF45AC3517A2E7 /* Release */ = { 661 | isa = XCBuildConfiguration; 662 | baseConfigurationReference = 77AAC7CDD22CE76D5BA7C75F9FDF38A8 /* Pods-FOView_Example.release.xcconfig */; 663 | buildSettings = { 664 | CODE_SIGN_IDENTITY = ""; 665 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 666 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 667 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 668 | CURRENT_PROJECT_VERSION = 1; 669 | DEFINES_MODULE = YES; 670 | DYLIB_COMPATIBILITY_VERSION = 1; 671 | DYLIB_CURRENT_VERSION = 1; 672 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 673 | INFOPLIST_FILE = "Target Support Files/Pods-FOView_Example/Info.plist"; 674 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 675 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 676 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 677 | MACH_O_TYPE = staticlib; 678 | MODULEMAP_FILE = "Target Support Files/Pods-FOView_Example/Pods-FOView_Example.modulemap"; 679 | OTHER_LDFLAGS = ""; 680 | OTHER_LIBTOOLFLAGS = ""; 681 | PODS_ROOT = "$(SRCROOT)"; 682 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 683 | PRODUCT_NAME = Pods_FOView_Example; 684 | SDKROOT = iphoneos; 685 | SKIP_INSTALL = YES; 686 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 687 | TARGETED_DEVICE_FAMILY = "1,2"; 688 | VALIDATE_PRODUCT = YES; 689 | VERSIONING_SYSTEM = "apple-generic"; 690 | VERSION_INFO_PREFIX = ""; 691 | }; 692 | name = Release; 693 | }; 694 | /* End XCBuildConfiguration section */ 695 | 696 | /* Begin XCConfigurationList section */ 697 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 698 | isa = XCConfigurationList; 699 | buildConfigurations = ( 700 | 33DA7F43A1D2FA3C74A8C8FC246E1FA6 /* Debug */, 701 | 731DC216E1A58545B559F6E0A2418060 /* Release */, 702 | ); 703 | defaultConfigurationIsVisible = 0; 704 | defaultConfigurationName = Release; 705 | }; 706 | B2A84455B56E43D3299380FA7EDDB8B2 /* Build configuration list for PBXNativeTarget "FOView" */ = { 707 | isa = XCConfigurationList; 708 | buildConfigurations = ( 709 | B87A46012F9D2EC2D299DBB756147768 /* Debug */, 710 | 727BEC76B63697E542B121455D44785A /* Release */, 711 | ); 712 | defaultConfigurationIsVisible = 0; 713 | defaultConfigurationName = Release; 714 | }; 715 | D509830F7A66ED7374086CC7472DE467 /* Build configuration list for PBXNativeTarget "Pods-FOView_Tests" */ = { 716 | isa = XCConfigurationList; 717 | buildConfigurations = ( 718 | 7FD53A696405229311B8042EF98D0025 /* Debug */, 719 | 8A4F1ADD8F39D38590DA45A5EB87072D /* Release */, 720 | ); 721 | defaultConfigurationIsVisible = 0; 722 | defaultConfigurationName = Release; 723 | }; 724 | FC8DA8BD9A61B11435F56BCB59AE81A2 /* Build configuration list for PBXNativeTarget "Pods-FOView_Example" */ = { 725 | isa = XCConfigurationList; 726 | buildConfigurations = ( 727 | 44DFFF1AD3303163D35A12386990A443 /* Debug */, 728 | F66CD9442162F7D938DF45AC3517A2E7 /* Release */, 729 | ); 730 | defaultConfigurationIsVisible = 0; 731 | defaultConfigurationName = Release; 732 | }; 733 | /* End XCConfigurationList section */ 734 | }; 735 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 736 | } 737 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FOView/FOView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_FOView : NSObject 3 | @end 4 | @implementation PodsDummy_FOView 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FOView/FOView-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/FOView/FOView-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 FOViewVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char FOViewVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FOView/FOView.modulemap: -------------------------------------------------------------------------------- 1 | framework module FOView { 2 | umbrella header "FOView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FOView/FOView.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FOView 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FOView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FOView_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-FOView_Example/Pods-FOView_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## FOView 5 | 6 | Copyright (c) 2018 baran.karaoguz@ogr.sakarya.edu.tr 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FOView_Example/Pods-FOView_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2018 baran.karaoguz@ogr.sakarya.edu.tr <b.b.karaoguz@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | FOView 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FOView_Example/Pods-FOView_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_FOView_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_FOView_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FOView_Example/Pods-FOView_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # Used as a return value for each invocation of `strip_invalid_archs` function. 10 | STRIP_BINARY_RETVAL=0 11 | 12 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 13 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 14 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 15 | 16 | # Copies and strips a vendored framework 17 | install_framework() 18 | { 19 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 20 | local source="${BUILT_PRODUCTS_DIR}/$1" 21 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 22 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 23 | elif [ -r "$1" ]; then 24 | local source="$1" 25 | fi 26 | 27 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 28 | 29 | if [ -L "${source}" ]; then 30 | echo "Symlinked..." 31 | source="$(readlink "${source}")" 32 | fi 33 | 34 | # Use filter instead of exclude so missing patterns don't throw errors. 35 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 36 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 37 | 38 | local basename 39 | basename="$(basename -s .framework "$1")" 40 | binary="${destination}/${basename}.framework/${basename}" 41 | if ! [ -r "$binary" ]; then 42 | binary="${destination}/${basename}" 43 | fi 44 | 45 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 46 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 47 | strip_invalid_archs "$binary" 48 | fi 49 | 50 | # Resign the code if required by the build settings to avoid unstable apps 51 | code_sign_if_enabled "${destination}/$(basename "$1")" 52 | 53 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 54 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 55 | local swift_runtime_libs 56 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 57 | for lib in $swift_runtime_libs; do 58 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 59 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 60 | code_sign_if_enabled "${destination}/${lib}" 61 | done 62 | fi 63 | } 64 | 65 | # Copies and strips a vendored dSYM 66 | install_dsym() { 67 | local source="$1" 68 | if [ -r "$source" ]; then 69 | # Copy the dSYM into a the targets temp dir. 70 | 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}\"" 71 | 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}" 72 | 73 | local basename 74 | basename="$(basename -s .framework.dSYM "$source")" 75 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 76 | 77 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 78 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 79 | strip_invalid_archs "$binary" 80 | fi 81 | 82 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 83 | # Move the stripped file into its final destination. 84 | 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}\"" 85 | 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}" 86 | else 87 | # 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. 88 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 89 | fi 90 | fi 91 | } 92 | 93 | # Signs a framework with the provided identity 94 | code_sign_if_enabled() { 95 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 96 | # Use the current code_sign_identitiy 97 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 98 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 99 | 100 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 101 | code_sign_cmd="$code_sign_cmd &" 102 | fi 103 | echo "$code_sign_cmd" 104 | eval "$code_sign_cmd" 105 | fi 106 | } 107 | 108 | # Strip invalid architectures 109 | strip_invalid_archs() { 110 | binary="$1" 111 | # Get architectures for current target binary 112 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 113 | # Intersect them with the architectures we are building for 114 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 115 | # If there are no archs supported by this binary then warn the user 116 | if [[ -z "$intersected_archs" ]]; then 117 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 118 | STRIP_BINARY_RETVAL=0 119 | return 120 | fi 121 | stripped="" 122 | for arch in $binary_archs; do 123 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 124 | # Strip non-valid architectures in-place 125 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 126 | stripped="$stripped $arch" 127 | fi 128 | done 129 | if [[ "$stripped" ]]; then 130 | echo "Stripped $binary of architectures:$stripped" 131 | fi 132 | STRIP_BINARY_RETVAL=1 133 | } 134 | 135 | 136 | if [[ "$CONFIGURATION" == "Debug" ]]; then 137 | install_framework "${BUILT_PRODUCTS_DIR}/FOView/FOView.framework" 138 | fi 139 | if [[ "$CONFIGURATION" == "Release" ]]; then 140 | install_framework "${BUILT_PRODUCTS_DIR}/FOView/FOView.framework" 141 | fi 142 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 143 | wait 144 | fi 145 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FOView_Example/Pods-FOView_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.xib) 55 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 56 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FOView_Example/Pods-FOView_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_FOView_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_FOView_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FOView_Example/Pods-FOView_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FOView" 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}/FOView/FOView.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "FOView" 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-FOView_Example/Pods-FOView_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_FOView_Example { 2 | umbrella header "Pods-FOView_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FOView_Example/Pods-FOView_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FOView" 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}/FOView/FOView.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "FOView" 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-FOView_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-FOView_Tests/Pods-FOView_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-FOView_Tests/Pods-FOView_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-FOView_Tests/Pods-FOView_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_FOView_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_FOView_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FOView_Tests/Pods-FOView_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # Used as a return value for each invocation of `strip_invalid_archs` function. 10 | STRIP_BINARY_RETVAL=0 11 | 12 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 13 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 14 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 15 | 16 | # Copies and strips a vendored framework 17 | install_framework() 18 | { 19 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 20 | local source="${BUILT_PRODUCTS_DIR}/$1" 21 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 22 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 23 | elif [ -r "$1" ]; then 24 | local source="$1" 25 | fi 26 | 27 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 28 | 29 | if [ -L "${source}" ]; then 30 | echo "Symlinked..." 31 | source="$(readlink "${source}")" 32 | fi 33 | 34 | # Use filter instead of exclude so missing patterns don't throw errors. 35 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 36 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 37 | 38 | local basename 39 | basename="$(basename -s .framework "$1")" 40 | binary="${destination}/${basename}.framework/${basename}" 41 | if ! [ -r "$binary" ]; then 42 | binary="${destination}/${basename}" 43 | fi 44 | 45 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 46 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 47 | strip_invalid_archs "$binary" 48 | fi 49 | 50 | # Resign the code if required by the build settings to avoid unstable apps 51 | code_sign_if_enabled "${destination}/$(basename "$1")" 52 | 53 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 54 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 55 | local swift_runtime_libs 56 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 57 | for lib in $swift_runtime_libs; do 58 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 59 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 60 | code_sign_if_enabled "${destination}/${lib}" 61 | done 62 | fi 63 | } 64 | 65 | # Copies and strips a vendored dSYM 66 | install_dsym() { 67 | local source="$1" 68 | if [ -r "$source" ]; then 69 | # Copy the dSYM into a the targets temp dir. 70 | 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}\"" 71 | 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}" 72 | 73 | local basename 74 | basename="$(basename -s .framework.dSYM "$source")" 75 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 76 | 77 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 78 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 79 | strip_invalid_archs "$binary" 80 | fi 81 | 82 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 83 | # Move the stripped file into its final destination. 84 | 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}\"" 85 | 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}" 86 | else 87 | # 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. 88 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 89 | fi 90 | fi 91 | } 92 | 93 | # Signs a framework with the provided identity 94 | code_sign_if_enabled() { 95 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 96 | # Use the current code_sign_identitiy 97 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 98 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 99 | 100 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 101 | code_sign_cmd="$code_sign_cmd &" 102 | fi 103 | echo "$code_sign_cmd" 104 | eval "$code_sign_cmd" 105 | fi 106 | } 107 | 108 | # Strip invalid architectures 109 | strip_invalid_archs() { 110 | binary="$1" 111 | # Get architectures for current target binary 112 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 113 | # Intersect them with the architectures we are building for 114 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 115 | # If there are no archs supported by this binary then warn the user 116 | if [[ -z "$intersected_archs" ]]; then 117 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 118 | STRIP_BINARY_RETVAL=0 119 | return 120 | fi 121 | stripped="" 122 | for arch in $binary_archs; do 123 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 124 | # Strip non-valid architectures in-place 125 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 126 | stripped="$stripped $arch" 127 | fi 128 | done 129 | if [[ "$stripped" ]]; then 130 | echo "Stripped $binary of architectures:$stripped" 131 | fi 132 | STRIP_BINARY_RETVAL=1 133 | } 134 | 135 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 136 | wait 137 | fi 138 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FOView_Tests/Pods-FOView_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.xib) 55 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 56 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FOView_Tests/Pods-FOView_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_FOView_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_FOView_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FOView_Tests/Pods-FOView_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FOView" 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}/FOView/FOView.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-FOView_Tests/Pods-FOView_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_FOView_Tests { 2 | umbrella header "Pods-FOView_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-FOView_Tests/Pods-FOView_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FOView" 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}/FOView/FOView.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 XCTest 2 | import FOView 3 | 4 | class Tests: XCTestCase { 5 | 6 | override func setUp() { 7 | super.setUp() 8 | // Put setup code here. This method is called before the invocation of each test method in the class. 9 | } 10 | 11 | override func tearDown() { 12 | // Put teardown code here. This method is called after the invocation of each test method in the class. 13 | super.tearDown() 14 | } 15 | 16 | func testExample() { 17 | // This is an example of a functional test case. 18 | XCTAssert(true, "Pass") 19 | } 20 | 21 | func testPerformanceExample() { 22 | // This is an example of a performance test case. 23 | self.measure() { 24 | // Put the code you want to measure the time of here. 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /FOView.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint FOView.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'FOView' 11 | s.version = '0.1.4' 12 | s.summary = 'almost every application needs an onboarding page. Fast Onboarding will eliminate this need.' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = <<-DESC 21 | almost every application needs an onboarding page. Fast Onboarding will eliminate this need.hopefully it benefits your business 22 | DESC 23 | 24 | s.homepage = 'https://github.com/barankaraoguzzz/FastOnBoarding' 25 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 26 | s.license = { :type => 'MIT', :file => 'LICENSE' } 27 | s.author = { 'baran.karaoguz@ogr.sakarya.edu.tr' => 'b.b.karaoguz@gmail.com' } 28 | s.source = { :git => 'https://github.com/barankaraoguzzz/FastOnBoarding.git', :tag => s.version } 29 | # s.social_media_url = 'https://twitter.com/' 30 | 31 | s.ios.deployment_target = '8.0' 32 | 33 | s.source_files = 'FOView/Classes/**/*' 34 | 35 | 36 | 37 | end 38 | -------------------------------------------------------------------------------- /FOView/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barankaraoguzzz/FastOnBoarding/740b661340cb00a3c1dfdf957570b91fda7bcddc/FOView/Assets/.gitkeep -------------------------------------------------------------------------------- /FOView/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barankaraoguzzz/FastOnBoarding/740b661340cb00a3c1dfdf957570b91fda7bcddc/FOView/Classes/.gitkeep -------------------------------------------------------------------------------- /FOView/Classes/FOAnimation.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FOAnimation.swift 3 | // FastOnBoarding_Example 4 | // 5 | // Created by Baran on 4.04.2018. 6 | // Copyright © 2018 CocoaPods. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import UIKit 11 | 12 | class FOAnimation { 13 | 14 | let animation = CATransition() 15 | 16 | internal func addAnimation(_ animationStyle : AnimationStyle, view: UIView, subTypeStyle: subTypeStyle) { 17 | animation.duration = 1.0 18 | animation.startProgress = 0.0 19 | animation.endProgress = 1.0 20 | animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseOut) 21 | animation.type = animationStyle.rawValue 22 | switch subTypeStyle { 23 | case .up : animation.subtype = kCATransitionFromBottom 24 | case .down : animation.subtype = kCATransitionFromTop 25 | case .right: animation.subtype = kCATransitionFromLeft 26 | case .left : animation.subtype = kCATransitionFromRight 27 | } 28 | animation.isRemovedOnCompletion = false 29 | animation.fillMode = "extended" 30 | view.layer.add(animation, forKey: "pageFlipAnimation") 31 | } 32 | } 33 | 34 | 35 | -------------------------------------------------------------------------------- /FOView/Classes/FODelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FODelegate.swift 3 | // FOView 4 | // 5 | // Created by Baran on 6.04.2018. 6 | 7 | import UIKit 8 | 9 | public protocol FODelegate: class { 10 | func FOnboarding(_ foView: FOView, getCountPageControl: Int) 11 | } 12 | 13 | 14 | public extension FODelegate { 15 | func FOnboarding(_ foView: FOView, getCountPageControl: Int) {} 16 | } 17 | 18 | 19 | -------------------------------------------------------------------------------- /FOView/Classes/FOEnums.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FOEnums.swift 3 | // FastOnBoarding_Example 4 | // 5 | // Created by Baran on 4.04.2018. 6 | // Copyright © 2018 CocoaPods. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import UIKit 11 | 12 | public enum animateDirection { 13 | case horizantal 14 | case vertical 15 | } 16 | 17 | public enum AnimationStyle : String { 18 | case cube = "cube" 19 | case alignedCube = "alignedCube" 20 | case flip = "flip" 21 | case alignedFlip = "alignedFlip" 22 | case oglFlip = "oglFlip" 23 | case rotate = "rotate" 24 | case pageCurl = "pageCurl" 25 | case pageUnCurl = "pageUnCurl" 26 | case rippleEffect = "rippleEffect" 27 | case suckEffect = "suckEffect" 28 | } 29 | 30 | public enum subTypeStyle { 31 | case up 32 | case down 33 | case right 34 | case left 35 | } 36 | -------------------------------------------------------------------------------- /FOView/Classes/FOView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FOView.swift 3 | // FastOnBoarding_Example 4 | // 5 | // Created by Baran on 4.04.2018. 6 | // Copyright © 2018 CocoaPods. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | public class FOView: UIView { 12 | 13 | //Mark: -Private Veriable 14 | private var _imageView : UIImageView? 15 | private var _pageControl : UIPageControl? 16 | private var foAnimate = FOAnimation() 17 | 18 | //Mark: -Public Veriable 19 | public var foImages : [UIImage]? 20 | public var foDiriction = animateDirection.horizantal 21 | public var isPageControlEnable = true 22 | public var animateType = AnimationStyle.alignedFlip 23 | 24 | open var isPageControl : Bool = true { 25 | didSet { 26 | if self.isPageControl { 27 | _pageControl?.isHidden = false 28 | } else { 29 | _pageControl?.isHidden = true 30 | } 31 | } 32 | } 33 | 34 | 35 | //Mark: -Delegate 36 | public weak var delegate: FODelegate? 37 | 38 | 39 | 40 | override init(frame: CGRect) { 41 | super.init(frame: frame) 42 | commonInıt() 43 | } 44 | 45 | required public init?(coder aDecoder: NSCoder) { 46 | super.init(coder: aDecoder) 47 | commonInıt() 48 | } 49 | 50 | override public func layoutSubviews() { 51 | setViewFrame() 52 | } 53 | 54 | private func commonInıt(){ 55 | _imageView = UIImageView() 56 | _pageControl = UIPageControl() 57 | 58 | } 59 | 60 | public func startOnboarding(){ 61 | addSwipe() 62 | } 63 | 64 | private func setViewFrame(){ 65 | _imageView?.frame = self.frame 66 | _imageView?.contentMode = .scaleAspectFill 67 | _imageView?.clipsToBounds = true 68 | print(isPageControl) 69 | self.addSubview(_imageView!) 70 | //Mark: - *************************************** 71 | if isPageControlEnable { 72 | _pageControl?.frame = CGRect(x: 0, y: self.frame.height - 30, width: self.frame.width, height: 30) 73 | _pageControl?.backgroundColor = UIColor.black.withAlphaComponent(0.4) 74 | _pageControl?.tintColor = UIColor.gray 75 | _pageControl?.currentPageIndicatorTintColor = UIColor.white 76 | self.addSubview(_pageControl!) 77 | } 78 | } 79 | 80 | fileprivate func addSwipe(){ 81 | self.isUserInteractionEnabled = true 82 | _imageView?.image = foImages![0] 83 | _pageControl?.numberOfPages = (foImages?.count)! 84 | 85 | switch foDiriction { 86 | case .horizantal: 87 | //Mark: -Right swipe add 88 | let gestureRight = UISwipeGestureRecognizer(target: self, action: #selector(directionHorizantal(gesture:))) 89 | gestureRight.direction = .right 90 | self.addGestureRecognizer(gestureRight) 91 | 92 | //Mark: -Left swipe add 93 | let gestureLeft = UISwipeGestureRecognizer(target: self, action: #selector(directionHorizantal(gesture:))) 94 | gestureRight.direction = .left 95 | self.addGestureRecognizer(gestureLeft) 96 | 97 | case .vertical: 98 | 99 | //Mark: -Down swipe add 100 | let gestureDown = UISwipeGestureRecognizer(target: self, action: #selector(directionVertical(gesture:))) 101 | gestureDown.direction = .down 102 | self.addGestureRecognizer(gestureDown) 103 | 104 | //Mark: -Up swipe add 105 | let gestureUp = UISwipeGestureRecognizer(target: self, action: #selector(directionVertical(gesture:))) 106 | gestureUp.direction = .up 107 | self.addGestureRecognizer(gestureUp) 108 | 109 | } 110 | } 111 | 112 | 113 | @objc fileprivate func directionHorizantal(gesture :UIGestureRecognizer){ 114 | if let swipeGesture = gesture as? UISwipeGestureRecognizer { 115 | switch swipeGesture.direction { 116 | case UISwipeGestureRecognizerDirection.right: 117 | if (_pageControl?.currentPage)! > 0{ 118 | foAnimate.addAnimation(animateType, view: self, subTypeStyle: .right) 119 | _pageControl?.currentPage -= 1 120 | _imageView?.image = foImages?[(_pageControl?.currentPage)!] 121 | } 122 | case UISwipeGestureRecognizerDirection.left: 123 | if (_pageControl?.currentPage)! < (foImages?.count)! - 1{ 124 | foAnimate.addAnimation(animateType, view: self, subTypeStyle: .left) 125 | _pageControl?.currentPage += 1 126 | _imageView?.image = foImages?[(_pageControl?.currentPage)!] 127 | } 128 | default:break 129 | } 130 | 131 | if delegate != nil { 132 | delegate?.FOnboarding(self, getCountPageControl: (_pageControl?.currentPage)!) 133 | } 134 | 135 | } 136 | } 137 | 138 | @objc fileprivate func directionVertical(gesture :UIGestureRecognizer){ 139 | if let swipeGesture = gesture as? UISwipeGestureRecognizer { 140 | switch swipeGesture.direction { 141 | case UISwipeGestureRecognizerDirection.down: 142 | print("down") 143 | if (_pageControl?.currentPage)! > 0{ 144 | foAnimate.addAnimation(animateType, view: self, subTypeStyle: .down) 145 | _pageControl?.currentPage -= 1 146 | _imageView?.image = foImages?[(_pageControl?.currentPage)!] 147 | } 148 | case UISwipeGestureRecognizerDirection.up: 149 | print("Up") 150 | if (_pageControl?.currentPage)! < (foImages?.count)! - 1{ 151 | foAnimate.addAnimation(animateType, view: self, subTypeStyle: .up) 152 | _pageControl?.currentPage += 1 153 | _imageView?.image = foImages?[(_pageControl?.currentPage)!] 154 | } 155 | default:break 156 | } 157 | 158 | if delegate != nil { 159 | delegate?.FOnboarding(self, getCountPageControl: (_pageControl?.currentPage)!) 160 | } 161 | } 162 | } 163 | } 164 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2018 baran.karaoguz@ogr.sakarya.edu.tr 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # FastOnBoarding 2 | 3 | [![CI Status](https://img.shields.io/badge/build-online-green.svg?longCache=true&style=flat)](https://travis-ci.org/baran.karaoguz@ogr.sakarya.edu.tr/FastOnBoarding) 4 | [![Version](https://img.shields.io/badge/pod-v0.2.0-orange.svg?longCache=true&style=flat)](http://cocoapods.org/pods/FastOnBoarding) 5 | [![License](https://img.shields.io/cocoapods/l/FastOnBoarding.svg?style=flat)](http://cocoapods.org/pods/FastOnBoarding) 6 | [![Platform](https://img.shields.io/badge/platform-ios-blue.svg?longCache=true&style=flat)](http://cocoapods.org/pods/FastOnBoarding) 7 | [![Language](https://img.shields.io/badge/language-swift-green.svg?longCache=true&style=flat)](http://cocoapods.org/pods/FastOnBoarding) 8 | 9 | 10 | 11 | 12 | **FastOnBoarding framework helps you make your onboard page.You write just a line code and finished onboard page. It has 11 different animation** 13 | 14 | **these :** 15 | - cube 16 | - alignedCube 17 | - flip 18 | - alignedFlip 19 | - oglFlip 20 | - rotate 21 | - pageCurl 22 | - pageUnCurl 23 | - rippleEffect 24 | - suckEffect 25 | 26 | 27 | 28 | ![](https://media.giphy.com/media/l4FGysXyvvZsR9f68/giphy.gif) , ![](https://media.giphy.com/media/3oKIP8pPkC8BG88qKQ/giphy.gif) , ![](https://media.giphy.com/media/l4FGwALpCwhtiscZG/giphy.gif) 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | ## Example 37 | 38 | ```swift 39 | import UIKit 40 | import FOView 41 | 42 | class ViewController: UIViewController { 43 | 44 | @IBOutlet weak var onboardingView: FOView! 45 | 46 | override func viewDidLoad() { 47 | super.viewDidLoad() 48 | onboardingView.foImages = imageViewArray 49 | onboardingView.animateType = .oglFlip 50 | onboardingView.foDiriction = .horizantal 51 | onboardingView.delegate = self //For Delegate 52 | onboardingView.startOnboarding() 53 | } 54 | 55 | let imageViewArray : [UIImage]? = [#imageLiteral(resourceName: "image1"),#imageLiteral(resourceName: "image2"),#imageLiteral(resourceName: "image3")] 56 | } 57 | 58 | 59 | ``` 60 | 61 | ## Implement FODelegate 62 | ###### If you want to detect onboarding index, you should use FODelegate. :) 63 | 64 | ```swift 65 | extension ViewController: FODelegate { 66 | func FOnboarding(_ foView: FOView, getCountPageControl: Int) { 67 | print(getCountPageControl) 68 | } 69 | } 70 | ``` 71 | 72 | ## Optionally Method 73 | #### isPageControl 74 | ###### If you want to make a custom page control. you should hide FOView's page control. 75 | ```swift 76 | onboardingView.isPageControl = false // this is optional method. default = true 77 | ``` 78 | 79 | ## Install via CocoaPods 80 | 81 | FastOnBoarding is available through [CocoaPods](http://cocoapods.org). To install 82 | it, simply add the following line to your Podfile: 83 | 84 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 85 | 86 | ```ruby 87 | platform :ios, '8.0' 88 | use_frameworks! 89 | 90 | pod "FOView" 91 | ``` 92 | 93 | ####Then on the top of files where you are going to use this: 94 | ```swift 95 | import FOView 96 | ``` 97 | 98 | 99 | ## Author 100 | 101 | Baran Batuhan Karaoğuz([@Baran](https://github.com/barankaraoguzzz)) 102 | 103 | ## License 104 | 105 | FastOnBoarding is available under the MIT license. See the LICENSE file for more info. 106 | 107 | ##Keywords swift, swift3, Animating, Pagecurl, Cube, Onboarding, Onboard, xcode, ios 108 | 109 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------