├── .DS_Store ├── README.md ├── TutorialScreenSample.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── fahidattique.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── xcuserdata │ └── fahidattique.xcuserdatad │ ├── xcdebugger │ └── Breakpoints_v2.xcbkptlist │ └── xcschemes │ ├── TutorialScreenSample.xcscheme │ └── xcschememanagement.plist ├── TutorialScreenSample ├── .DS_Store ├── AppDelegate.swift ├── Assets.xcassets │ ├── .DS_Store │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ ├── GooglePlus.imageset │ │ ├── Contents.json │ │ ├── GooglePlus.png │ │ ├── GooglePlus@2x.png │ │ └── GooglePlus@3x.png │ ├── Instagram.imageset │ │ ├── Contents.json │ │ ├── Instagram.png │ │ ├── Instagram@2x.png │ │ └── Instagram@3x.png │ ├── Twitter.imageset │ │ ├── Contents.json │ │ ├── Twitter.png │ │ ├── Twitter@2x.png │ │ └── Twitter@3x.png │ ├── mortarboard.imageset │ │ ├── Contents.json │ │ └── mortarboard.png │ ├── music.imageset │ │ ├── Contents.json │ │ └── music.png │ └── stopwatch.imageset │ │ ├── Contents.json │ │ └── stopwatch.png ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── FAChildVC.swift ├── FAChildVC_0.xib ├── FAChildVC_1.xib ├── FAChildVC_2.xib ├── FAChildVC_3.xib ├── FAImage.jpg ├── FAView.swift ├── Info.plist ├── UIView.swift └── ViewController.swift ├── TutorialScreenSampleTests ├── Info.plist └── TutorialScreenSampleTests.swift └── TutorialScreenSampleUITests ├── Info.plist └── TutorialScreenSampleUITests.swift /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fahidattique55/FAParallaxTutorialScreens/a29cd2c56e87e29fce2f55840a2b9e6cf68c117b/.DS_Store -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![Alt text](http://i.imgur.com/caLjqhI.png "FAParallaxTutorialScreens-logo") 2 | 3 | 4 | 5 |

6 | 7 | 8 | 9 |

10 | 11 | 12 | [![Swift version](https://img.shields.io/badge/swift-3.0-orange.svg?style=flat.svg)](https://img.shields.io/badge/swift-3.0-orange.svg?style=flat.svg) 13 | 14 | 15 | 16 | 17 | ## Features 18 | 19 | * You can make beautiful Parallax introductory screens of your application 20 | * You can easily integrate social media logins 21 | * Great output from less code & easy to modify 22 | 23 | 24 | 25 | ## Installation 26 | 27 | * FAParallaxTutorialScreens requires iOS 8.0 or later.* 28 | 29 | 30 | 31 | ## License 32 | 33 | This project is licensed under the Apache License 2.0. 34 | 35 | For more details visit http://www.apache.org/licenses/LICENSE-2.0 36 | 37 | 38 | 39 | ## Author 40 | 41 | **Fahid Attique** - (https://github.com/fahidattique55) 42 | 43 | 44 | -------------------------------------------------------------------------------- /TutorialScreenSample.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 292932FE1E74588900008F39 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 292932FD1E74588900008F39 /* AppDelegate.swift */; }; 11 | 292933001E74588900008F39 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 292932FF1E74588900008F39 /* ViewController.swift */; }; 12 | 292933031E74588900008F39 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 292933011E74588900008F39 /* Main.storyboard */; }; 13 | 292933051E74588900008F39 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 292933041E74588900008F39 /* Assets.xcassets */; }; 14 | 292933081E74588900008F39 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 292933061E74588900008F39 /* LaunchScreen.storyboard */; }; 15 | 292933131E74588A00008F39 /* TutorialScreenSampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 292933121E74588A00008F39 /* TutorialScreenSampleTests.swift */; }; 16 | 2929331E1E74588A00008F39 /* TutorialScreenSampleUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2929331D1E74588A00008F39 /* TutorialScreenSampleUITests.swift */; }; 17 | 2929332C1E7458B000008F39 /* FAImage.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 2929332B1E7458B000008F39 /* FAImage.jpg */; }; 18 | 2933C90A1E770867001828F7 /* FAChildVC_0.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2933C9091E770867001828F7 /* FAChildVC_0.xib */; }; 19 | 2933C90C1E770871001828F7 /* FAChildVC_1.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2933C90B1E770871001828F7 /* FAChildVC_1.xib */; }; 20 | 2933C90E1E770878001828F7 /* FAChildVC_2.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2933C90D1E770878001828F7 /* FAChildVC_2.xib */; }; 21 | 2933C9101E770880001828F7 /* FAChildVC_3.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2933C90F1E770880001828F7 /* FAChildVC_3.xib */; }; 22 | 2933C9121E77089C001828F7 /* FAChildVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2933C9111E77089C001828F7 /* FAChildVC.swift */; }; 23 | 2933C9151E7722EC001828F7 /* FAView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2933C9131E7722EC001828F7 /* FAView.swift */; }; 24 | 2933C9161E7722EC001828F7 /* UIView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2933C9141E7722EC001828F7 /* UIView.swift */; }; 25 | 296410DC1E79C92600299588 /* README.md in Sources */ = {isa = PBXBuildFile; fileRef = 296410DB1E79C92600299588 /* README.md */; }; 26 | /* End PBXBuildFile section */ 27 | 28 | /* Begin PBXContainerItemProxy section */ 29 | 2929330F1E74588A00008F39 /* PBXContainerItemProxy */ = { 30 | isa = PBXContainerItemProxy; 31 | containerPortal = 292932F21E74588900008F39 /* Project object */; 32 | proxyType = 1; 33 | remoteGlobalIDString = 292932F91E74588900008F39; 34 | remoteInfo = TutorialScreenSample; 35 | }; 36 | 2929331A1E74588A00008F39 /* PBXContainerItemProxy */ = { 37 | isa = PBXContainerItemProxy; 38 | containerPortal = 292932F21E74588900008F39 /* Project object */; 39 | proxyType = 1; 40 | remoteGlobalIDString = 292932F91E74588900008F39; 41 | remoteInfo = TutorialScreenSample; 42 | }; 43 | /* End PBXContainerItemProxy section */ 44 | 45 | /* Begin PBXFileReference section */ 46 | 292932FA1E74588900008F39 /* TutorialScreenSample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TutorialScreenSample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | 292932FD1E74588900008F39 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 48 | 292932FF1E74588900008F39 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 49 | 292933021E74588900008F39 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 50 | 292933041E74588900008F39 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 51 | 292933071E74588900008F39 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 52 | 292933091E74588900008F39 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 53 | 2929330E1E74588A00008F39 /* TutorialScreenSampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TutorialScreenSampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 54 | 292933121E74588A00008F39 /* TutorialScreenSampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TutorialScreenSampleTests.swift; sourceTree = ""; }; 55 | 292933141E74588A00008F39 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 56 | 292933191E74588A00008F39 /* TutorialScreenSampleUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TutorialScreenSampleUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 57 | 2929331D1E74588A00008F39 /* TutorialScreenSampleUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TutorialScreenSampleUITests.swift; sourceTree = ""; }; 58 | 2929331F1E74588A00008F39 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 59 | 2929332B1E7458B000008F39 /* FAImage.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = FAImage.jpg; sourceTree = ""; }; 60 | 2933C9091E770867001828F7 /* FAChildVC_0.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = FAChildVC_0.xib; sourceTree = ""; }; 61 | 2933C90B1E770871001828F7 /* FAChildVC_1.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = FAChildVC_1.xib; sourceTree = ""; }; 62 | 2933C90D1E770878001828F7 /* FAChildVC_2.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = FAChildVC_2.xib; sourceTree = ""; }; 63 | 2933C90F1E770880001828F7 /* FAChildVC_3.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = FAChildVC_3.xib; sourceTree = ""; }; 64 | 2933C9111E77089C001828F7 /* FAChildVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FAChildVC.swift; sourceTree = ""; }; 65 | 2933C9131E7722EC001828F7 /* FAView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FAView.swift; sourceTree = ""; }; 66 | 2933C9141E7722EC001828F7 /* UIView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UIView.swift; sourceTree = ""; }; 67 | 296410DB1E79C92600299588 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 68 | /* End PBXFileReference section */ 69 | 70 | /* Begin PBXFrameworksBuildPhase section */ 71 | 292932F71E74588900008F39 /* Frameworks */ = { 72 | isa = PBXFrameworksBuildPhase; 73 | buildActionMask = 2147483647; 74 | files = ( 75 | ); 76 | runOnlyForDeploymentPostprocessing = 0; 77 | }; 78 | 2929330B1E74588A00008F39 /* Frameworks */ = { 79 | isa = PBXFrameworksBuildPhase; 80 | buildActionMask = 2147483647; 81 | files = ( 82 | ); 83 | runOnlyForDeploymentPostprocessing = 0; 84 | }; 85 | 292933161E74588A00008F39 /* Frameworks */ = { 86 | isa = PBXFrameworksBuildPhase; 87 | buildActionMask = 2147483647; 88 | files = ( 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | /* End PBXFrameworksBuildPhase section */ 93 | 94 | /* Begin PBXGroup section */ 95 | 292932F11E74588900008F39 = { 96 | isa = PBXGroup; 97 | children = ( 98 | 296410DB1E79C92600299588 /* README.md */, 99 | 292932FC1E74588900008F39 /* FAParallaxTutorialScreens */, 100 | 292933111E74588A00008F39 /* TutorialScreenSampleTests */, 101 | 2929331C1E74588A00008F39 /* TutorialScreenSampleUITests */, 102 | 292932FB1E74588900008F39 /* Products */, 103 | ); 104 | sourceTree = ""; 105 | }; 106 | 292932FB1E74588900008F39 /* Products */ = { 107 | isa = PBXGroup; 108 | children = ( 109 | 292932FA1E74588900008F39 /* TutorialScreenSample.app */, 110 | 2929330E1E74588A00008F39 /* TutorialScreenSampleTests.xctest */, 111 | 292933191E74588A00008F39 /* TutorialScreenSampleUITests.xctest */, 112 | ); 113 | name = Products; 114 | sourceTree = ""; 115 | }; 116 | 292932FC1E74588900008F39 /* FAParallaxTutorialScreens */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 296410D31E79B66E00299588 /* AppDelegate */, 120 | 296410D21E79B65900299588 /* Background Image */, 121 | 296410D11E79AD7400299588 /* FAUtility */, 122 | 296410D41E79B67600299588 /* Controllers */, 123 | 296410D51E79B67E00299588 /* Stories */, 124 | 296410D61E79B69900299588 /* Assets */, 125 | 296410D71E79B6A400299588 /* Supporting Files */, 126 | ); 127 | name = FAParallaxTutorialScreens; 128 | path = TutorialScreenSample; 129 | sourceTree = ""; 130 | }; 131 | 292933111E74588A00008F39 /* TutorialScreenSampleTests */ = { 132 | isa = PBXGroup; 133 | children = ( 134 | 292933121E74588A00008F39 /* TutorialScreenSampleTests.swift */, 135 | 292933141E74588A00008F39 /* Info.plist */, 136 | ); 137 | path = TutorialScreenSampleTests; 138 | sourceTree = ""; 139 | }; 140 | 2929331C1E74588A00008F39 /* TutorialScreenSampleUITests */ = { 141 | isa = PBXGroup; 142 | children = ( 143 | 2929331D1E74588A00008F39 /* TutorialScreenSampleUITests.swift */, 144 | 2929331F1E74588A00008F39 /* Info.plist */, 145 | ); 146 | path = TutorialScreenSampleUITests; 147 | sourceTree = ""; 148 | }; 149 | 2933C9081E770843001828F7 /* FAChildVCs */ = { 150 | isa = PBXGroup; 151 | children = ( 152 | 2933C9111E77089C001828F7 /* FAChildVC.swift */, 153 | 2933C9091E770867001828F7 /* FAChildVC_0.xib */, 154 | 2933C90B1E770871001828F7 /* FAChildVC_1.xib */, 155 | 2933C90D1E770878001828F7 /* FAChildVC_2.xib */, 156 | 2933C90F1E770880001828F7 /* FAChildVC_3.xib */, 157 | ); 158 | name = FAChildVCs; 159 | sourceTree = ""; 160 | }; 161 | 296410D11E79AD7400299588 /* FAUtility */ = { 162 | isa = PBXGroup; 163 | children = ( 164 | 2933C9081E770843001828F7 /* FAChildVCs */, 165 | 296410D81E79BDDA00299588 /* FAViews */, 166 | ); 167 | name = FAUtility; 168 | sourceTree = ""; 169 | }; 170 | 296410D21E79B65900299588 /* Background Image */ = { 171 | isa = PBXGroup; 172 | children = ( 173 | 2929332B1E7458B000008F39 /* FAImage.jpg */, 174 | ); 175 | name = "Background Image"; 176 | sourceTree = ""; 177 | }; 178 | 296410D31E79B66E00299588 /* AppDelegate */ = { 179 | isa = PBXGroup; 180 | children = ( 181 | 292932FD1E74588900008F39 /* AppDelegate.swift */, 182 | ); 183 | name = AppDelegate; 184 | sourceTree = ""; 185 | }; 186 | 296410D41E79B67600299588 /* Controllers */ = { 187 | isa = PBXGroup; 188 | children = ( 189 | 292932FF1E74588900008F39 /* ViewController.swift */, 190 | ); 191 | name = Controllers; 192 | sourceTree = ""; 193 | }; 194 | 296410D51E79B67E00299588 /* Stories */ = { 195 | isa = PBXGroup; 196 | children = ( 197 | 292933011E74588900008F39 /* Main.storyboard */, 198 | 292933061E74588900008F39 /* LaunchScreen.storyboard */, 199 | ); 200 | name = Stories; 201 | sourceTree = ""; 202 | }; 203 | 296410D61E79B69900299588 /* Assets */ = { 204 | isa = PBXGroup; 205 | children = ( 206 | 292933041E74588900008F39 /* Assets.xcassets */, 207 | ); 208 | name = Assets; 209 | sourceTree = ""; 210 | }; 211 | 296410D71E79B6A400299588 /* Supporting Files */ = { 212 | isa = PBXGroup; 213 | children = ( 214 | 292933091E74588900008F39 /* Info.plist */, 215 | ); 216 | name = "Supporting Files"; 217 | sourceTree = ""; 218 | }; 219 | 296410D81E79BDDA00299588 /* FAViews */ = { 220 | isa = PBXGroup; 221 | children = ( 222 | 2933C9141E7722EC001828F7 /* UIView.swift */, 223 | 2933C9131E7722EC001828F7 /* FAView.swift */, 224 | ); 225 | name = FAViews; 226 | sourceTree = ""; 227 | }; 228 | /* End PBXGroup section */ 229 | 230 | /* Begin PBXNativeTarget section */ 231 | 292932F91E74588900008F39 /* TutorialScreenSample */ = { 232 | isa = PBXNativeTarget; 233 | buildConfigurationList = 292933221E74588A00008F39 /* Build configuration list for PBXNativeTarget "TutorialScreenSample" */; 234 | buildPhases = ( 235 | 292932F61E74588900008F39 /* Sources */, 236 | 292932F71E74588900008F39 /* Frameworks */, 237 | 292932F81E74588900008F39 /* Resources */, 238 | ); 239 | buildRules = ( 240 | ); 241 | dependencies = ( 242 | ); 243 | name = TutorialScreenSample; 244 | productName = TutorialScreenSample; 245 | productReference = 292932FA1E74588900008F39 /* TutorialScreenSample.app */; 246 | productType = "com.apple.product-type.application"; 247 | }; 248 | 2929330D1E74588A00008F39 /* TutorialScreenSampleTests */ = { 249 | isa = PBXNativeTarget; 250 | buildConfigurationList = 292933251E74588A00008F39 /* Build configuration list for PBXNativeTarget "TutorialScreenSampleTests" */; 251 | buildPhases = ( 252 | 2929330A1E74588A00008F39 /* Sources */, 253 | 2929330B1E74588A00008F39 /* Frameworks */, 254 | 2929330C1E74588A00008F39 /* Resources */, 255 | ); 256 | buildRules = ( 257 | ); 258 | dependencies = ( 259 | 292933101E74588A00008F39 /* PBXTargetDependency */, 260 | ); 261 | name = TutorialScreenSampleTests; 262 | productName = TutorialScreenSampleTests; 263 | productReference = 2929330E1E74588A00008F39 /* TutorialScreenSampleTests.xctest */; 264 | productType = "com.apple.product-type.bundle.unit-test"; 265 | }; 266 | 292933181E74588A00008F39 /* TutorialScreenSampleUITests */ = { 267 | isa = PBXNativeTarget; 268 | buildConfigurationList = 292933281E74588A00008F39 /* Build configuration list for PBXNativeTarget "TutorialScreenSampleUITests" */; 269 | buildPhases = ( 270 | 292933151E74588A00008F39 /* Sources */, 271 | 292933161E74588A00008F39 /* Frameworks */, 272 | 292933171E74588A00008F39 /* Resources */, 273 | ); 274 | buildRules = ( 275 | ); 276 | dependencies = ( 277 | 2929331B1E74588A00008F39 /* PBXTargetDependency */, 278 | ); 279 | name = TutorialScreenSampleUITests; 280 | productName = TutorialScreenSampleUITests; 281 | productReference = 292933191E74588A00008F39 /* TutorialScreenSampleUITests.xctest */; 282 | productType = "com.apple.product-type.bundle.ui-testing"; 283 | }; 284 | /* End PBXNativeTarget section */ 285 | 286 | /* Begin PBXProject section */ 287 | 292932F21E74588900008F39 /* Project object */ = { 288 | isa = PBXProject; 289 | attributes = { 290 | LastSwiftUpdateCheck = 0820; 291 | LastUpgradeCheck = 0820; 292 | ORGANIZATIONNAME = "Fahid Attique"; 293 | TargetAttributes = { 294 | 292932F91E74588900008F39 = { 295 | CreatedOnToolsVersion = 8.2.1; 296 | DevelopmentTeam = 664343KK2F; 297 | ProvisioningStyle = Manual; 298 | }; 299 | 2929330D1E74588A00008F39 = { 300 | CreatedOnToolsVersion = 8.2.1; 301 | ProvisioningStyle = Automatic; 302 | TestTargetID = 292932F91E74588900008F39; 303 | }; 304 | 292933181E74588A00008F39 = { 305 | CreatedOnToolsVersion = 8.2.1; 306 | ProvisioningStyle = Automatic; 307 | TestTargetID = 292932F91E74588900008F39; 308 | }; 309 | }; 310 | }; 311 | buildConfigurationList = 292932F51E74588900008F39 /* Build configuration list for PBXProject "TutorialScreenSample" */; 312 | compatibilityVersion = "Xcode 3.2"; 313 | developmentRegion = English; 314 | hasScannedForEncodings = 0; 315 | knownRegions = ( 316 | en, 317 | Base, 318 | ); 319 | mainGroup = 292932F11E74588900008F39; 320 | productRefGroup = 292932FB1E74588900008F39 /* Products */; 321 | projectDirPath = ""; 322 | projectRoot = ""; 323 | targets = ( 324 | 292932F91E74588900008F39 /* TutorialScreenSample */, 325 | 2929330D1E74588A00008F39 /* TutorialScreenSampleTests */, 326 | 292933181E74588A00008F39 /* TutorialScreenSampleUITests */, 327 | ); 328 | }; 329 | /* End PBXProject section */ 330 | 331 | /* Begin PBXResourcesBuildPhase section */ 332 | 292932F81E74588900008F39 /* Resources */ = { 333 | isa = PBXResourcesBuildPhase; 334 | buildActionMask = 2147483647; 335 | files = ( 336 | 292933081E74588900008F39 /* LaunchScreen.storyboard in Resources */, 337 | 292933051E74588900008F39 /* Assets.xcassets in Resources */, 338 | 292933031E74588900008F39 /* Main.storyboard in Resources */, 339 | 2933C90A1E770867001828F7 /* FAChildVC_0.xib in Resources */, 340 | 2933C90C1E770871001828F7 /* FAChildVC_1.xib in Resources */, 341 | 2933C90E1E770878001828F7 /* FAChildVC_2.xib in Resources */, 342 | 2933C9101E770880001828F7 /* FAChildVC_3.xib in Resources */, 343 | 2929332C1E7458B000008F39 /* FAImage.jpg in Resources */, 344 | ); 345 | runOnlyForDeploymentPostprocessing = 0; 346 | }; 347 | 2929330C1E74588A00008F39 /* Resources */ = { 348 | isa = PBXResourcesBuildPhase; 349 | buildActionMask = 2147483647; 350 | files = ( 351 | ); 352 | runOnlyForDeploymentPostprocessing = 0; 353 | }; 354 | 292933171E74588A00008F39 /* Resources */ = { 355 | isa = PBXResourcesBuildPhase; 356 | buildActionMask = 2147483647; 357 | files = ( 358 | ); 359 | runOnlyForDeploymentPostprocessing = 0; 360 | }; 361 | /* End PBXResourcesBuildPhase section */ 362 | 363 | /* Begin PBXSourcesBuildPhase section */ 364 | 292932F61E74588900008F39 /* Sources */ = { 365 | isa = PBXSourcesBuildPhase; 366 | buildActionMask = 2147483647; 367 | files = ( 368 | 296410DC1E79C92600299588 /* README.md in Sources */, 369 | 2933C9161E7722EC001828F7 /* UIView.swift in Sources */, 370 | 292933001E74588900008F39 /* ViewController.swift in Sources */, 371 | 2933C9151E7722EC001828F7 /* FAView.swift in Sources */, 372 | 2933C9121E77089C001828F7 /* FAChildVC.swift in Sources */, 373 | 292932FE1E74588900008F39 /* AppDelegate.swift in Sources */, 374 | ); 375 | runOnlyForDeploymentPostprocessing = 0; 376 | }; 377 | 2929330A1E74588A00008F39 /* Sources */ = { 378 | isa = PBXSourcesBuildPhase; 379 | buildActionMask = 2147483647; 380 | files = ( 381 | 292933131E74588A00008F39 /* TutorialScreenSampleTests.swift in Sources */, 382 | ); 383 | runOnlyForDeploymentPostprocessing = 0; 384 | }; 385 | 292933151E74588A00008F39 /* Sources */ = { 386 | isa = PBXSourcesBuildPhase; 387 | buildActionMask = 2147483647; 388 | files = ( 389 | 2929331E1E74588A00008F39 /* TutorialScreenSampleUITests.swift in Sources */, 390 | ); 391 | runOnlyForDeploymentPostprocessing = 0; 392 | }; 393 | /* End PBXSourcesBuildPhase section */ 394 | 395 | /* Begin PBXTargetDependency section */ 396 | 292933101E74588A00008F39 /* PBXTargetDependency */ = { 397 | isa = PBXTargetDependency; 398 | target = 292932F91E74588900008F39 /* TutorialScreenSample */; 399 | targetProxy = 2929330F1E74588A00008F39 /* PBXContainerItemProxy */; 400 | }; 401 | 2929331B1E74588A00008F39 /* PBXTargetDependency */ = { 402 | isa = PBXTargetDependency; 403 | target = 292932F91E74588900008F39 /* TutorialScreenSample */; 404 | targetProxy = 2929331A1E74588A00008F39 /* PBXContainerItemProxy */; 405 | }; 406 | /* End PBXTargetDependency section */ 407 | 408 | /* Begin PBXVariantGroup section */ 409 | 292933011E74588900008F39 /* Main.storyboard */ = { 410 | isa = PBXVariantGroup; 411 | children = ( 412 | 292933021E74588900008F39 /* Base */, 413 | ); 414 | name = Main.storyboard; 415 | sourceTree = ""; 416 | }; 417 | 292933061E74588900008F39 /* LaunchScreen.storyboard */ = { 418 | isa = PBXVariantGroup; 419 | children = ( 420 | 292933071E74588900008F39 /* Base */, 421 | ); 422 | name = LaunchScreen.storyboard; 423 | sourceTree = ""; 424 | }; 425 | /* End PBXVariantGroup section */ 426 | 427 | /* Begin XCBuildConfiguration section */ 428 | 292933201E74588A00008F39 /* Debug */ = { 429 | isa = XCBuildConfiguration; 430 | buildSettings = { 431 | ALWAYS_SEARCH_USER_PATHS = NO; 432 | CLANG_ANALYZER_NONNULL = YES; 433 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 434 | CLANG_CXX_LIBRARY = "libc++"; 435 | CLANG_ENABLE_MODULES = YES; 436 | CLANG_ENABLE_OBJC_ARC = YES; 437 | CLANG_WARN_BOOL_CONVERSION = YES; 438 | CLANG_WARN_CONSTANT_CONVERSION = YES; 439 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 440 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 441 | CLANG_WARN_EMPTY_BODY = YES; 442 | CLANG_WARN_ENUM_CONVERSION = YES; 443 | CLANG_WARN_INFINITE_RECURSION = YES; 444 | CLANG_WARN_INT_CONVERSION = YES; 445 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 446 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 447 | CLANG_WARN_UNREACHABLE_CODE = YES; 448 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 449 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 450 | COPY_PHASE_STRIP = NO; 451 | DEBUG_INFORMATION_FORMAT = dwarf; 452 | ENABLE_STRICT_OBJC_MSGSEND = YES; 453 | ENABLE_TESTABILITY = YES; 454 | GCC_C_LANGUAGE_STANDARD = gnu99; 455 | GCC_DYNAMIC_NO_PIC = NO; 456 | GCC_NO_COMMON_BLOCKS = YES; 457 | GCC_OPTIMIZATION_LEVEL = 0; 458 | GCC_PREPROCESSOR_DEFINITIONS = ( 459 | "DEBUG=1", 460 | "$(inherited)", 461 | ); 462 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 463 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 464 | GCC_WARN_UNDECLARED_SELECTOR = YES; 465 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 466 | GCC_WARN_UNUSED_FUNCTION = YES; 467 | GCC_WARN_UNUSED_VARIABLE = YES; 468 | IPHONEOS_DEPLOYMENT_TARGET = 10.2; 469 | MTL_ENABLE_DEBUG_INFO = YES; 470 | ONLY_ACTIVE_ARCH = YES; 471 | SDKROOT = iphoneos; 472 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 473 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 474 | }; 475 | name = Debug; 476 | }; 477 | 292933211E74588A00008F39 /* Release */ = { 478 | isa = XCBuildConfiguration; 479 | buildSettings = { 480 | ALWAYS_SEARCH_USER_PATHS = NO; 481 | CLANG_ANALYZER_NONNULL = YES; 482 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 483 | CLANG_CXX_LIBRARY = "libc++"; 484 | CLANG_ENABLE_MODULES = YES; 485 | CLANG_ENABLE_OBJC_ARC = YES; 486 | CLANG_WARN_BOOL_CONVERSION = YES; 487 | CLANG_WARN_CONSTANT_CONVERSION = YES; 488 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 489 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 490 | CLANG_WARN_EMPTY_BODY = YES; 491 | CLANG_WARN_ENUM_CONVERSION = YES; 492 | CLANG_WARN_INFINITE_RECURSION = YES; 493 | CLANG_WARN_INT_CONVERSION = YES; 494 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 495 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 496 | CLANG_WARN_UNREACHABLE_CODE = YES; 497 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 498 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 499 | COPY_PHASE_STRIP = NO; 500 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 501 | ENABLE_NS_ASSERTIONS = NO; 502 | ENABLE_STRICT_OBJC_MSGSEND = YES; 503 | GCC_C_LANGUAGE_STANDARD = gnu99; 504 | GCC_NO_COMMON_BLOCKS = YES; 505 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 506 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 507 | GCC_WARN_UNDECLARED_SELECTOR = YES; 508 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 509 | GCC_WARN_UNUSED_FUNCTION = YES; 510 | GCC_WARN_UNUSED_VARIABLE = YES; 511 | IPHONEOS_DEPLOYMENT_TARGET = 10.2; 512 | MTL_ENABLE_DEBUG_INFO = NO; 513 | SDKROOT = iphoneos; 514 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 515 | VALIDATE_PRODUCT = YES; 516 | }; 517 | name = Release; 518 | }; 519 | 292933231E74588A00008F39 /* Debug */ = { 520 | isa = XCBuildConfiguration; 521 | buildSettings = { 522 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 523 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 524 | DEVELOPMENT_TEAM = 664343KK2F; 525 | INFOPLIST_FILE = TutorialScreenSample/Info.plist; 526 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 527 | PRODUCT_BUNDLE_IDENTIFIER = com.FAParallaxView; 528 | PRODUCT_NAME = "$(TARGET_NAME)"; 529 | PROVISIONING_PROFILE = ""; 530 | PROVISIONING_PROFILE_SPECIFIER = ""; 531 | SWIFT_VERSION = 3.0; 532 | }; 533 | name = Debug; 534 | }; 535 | 292933241E74588A00008F39 /* Release */ = { 536 | isa = XCBuildConfiguration; 537 | buildSettings = { 538 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 539 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 540 | DEVELOPMENT_TEAM = 664343KK2F; 541 | INFOPLIST_FILE = TutorialScreenSample/Info.plist; 542 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 543 | PRODUCT_BUNDLE_IDENTIFIER = com.FAParallaxView; 544 | PRODUCT_NAME = "$(TARGET_NAME)"; 545 | PROVISIONING_PROFILE = ""; 546 | PROVISIONING_PROFILE_SPECIFIER = ""; 547 | SWIFT_VERSION = 3.0; 548 | }; 549 | name = Release; 550 | }; 551 | 292933261E74588A00008F39 /* Debug */ = { 552 | isa = XCBuildConfiguration; 553 | buildSettings = { 554 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 555 | BUNDLE_LOADER = "$(TEST_HOST)"; 556 | INFOPLIST_FILE = TutorialScreenSampleTests/Info.plist; 557 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 558 | PRODUCT_BUNDLE_IDENTIFIER = com.FAParser.TutorialScreenSampleTests; 559 | PRODUCT_NAME = "$(TARGET_NAME)"; 560 | SWIFT_VERSION = 3.0; 561 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TutorialScreenSample.app/TutorialScreenSample"; 562 | }; 563 | name = Debug; 564 | }; 565 | 292933271E74588A00008F39 /* Release */ = { 566 | isa = XCBuildConfiguration; 567 | buildSettings = { 568 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 569 | BUNDLE_LOADER = "$(TEST_HOST)"; 570 | INFOPLIST_FILE = TutorialScreenSampleTests/Info.plist; 571 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 572 | PRODUCT_BUNDLE_IDENTIFIER = com.FAParser.TutorialScreenSampleTests; 573 | PRODUCT_NAME = "$(TARGET_NAME)"; 574 | SWIFT_VERSION = 3.0; 575 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TutorialScreenSample.app/TutorialScreenSample"; 576 | }; 577 | name = Release; 578 | }; 579 | 292933291E74588A00008F39 /* Debug */ = { 580 | isa = XCBuildConfiguration; 581 | buildSettings = { 582 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 583 | INFOPLIST_FILE = TutorialScreenSampleUITests/Info.plist; 584 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 585 | PRODUCT_BUNDLE_IDENTIFIER = com.FAParser.TutorialScreenSampleUITests; 586 | PRODUCT_NAME = "$(TARGET_NAME)"; 587 | SWIFT_VERSION = 3.0; 588 | TEST_TARGET_NAME = TutorialScreenSample; 589 | }; 590 | name = Debug; 591 | }; 592 | 2929332A1E74588A00008F39 /* Release */ = { 593 | isa = XCBuildConfiguration; 594 | buildSettings = { 595 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 596 | INFOPLIST_FILE = TutorialScreenSampleUITests/Info.plist; 597 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 598 | PRODUCT_BUNDLE_IDENTIFIER = com.FAParser.TutorialScreenSampleUITests; 599 | PRODUCT_NAME = "$(TARGET_NAME)"; 600 | SWIFT_VERSION = 3.0; 601 | TEST_TARGET_NAME = TutorialScreenSample; 602 | }; 603 | name = Release; 604 | }; 605 | /* End XCBuildConfiguration section */ 606 | 607 | /* Begin XCConfigurationList section */ 608 | 292932F51E74588900008F39 /* Build configuration list for PBXProject "TutorialScreenSample" */ = { 609 | isa = XCConfigurationList; 610 | buildConfigurations = ( 611 | 292933201E74588A00008F39 /* Debug */, 612 | 292933211E74588A00008F39 /* Release */, 613 | ); 614 | defaultConfigurationIsVisible = 0; 615 | defaultConfigurationName = Release; 616 | }; 617 | 292933221E74588A00008F39 /* Build configuration list for PBXNativeTarget "TutorialScreenSample" */ = { 618 | isa = XCConfigurationList; 619 | buildConfigurations = ( 620 | 292933231E74588A00008F39 /* Debug */, 621 | 292933241E74588A00008F39 /* Release */, 622 | ); 623 | defaultConfigurationIsVisible = 0; 624 | defaultConfigurationName = Release; 625 | }; 626 | 292933251E74588A00008F39 /* Build configuration list for PBXNativeTarget "TutorialScreenSampleTests" */ = { 627 | isa = XCConfigurationList; 628 | buildConfigurations = ( 629 | 292933261E74588A00008F39 /* Debug */, 630 | 292933271E74588A00008F39 /* Release */, 631 | ); 632 | defaultConfigurationIsVisible = 0; 633 | defaultConfigurationName = Release; 634 | }; 635 | 292933281E74588A00008F39 /* Build configuration list for PBXNativeTarget "TutorialScreenSampleUITests" */ = { 636 | isa = XCConfigurationList; 637 | buildConfigurations = ( 638 | 292933291E74588A00008F39 /* Debug */, 639 | 2929332A1E74588A00008F39 /* Release */, 640 | ); 641 | defaultConfigurationIsVisible = 0; 642 | defaultConfigurationName = Release; 643 | }; 644 | /* End XCConfigurationList section */ 645 | }; 646 | rootObject = 292932F21E74588900008F39 /* Project object */; 647 | } 648 | -------------------------------------------------------------------------------- /TutorialScreenSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /TutorialScreenSample.xcodeproj/project.xcworkspace/xcuserdata/fahidattique.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fahidattique55/FAParallaxTutorialScreens/a29cd2c56e87e29fce2f55840a2b9e6cf68c117b/TutorialScreenSample.xcodeproj/project.xcworkspace/xcuserdata/fahidattique.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /TutorialScreenSample.xcodeproj/xcuserdata/fahidattique.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /TutorialScreenSample.xcodeproj/xcuserdata/fahidattique.xcuserdatad/xcschemes/TutorialScreenSample.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 43 | 49 | 50 | 51 | 52 | 53 | 59 | 60 | 61 | 62 | 63 | 64 | 74 | 76 | 82 | 83 | 84 | 85 | 86 | 87 | 93 | 95 | 101 | 102 | 103 | 104 | 106 | 107 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /TutorialScreenSample.xcodeproj/xcuserdata/fahidattique.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | TutorialScreenSample.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 292932F91E74588900008F39 16 | 17 | primary 18 | 19 | 20 | 2929330D1E74588A00008F39 21 | 22 | primary 23 | 24 | 25 | 292933181E74588A00008F39 26 | 27 | primary 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /TutorialScreenSample/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fahidattique55/FAParallaxTutorialScreens/a29cd2c56e87e29fce2f55840a2b9e6cf68c117b/TutorialScreenSample/.DS_Store -------------------------------------------------------------------------------- /TutorialScreenSample/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // TutorialScreenSample 4 | // 5 | // Created by Fahid Attique on 15/04/2017. 6 | // Copyright © 2017 Fahid Attique. 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 invalidate graphics rendering callbacks. 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 active 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 | -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fahidattique55/FAParallaxTutorialScreens/a29cd2c56e87e29fce2f55840a2b9e6cf68c117b/TutorialScreenSample/Assets.xcassets/.DS_Store -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.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 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/GooglePlus.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "GooglePlus.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "GooglePlus@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "GooglePlus@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/GooglePlus.imageset/GooglePlus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fahidattique55/FAParallaxTutorialScreens/a29cd2c56e87e29fce2f55840a2b9e6cf68c117b/TutorialScreenSample/Assets.xcassets/GooglePlus.imageset/GooglePlus.png -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/GooglePlus.imageset/GooglePlus@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fahidattique55/FAParallaxTutorialScreens/a29cd2c56e87e29fce2f55840a2b9e6cf68c117b/TutorialScreenSample/Assets.xcassets/GooglePlus.imageset/GooglePlus@2x.png -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/GooglePlus.imageset/GooglePlus@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fahidattique55/FAParallaxTutorialScreens/a29cd2c56e87e29fce2f55840a2b9e6cf68c117b/TutorialScreenSample/Assets.xcassets/GooglePlus.imageset/GooglePlus@3x.png -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/Instagram.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Instagram.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Instagram@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Instagram@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/Instagram.imageset/Instagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fahidattique55/FAParallaxTutorialScreens/a29cd2c56e87e29fce2f55840a2b9e6cf68c117b/TutorialScreenSample/Assets.xcassets/Instagram.imageset/Instagram.png -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/Instagram.imageset/Instagram@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fahidattique55/FAParallaxTutorialScreens/a29cd2c56e87e29fce2f55840a2b9e6cf68c117b/TutorialScreenSample/Assets.xcassets/Instagram.imageset/Instagram@2x.png -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/Instagram.imageset/Instagram@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fahidattique55/FAParallaxTutorialScreens/a29cd2c56e87e29fce2f55840a2b9e6cf68c117b/TutorialScreenSample/Assets.xcassets/Instagram.imageset/Instagram@3x.png -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/Twitter.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "Twitter.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "Twitter@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "Twitter@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/Twitter.imageset/Twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fahidattique55/FAParallaxTutorialScreens/a29cd2c56e87e29fce2f55840a2b9e6cf68c117b/TutorialScreenSample/Assets.xcassets/Twitter.imageset/Twitter.png -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/Twitter.imageset/Twitter@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fahidattique55/FAParallaxTutorialScreens/a29cd2c56e87e29fce2f55840a2b9e6cf68c117b/TutorialScreenSample/Assets.xcassets/Twitter.imageset/Twitter@2x.png -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/Twitter.imageset/Twitter@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fahidattique55/FAParallaxTutorialScreens/a29cd2c56e87e29fce2f55840a2b9e6cf68c117b/TutorialScreenSample/Assets.xcassets/Twitter.imageset/Twitter@3x.png -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/mortarboard.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "mortarboard.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/mortarboard.imageset/mortarboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fahidattique55/FAParallaxTutorialScreens/a29cd2c56e87e29fce2f55840a2b9e6cf68c117b/TutorialScreenSample/Assets.xcassets/mortarboard.imageset/mortarboard.png -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/music.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "music.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/music.imageset/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fahidattique55/FAParallaxTutorialScreens/a29cd2c56e87e29fce2f55840a2b9e6cf68c117b/TutorialScreenSample/Assets.xcassets/music.imageset/music.png -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/stopwatch.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "stopwatch.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /TutorialScreenSample/Assets.xcassets/stopwatch.imageset/stopwatch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fahidattique55/FAParallaxTutorialScreens/a29cd2c56e87e29fce2f55840a2b9e6cf68c117b/TutorialScreenSample/Assets.xcassets/stopwatch.imageset/stopwatch.png -------------------------------------------------------------------------------- /TutorialScreenSample/Base.lproj/LaunchScreen.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 | -------------------------------------------------------------------------------- /TutorialScreenSample/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 58 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /TutorialScreenSample/FAChildVC.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FAChildVC.swift 3 | // TutorialScreenSample 4 | // 5 | // Created by Fahid Attique on 15/04/2017. 6 | // Copyright © 2017 Fahid Attique. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class FAChildVC: UIViewController { 12 | 13 | override func viewDidLoad() { 14 | super.viewDidLoad() 15 | // Do any additional setup after loading the view. 16 | } 17 | 18 | override func didReceiveMemoryWarning() { 19 | super.didReceiveMemoryWarning() 20 | // Dispose of any resources that can be recreated. 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /TutorialScreenSample/FAChildVC_0.xib: -------------------------------------------------------------------------------- 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 | 32 | 37 | 42 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 74 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | -------------------------------------------------------------------------------- /TutorialScreenSample/FAChildVC_1.xib: -------------------------------------------------------------------------------- 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 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /TutorialScreenSample/FAChildVC_2.xib: -------------------------------------------------------------------------------- 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 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /TutorialScreenSample/FAChildVC_3.xib: -------------------------------------------------------------------------------- 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 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /TutorialScreenSample/FAImage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fahidattique55/FAParallaxTutorialScreens/a29cd2c56e87e29fce2f55840a2b9e6cf68c117b/TutorialScreenSample/FAImage.jpg -------------------------------------------------------------------------------- /TutorialScreenSample/FAView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FAView.swift 3 | // TutorialScreenSample 4 | // 5 | // Created by Fahid Attique on 15/04/2017. 6 | // Copyright © 2017 Fahid Attique. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import UIKit 11 | 12 | 13 | /// The FAView class is subclass of UIVIew to propagate IBInspectables changes before runtime -> Please have a look into UIView extension incase of understanding its IBInspectables 14 | 15 | class FAView:UIView{ 16 | 17 | 18 | } 19 | -------------------------------------------------------------------------------- /TutorialScreenSample/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 | CFBundleVersion 20 | 1 21 | LSRequiresIPhoneOS 22 | 23 | UILaunchStoryboardName 24 | LaunchScreen 25 | UIMainStoryboardFile 26 | Main 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UIStatusBarStyle 32 | UIStatusBarStyleLightContent 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /TutorialScreenSample/UIView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // UIView.swift 3 | // TutorialScreenSample 4 | // 5 | // Created by Fahid Attique on 15/04/2017. 6 | // Copyright © 2017 Fahid Attique. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import UIKit 11 | 12 | 13 | 14 | // UIView Designables Extension -> IBInspectable does not show changes incase of native IOS views. so by creating extension we can get these functions in its subclasses where we can see changes via subclasses. 15 | 16 | 17 | @IBDesignable public extension UIView{ 18 | 19 | 20 | @IBInspectable var cornerRadius:CGFloat{ 21 | 22 | set { 23 | layer.cornerRadius = newValue 24 | } 25 | get { 26 | return layer.cornerRadius 27 | } 28 | } 29 | 30 | 31 | @IBInspectable var borderWidth:CGFloat{ 32 | 33 | set { 34 | layer.borderWidth = newValue 35 | } 36 | get { 37 | return layer.borderWidth 38 | } 39 | } 40 | 41 | 42 | @IBInspectable var borderColor:UIColor{ 43 | 44 | set { 45 | layer.borderColor = newValue.cgColor 46 | } 47 | get { 48 | return UIColor.init(cgColor: layer.borderColor ?? UIColor.clear.cgColor) 49 | } 50 | } 51 | 52 | 53 | @IBInspectable var roundSides:Bool{ 54 | 55 | set { 56 | if newValue { 57 | self.cornerRadius = self.frame.size.height / 2 58 | } 59 | else{ 60 | self.cornerRadius = 0.0 61 | } 62 | } 63 | get { 64 | if self.cornerRadius == self.frame.size.height / 2 { 65 | return true 66 | } 67 | else{ 68 | return false 69 | } 70 | } 71 | } 72 | 73 | } 74 | 75 | -------------------------------------------------------------------------------- /TutorialScreenSample/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // TutorialScreenSample 4 | // 5 | // Created by Fahid Attique on 15/04/2017. 6 | // Copyright © 2017 Fahid Attique. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ViewController: UIViewController { 12 | 13 | // MARK : IBOutlets 14 | 15 | @IBOutlet weak var backGroundImageView: UIImageView! 16 | @IBOutlet weak var scrollView:UIScrollView! 17 | @IBOutlet weak var pageControl: UIPageControl! 18 | 19 | 20 | // MARK : Public Properties 21 | 22 | var initialOffset:CGFloat = 0.0 23 | 24 | 25 | // MARK : Life Cycle 26 | 27 | override func viewDidLoad() { 28 | super.viewDidLoad() 29 | // Do any additional setup after loading the view, typically from a nib. 30 | 31 | viewConfigurations() 32 | } 33 | 34 | override func viewDidAppear(_ animated: Bool) { 35 | super.viewDidAppear(animated) 36 | startAnimating() 37 | } 38 | 39 | override func didReceiveMemoryWarning() { 40 | super.didReceiveMemoryWarning() 41 | // Dispose of any resources that can be recreated. 42 | } 43 | 44 | deinit { 45 | NotificationCenter.default.removeObserver(self) 46 | } 47 | 48 | 49 | // MARK : Statusbar Style 50 | 51 | override var preferredStatusBarStyle: UIStatusBarStyle{ 52 | get{ 53 | return .lightContent 54 | } 55 | } 56 | 57 | 58 | // MARK : Private Functions 59 | 60 | private func viewConfigurations() { 61 | 62 | addObservers() 63 | configureChildVCs() 64 | } 65 | 66 | 67 | private func addObservers(){ 68 | NotificationCenter.default.addObserver(self, selector: #selector(startAnimating), name:NSNotification.Name.UIApplicationWillEnterForeground, object: nil) 69 | } 70 | 71 | private func configureChildVCs(){ 72 | 73 | let totalVCs = 4 74 | pageControl.numberOfPages = totalVCs 75 | 76 | for index in 0 ..< totalVCs { 77 | let childVC:FAChildVC = childVCFor(index: index) 78 | addInScrollView(childVC:childVC) 79 | } 80 | 81 | scrollView.contentSize = CGSize(width: UIScreen.main.bounds.size.width * CGFloat(totalVCs), height: UIScreen.main.bounds.size.height) 82 | } 83 | 84 | private func childVCFor(index:NSInteger) -> FAChildVC { 85 | 86 | let childVC = FAChildVC(nibName: "FAChildVC_\(index)", bundle: nil) 87 | 88 | var rect:CGRect = UIScreen.main.bounds 89 | rect.origin.x = CGFloat(index) * rect.size.width; 90 | childVC.view.frame = rect 91 | 92 | return childVC 93 | } 94 | 95 | private func addInScrollView(childVC:FAChildVC){ 96 | 97 | childVC.willMove(toParentViewController: self) 98 | scrollView.addSubview(childVC.view) 99 | childVC.didMove(toParentViewController: self) 100 | } 101 | 102 | 103 | 104 | // MARK : Public Functions 105 | 106 | func startAnimating(){ 107 | 108 | if backGroundImageView.layer.animation(forKey: "center") == nil { 109 | backGroundImageView.layer.add(animationForXAxis(), forKey: "center") 110 | } 111 | } 112 | 113 | func animationForXAxis() -> CABasicAnimation { 114 | 115 | let animation:CABasicAnimation = CABasicAnimation() 116 | animation.keyPath = "position.x" 117 | animation.byValue = 30 118 | animation.duration = 3.0 119 | animation.autoreverses = true 120 | animation.repeatCount = MAXFLOAT 121 | 122 | return animation 123 | } 124 | } 125 | 126 | 127 | extension ViewController: UIScrollViewDelegate{ 128 | 129 | func scrollViewDidScroll(_ scrollView: UIScrollView) { 130 | 131 | var center = backGroundImageView.center 132 | center.x = center.x - (scrollView.contentOffset.x - initialOffset)/3 133 | backGroundImageView.center = center 134 | 135 | initialOffset = scrollView.contentOffset.x 136 | } 137 | 138 | func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) { 139 | pageControl.currentPage = NSInteger(scrollView.contentOffset.x)/NSInteger(scrollView.frame.size.width) 140 | } 141 | } 142 | -------------------------------------------------------------------------------- /TutorialScreenSampleTests/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 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /TutorialScreenSampleTests/TutorialScreenSampleTests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TutorialScreenSampleTests.swift 3 | // TutorialScreenSampleTests 4 | // 5 | // Created by Fahid Attique on 11/03/2017. 6 | // Copyright © 2017 Fahid Attique. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | @testable import TutorialScreenSample 11 | 12 | class TutorialScreenSampleTests: XCTestCase { 13 | 14 | override func setUp() { 15 | super.setUp() 16 | // Put setup code here. This method is called before the invocation of each test method in the class. 17 | } 18 | 19 | override func tearDown() { 20 | // Put teardown code here. This method is called after the invocation of each test method in the class. 21 | super.tearDown() 22 | } 23 | 24 | func testExample() { 25 | // This is an example of a functional test case. 26 | // Use XCTAssert and related functions to verify your tests produce the correct results. 27 | } 28 | 29 | func testPerformanceExample() { 30 | // This is an example of a performance test case. 31 | self.measure { 32 | // Put the code you want to measure the time of here. 33 | } 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /TutorialScreenSampleUITests/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 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /TutorialScreenSampleUITests/TutorialScreenSampleUITests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TutorialScreenSampleUITests.swift 3 | // TutorialScreenSampleUITests 4 | // 5 | // Created by Fahid Attique on 11/03/2017. 6 | // Copyright © 2017 Fahid Attique. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | 11 | class TutorialScreenSampleUITests: XCTestCase { 12 | 13 | override func setUp() { 14 | super.setUp() 15 | 16 | // Put setup code here. This method is called before the invocation of each test method in the class. 17 | 18 | // In UI tests it is usually best to stop immediately when a failure occurs. 19 | continueAfterFailure = false 20 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. 21 | XCUIApplication().launch() 22 | 23 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. 24 | } 25 | 26 | override func tearDown() { 27 | // Put teardown code here. This method is called after the invocation of each test method in the class. 28 | super.tearDown() 29 | } 30 | 31 | func testExample() { 32 | // Use recording to get started writing UI tests. 33 | // Use XCTAssert and related functions to verify your tests produce the correct results. 34 | } 35 | 36 | } 37 | --------------------------------------------------------------------------------