├── ABCIntroView.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── ABCIntroView.xccheckout │ └── xcuserdata │ │ └── adamcooper.xcuserdatad │ │ ├── UserInterfaceState.xcuserstate │ │ └── WorkspaceSettings.xcsettings └── xcuserdata │ └── adamcooper.xcuserdatad │ └── xcschemes │ ├── ABCIntroView.xcscheme │ └── xcschememanagement.plist ├── ABCIntroView ├── ABCIntroView.h ├── ABCIntroView.m ├── AppDelegate.h ├── AppDelegate.m ├── Base.lproj │ └── LaunchScreen.xib ├── Images.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ ├── Intro_Screen_Four.imageset │ │ ├── Contents.json │ │ └── Icon.png │ ├── Intro_Screen_One.imageset │ │ ├── Contents.json │ │ └── iTunesArtwork@2x.png │ ├── Intro_Screen_Three.imageset │ │ ├── Contents.json │ │ └── SimoniTunesArtwork@2x.png │ └── Intro_Screen_Two.imageset │ │ ├── Contents.json │ │ └── iTunesArtwork@2x.png ├── Info.plist ├── ViewController.h ├── ViewController.m └── main.m ├── ABCIntroViewTests ├── ABCIntroViewTests.m └── Info.plist ├── License ├── README.md └── SampleImages ├── ScreenShot_Four.png ├── ScreenShot_One.png ├── ScreenShot_Three.png └── ScreenShot_Two.png /ABCIntroView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 877BE69D1A83F7CE00FFCCFD /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 877BE69C1A83F7CE00FFCCFD /* main.m */; }; 11 | 877BE6A01A83F7CE00FFCCFD /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 877BE69F1A83F7CE00FFCCFD /* AppDelegate.m */; }; 12 | 877BE6A31A83F7CE00FFCCFD /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 877BE6A21A83F7CE00FFCCFD /* ViewController.m */; }; 13 | 877BE6A81A83F7CE00FFCCFD /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 877BE6A71A83F7CE00FFCCFD /* Images.xcassets */; }; 14 | 877BE6AB1A83F7CE00FFCCFD /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 877BE6A91A83F7CE00FFCCFD /* LaunchScreen.xib */; }; 15 | 877BE6B71A83F7CE00FFCCFD /* ABCIntroViewTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 877BE6B61A83F7CE00FFCCFD /* ABCIntroViewTests.m */; }; 16 | 877BE6C21A83F81D00FFCCFD /* ABCIntroView.m in Sources */ = {isa = PBXBuildFile; fileRef = 877BE6C11A83F81D00FFCCFD /* ABCIntroView.m */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXContainerItemProxy section */ 20 | 877BE6B11A83F7CE00FFCCFD /* PBXContainerItemProxy */ = { 21 | isa = PBXContainerItemProxy; 22 | containerPortal = 877BE68F1A83F7CE00FFCCFD /* Project object */; 23 | proxyType = 1; 24 | remoteGlobalIDString = 877BE6961A83F7CE00FFCCFD; 25 | remoteInfo = ABCIntroView; 26 | }; 27 | /* End PBXContainerItemProxy section */ 28 | 29 | /* Begin PBXFileReference section */ 30 | 877BE6971A83F7CE00FFCCFD /* ABCIntroView.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ABCIntroView.app; sourceTree = BUILT_PRODUCTS_DIR; }; 31 | 877BE69B1A83F7CE00FFCCFD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 32 | 877BE69C1A83F7CE00FFCCFD /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 33 | 877BE69E1A83F7CE00FFCCFD /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 34 | 877BE69F1A83F7CE00FFCCFD /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 35 | 877BE6A11A83F7CE00FFCCFD /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; 36 | 877BE6A21A83F7CE00FFCCFD /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 37 | 877BE6A71A83F7CE00FFCCFD /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 38 | 877BE6AA1A83F7CE00FFCCFD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 39 | 877BE6B01A83F7CE00FFCCFD /* ABCIntroViewTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ABCIntroViewTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 40 | 877BE6B51A83F7CE00FFCCFD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 41 | 877BE6B61A83F7CE00FFCCFD /* ABCIntroViewTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ABCIntroViewTests.m; sourceTree = ""; }; 42 | 877BE6C01A83F81D00FFCCFD /* ABCIntroView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ABCIntroView.h; sourceTree = ""; }; 43 | 877BE6C11A83F81D00FFCCFD /* ABCIntroView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ABCIntroView.m; sourceTree = ""; }; 44 | /* End PBXFileReference section */ 45 | 46 | /* Begin PBXFrameworksBuildPhase section */ 47 | 877BE6941A83F7CE00FFCCFD /* Frameworks */ = { 48 | isa = PBXFrameworksBuildPhase; 49 | buildActionMask = 2147483647; 50 | files = ( 51 | ); 52 | runOnlyForDeploymentPostprocessing = 0; 53 | }; 54 | 877BE6AD1A83F7CE00FFCCFD /* Frameworks */ = { 55 | isa = PBXFrameworksBuildPhase; 56 | buildActionMask = 2147483647; 57 | files = ( 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | /* End PBXFrameworksBuildPhase section */ 62 | 63 | /* Begin PBXGroup section */ 64 | 877BE68E1A83F7CE00FFCCFD = { 65 | isa = PBXGroup; 66 | children = ( 67 | 877BE6991A83F7CE00FFCCFD /* ABCIntroView */, 68 | 877BE6B31A83F7CE00FFCCFD /* ABCIntroViewTests */, 69 | 877BE6981A83F7CE00FFCCFD /* Products */, 70 | ); 71 | sourceTree = ""; 72 | }; 73 | 877BE6981A83F7CE00FFCCFD /* Products */ = { 74 | isa = PBXGroup; 75 | children = ( 76 | 877BE6971A83F7CE00FFCCFD /* ABCIntroView.app */, 77 | 877BE6B01A83F7CE00FFCCFD /* ABCIntroViewTests.xctest */, 78 | ); 79 | name = Products; 80 | sourceTree = ""; 81 | }; 82 | 877BE6991A83F7CE00FFCCFD /* ABCIntroView */ = { 83 | isa = PBXGroup; 84 | children = ( 85 | 877BE69E1A83F7CE00FFCCFD /* AppDelegate.h */, 86 | 877BE69F1A83F7CE00FFCCFD /* AppDelegate.m */, 87 | 877BE6C31A83F8EE00FFCCFD /* Classes */, 88 | 877BE6A11A83F7CE00FFCCFD /* ViewController.h */, 89 | 877BE6A21A83F7CE00FFCCFD /* ViewController.m */, 90 | 877BE6A71A83F7CE00FFCCFD /* Images.xcassets */, 91 | 877BE6A91A83F7CE00FFCCFD /* LaunchScreen.xib */, 92 | 877BE69A1A83F7CE00FFCCFD /* Supporting Files */, 93 | ); 94 | path = ABCIntroView; 95 | sourceTree = ""; 96 | }; 97 | 877BE69A1A83F7CE00FFCCFD /* Supporting Files */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | 877BE69B1A83F7CE00FFCCFD /* Info.plist */, 101 | 877BE69C1A83F7CE00FFCCFD /* main.m */, 102 | ); 103 | name = "Supporting Files"; 104 | sourceTree = ""; 105 | }; 106 | 877BE6B31A83F7CE00FFCCFD /* ABCIntroViewTests */ = { 107 | isa = PBXGroup; 108 | children = ( 109 | 877BE6B61A83F7CE00FFCCFD /* ABCIntroViewTests.m */, 110 | 877BE6B41A83F7CE00FFCCFD /* Supporting Files */, 111 | ); 112 | path = ABCIntroViewTests; 113 | sourceTree = ""; 114 | }; 115 | 877BE6B41A83F7CE00FFCCFD /* Supporting Files */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | 877BE6B51A83F7CE00FFCCFD /* Info.plist */, 119 | ); 120 | name = "Supporting Files"; 121 | sourceTree = ""; 122 | }; 123 | 877BE6C31A83F8EE00FFCCFD /* Classes */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | 877BE6C01A83F81D00FFCCFD /* ABCIntroView.h */, 127 | 877BE6C11A83F81D00FFCCFD /* ABCIntroView.m */, 128 | ); 129 | name = Classes; 130 | sourceTree = ""; 131 | }; 132 | /* End PBXGroup section */ 133 | 134 | /* Begin PBXNativeTarget section */ 135 | 877BE6961A83F7CE00FFCCFD /* ABCIntroView */ = { 136 | isa = PBXNativeTarget; 137 | buildConfigurationList = 877BE6BA1A83F7CE00FFCCFD /* Build configuration list for PBXNativeTarget "ABCIntroView" */; 138 | buildPhases = ( 139 | 877BE6931A83F7CE00FFCCFD /* Sources */, 140 | 877BE6941A83F7CE00FFCCFD /* Frameworks */, 141 | 877BE6951A83F7CE00FFCCFD /* Resources */, 142 | ); 143 | buildRules = ( 144 | ); 145 | dependencies = ( 146 | ); 147 | name = ABCIntroView; 148 | productName = ABCIntroView; 149 | productReference = 877BE6971A83F7CE00FFCCFD /* ABCIntroView.app */; 150 | productType = "com.apple.product-type.application"; 151 | }; 152 | 877BE6AF1A83F7CE00FFCCFD /* ABCIntroViewTests */ = { 153 | isa = PBXNativeTarget; 154 | buildConfigurationList = 877BE6BD1A83F7CE00FFCCFD /* Build configuration list for PBXNativeTarget "ABCIntroViewTests" */; 155 | buildPhases = ( 156 | 877BE6AC1A83F7CE00FFCCFD /* Sources */, 157 | 877BE6AD1A83F7CE00FFCCFD /* Frameworks */, 158 | 877BE6AE1A83F7CE00FFCCFD /* Resources */, 159 | ); 160 | buildRules = ( 161 | ); 162 | dependencies = ( 163 | 877BE6B21A83F7CE00FFCCFD /* PBXTargetDependency */, 164 | ); 165 | name = ABCIntroViewTests; 166 | productName = ABCIntroViewTests; 167 | productReference = 877BE6B01A83F7CE00FFCCFD /* ABCIntroViewTests.xctest */; 168 | productType = "com.apple.product-type.bundle.unit-test"; 169 | }; 170 | /* End PBXNativeTarget section */ 171 | 172 | /* Begin PBXProject section */ 173 | 877BE68F1A83F7CE00FFCCFD /* Project object */ = { 174 | isa = PBXProject; 175 | attributes = { 176 | LastUpgradeCheck = 0610; 177 | ORGANIZATIONNAME = "Adam Cooper"; 178 | TargetAttributes = { 179 | 877BE6961A83F7CE00FFCCFD = { 180 | CreatedOnToolsVersion = 6.1.1; 181 | }; 182 | 877BE6AF1A83F7CE00FFCCFD = { 183 | CreatedOnToolsVersion = 6.1.1; 184 | TestTargetID = 877BE6961A83F7CE00FFCCFD; 185 | }; 186 | }; 187 | }; 188 | buildConfigurationList = 877BE6921A83F7CE00FFCCFD /* Build configuration list for PBXProject "ABCIntroView" */; 189 | compatibilityVersion = "Xcode 3.2"; 190 | developmentRegion = English; 191 | hasScannedForEncodings = 0; 192 | knownRegions = ( 193 | en, 194 | Base, 195 | ); 196 | mainGroup = 877BE68E1A83F7CE00FFCCFD; 197 | productRefGroup = 877BE6981A83F7CE00FFCCFD /* Products */; 198 | projectDirPath = ""; 199 | projectRoot = ""; 200 | targets = ( 201 | 877BE6961A83F7CE00FFCCFD /* ABCIntroView */, 202 | 877BE6AF1A83F7CE00FFCCFD /* ABCIntroViewTests */, 203 | ); 204 | }; 205 | /* End PBXProject section */ 206 | 207 | /* Begin PBXResourcesBuildPhase section */ 208 | 877BE6951A83F7CE00FFCCFD /* Resources */ = { 209 | isa = PBXResourcesBuildPhase; 210 | buildActionMask = 2147483647; 211 | files = ( 212 | 877BE6AB1A83F7CE00FFCCFD /* LaunchScreen.xib in Resources */, 213 | 877BE6A81A83F7CE00FFCCFD /* Images.xcassets in Resources */, 214 | ); 215 | runOnlyForDeploymentPostprocessing = 0; 216 | }; 217 | 877BE6AE1A83F7CE00FFCCFD /* Resources */ = { 218 | isa = PBXResourcesBuildPhase; 219 | buildActionMask = 2147483647; 220 | files = ( 221 | ); 222 | runOnlyForDeploymentPostprocessing = 0; 223 | }; 224 | /* End PBXResourcesBuildPhase section */ 225 | 226 | /* Begin PBXSourcesBuildPhase section */ 227 | 877BE6931A83F7CE00FFCCFD /* Sources */ = { 228 | isa = PBXSourcesBuildPhase; 229 | buildActionMask = 2147483647; 230 | files = ( 231 | 877BE6A31A83F7CE00FFCCFD /* ViewController.m in Sources */, 232 | 877BE6C21A83F81D00FFCCFD /* ABCIntroView.m in Sources */, 233 | 877BE6A01A83F7CE00FFCCFD /* AppDelegate.m in Sources */, 234 | 877BE69D1A83F7CE00FFCCFD /* main.m in Sources */, 235 | ); 236 | runOnlyForDeploymentPostprocessing = 0; 237 | }; 238 | 877BE6AC1A83F7CE00FFCCFD /* Sources */ = { 239 | isa = PBXSourcesBuildPhase; 240 | buildActionMask = 2147483647; 241 | files = ( 242 | 877BE6B71A83F7CE00FFCCFD /* ABCIntroViewTests.m in Sources */, 243 | ); 244 | runOnlyForDeploymentPostprocessing = 0; 245 | }; 246 | /* End PBXSourcesBuildPhase section */ 247 | 248 | /* Begin PBXTargetDependency section */ 249 | 877BE6B21A83F7CE00FFCCFD /* PBXTargetDependency */ = { 250 | isa = PBXTargetDependency; 251 | target = 877BE6961A83F7CE00FFCCFD /* ABCIntroView */; 252 | targetProxy = 877BE6B11A83F7CE00FFCCFD /* PBXContainerItemProxy */; 253 | }; 254 | /* End PBXTargetDependency section */ 255 | 256 | /* Begin PBXVariantGroup section */ 257 | 877BE6A91A83F7CE00FFCCFD /* LaunchScreen.xib */ = { 258 | isa = PBXVariantGroup; 259 | children = ( 260 | 877BE6AA1A83F7CE00FFCCFD /* Base */, 261 | ); 262 | name = LaunchScreen.xib; 263 | sourceTree = ""; 264 | }; 265 | /* End PBXVariantGroup section */ 266 | 267 | /* Begin XCBuildConfiguration section */ 268 | 877BE6B81A83F7CE00FFCCFD /* Debug */ = { 269 | isa = XCBuildConfiguration; 270 | buildSettings = { 271 | ALWAYS_SEARCH_USER_PATHS = NO; 272 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 273 | CLANG_CXX_LIBRARY = "libc++"; 274 | CLANG_ENABLE_MODULES = YES; 275 | CLANG_ENABLE_OBJC_ARC = YES; 276 | CLANG_WARN_BOOL_CONVERSION = YES; 277 | CLANG_WARN_CONSTANT_CONVERSION = YES; 278 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 279 | CLANG_WARN_EMPTY_BODY = YES; 280 | CLANG_WARN_ENUM_CONVERSION = YES; 281 | CLANG_WARN_INT_CONVERSION = YES; 282 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 283 | CLANG_WARN_UNREACHABLE_CODE = YES; 284 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 285 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 286 | COPY_PHASE_STRIP = NO; 287 | ENABLE_STRICT_OBJC_MSGSEND = YES; 288 | GCC_C_LANGUAGE_STANDARD = gnu99; 289 | GCC_DYNAMIC_NO_PIC = NO; 290 | GCC_OPTIMIZATION_LEVEL = 0; 291 | GCC_PREPROCESSOR_DEFINITIONS = ( 292 | "DEBUG=1", 293 | "$(inherited)", 294 | ); 295 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 296 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 297 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 298 | GCC_WARN_UNDECLARED_SELECTOR = YES; 299 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 300 | GCC_WARN_UNUSED_FUNCTION = YES; 301 | GCC_WARN_UNUSED_VARIABLE = YES; 302 | IPHONEOS_DEPLOYMENT_TARGET = 8.1; 303 | MTL_ENABLE_DEBUG_INFO = YES; 304 | ONLY_ACTIVE_ARCH = YES; 305 | SDKROOT = iphoneos; 306 | TARGETED_DEVICE_FAMILY = "1,2"; 307 | }; 308 | name = Debug; 309 | }; 310 | 877BE6B91A83F7CE00FFCCFD /* Release */ = { 311 | isa = XCBuildConfiguration; 312 | buildSettings = { 313 | ALWAYS_SEARCH_USER_PATHS = NO; 314 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 315 | CLANG_CXX_LIBRARY = "libc++"; 316 | CLANG_ENABLE_MODULES = YES; 317 | CLANG_ENABLE_OBJC_ARC = YES; 318 | CLANG_WARN_BOOL_CONVERSION = YES; 319 | CLANG_WARN_CONSTANT_CONVERSION = YES; 320 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 321 | CLANG_WARN_EMPTY_BODY = YES; 322 | CLANG_WARN_ENUM_CONVERSION = YES; 323 | CLANG_WARN_INT_CONVERSION = YES; 324 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 325 | CLANG_WARN_UNREACHABLE_CODE = YES; 326 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 327 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 328 | COPY_PHASE_STRIP = YES; 329 | ENABLE_NS_ASSERTIONS = NO; 330 | ENABLE_STRICT_OBJC_MSGSEND = YES; 331 | GCC_C_LANGUAGE_STANDARD = gnu99; 332 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 333 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 334 | GCC_WARN_UNDECLARED_SELECTOR = YES; 335 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 336 | GCC_WARN_UNUSED_FUNCTION = YES; 337 | GCC_WARN_UNUSED_VARIABLE = YES; 338 | IPHONEOS_DEPLOYMENT_TARGET = 8.1; 339 | MTL_ENABLE_DEBUG_INFO = NO; 340 | SDKROOT = iphoneos; 341 | TARGETED_DEVICE_FAMILY = "1,2"; 342 | VALIDATE_PRODUCT = YES; 343 | }; 344 | name = Release; 345 | }; 346 | 877BE6BB1A83F7CE00FFCCFD /* Debug */ = { 347 | isa = XCBuildConfiguration; 348 | buildSettings = { 349 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 350 | INFOPLIST_FILE = ABCIntroView/Info.plist; 351 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 352 | PRODUCT_NAME = "$(TARGET_NAME)"; 353 | }; 354 | name = Debug; 355 | }; 356 | 877BE6BC1A83F7CE00FFCCFD /* Release */ = { 357 | isa = XCBuildConfiguration; 358 | buildSettings = { 359 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 360 | INFOPLIST_FILE = ABCIntroView/Info.plist; 361 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 362 | PRODUCT_NAME = "$(TARGET_NAME)"; 363 | }; 364 | name = Release; 365 | }; 366 | 877BE6BE1A83F7CE00FFCCFD /* Debug */ = { 367 | isa = XCBuildConfiguration; 368 | buildSettings = { 369 | BUNDLE_LOADER = "$(TEST_HOST)"; 370 | FRAMEWORK_SEARCH_PATHS = ( 371 | "$(SDKROOT)/Developer/Library/Frameworks", 372 | "$(inherited)", 373 | ); 374 | GCC_PREPROCESSOR_DEFINITIONS = ( 375 | "DEBUG=1", 376 | "$(inherited)", 377 | ); 378 | INFOPLIST_FILE = ABCIntroViewTests/Info.plist; 379 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 380 | PRODUCT_NAME = "$(TARGET_NAME)"; 381 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ABCIntroView.app/ABCIntroView"; 382 | }; 383 | name = Debug; 384 | }; 385 | 877BE6BF1A83F7CE00FFCCFD /* Release */ = { 386 | isa = XCBuildConfiguration; 387 | buildSettings = { 388 | BUNDLE_LOADER = "$(TEST_HOST)"; 389 | FRAMEWORK_SEARCH_PATHS = ( 390 | "$(SDKROOT)/Developer/Library/Frameworks", 391 | "$(inherited)", 392 | ); 393 | INFOPLIST_FILE = ABCIntroViewTests/Info.plist; 394 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 395 | PRODUCT_NAME = "$(TARGET_NAME)"; 396 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ABCIntroView.app/ABCIntroView"; 397 | }; 398 | name = Release; 399 | }; 400 | /* End XCBuildConfiguration section */ 401 | 402 | /* Begin XCConfigurationList section */ 403 | 877BE6921A83F7CE00FFCCFD /* Build configuration list for PBXProject "ABCIntroView" */ = { 404 | isa = XCConfigurationList; 405 | buildConfigurations = ( 406 | 877BE6B81A83F7CE00FFCCFD /* Debug */, 407 | 877BE6B91A83F7CE00FFCCFD /* Release */, 408 | ); 409 | defaultConfigurationIsVisible = 0; 410 | defaultConfigurationName = Release; 411 | }; 412 | 877BE6BA1A83F7CE00FFCCFD /* Build configuration list for PBXNativeTarget "ABCIntroView" */ = { 413 | isa = XCConfigurationList; 414 | buildConfigurations = ( 415 | 877BE6BB1A83F7CE00FFCCFD /* Debug */, 416 | 877BE6BC1A83F7CE00FFCCFD /* Release */, 417 | ); 418 | defaultConfigurationIsVisible = 0; 419 | defaultConfigurationName = Release; 420 | }; 421 | 877BE6BD1A83F7CE00FFCCFD /* Build configuration list for PBXNativeTarget "ABCIntroViewTests" */ = { 422 | isa = XCConfigurationList; 423 | buildConfigurations = ( 424 | 877BE6BE1A83F7CE00FFCCFD /* Debug */, 425 | 877BE6BF1A83F7CE00FFCCFD /* Release */, 426 | ); 427 | defaultConfigurationIsVisible = 0; 428 | defaultConfigurationName = Release; 429 | }; 430 | /* End XCConfigurationList section */ 431 | }; 432 | rootObject = 877BE68F1A83F7CE00FFCCFD /* Project object */; 433 | } 434 | -------------------------------------------------------------------------------- /ABCIntroView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ABCIntroView.xcodeproj/project.xcworkspace/xcshareddata/ABCIntroView.xccheckout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDESourceControlProjectFavoriteDictionaryKey 6 | 7 | IDESourceControlProjectIdentifier 8 | 19B7A642-29B4-48B3-834D-AEB077769003 9 | IDESourceControlProjectName 10 | ABCIntroView 11 | IDESourceControlProjectOriginsDictionary 12 | 13 | 9E8F1E55B05E284211159EB4FDFC97684FD8A04D 14 | https://github.com/AdamBCo/ABCIntroView.git 15 | 16 | IDESourceControlProjectPath 17 | ABCIntroView.xcodeproj 18 | IDESourceControlProjectRelativeInstallPathDictionary 19 | 20 | 9E8F1E55B05E284211159EB4FDFC97684FD8A04D 21 | ../.. 22 | 23 | IDESourceControlProjectURL 24 | https://github.com/AdamBCo/ABCIntroView.git 25 | IDESourceControlProjectVersion 26 | 111 27 | IDESourceControlProjectWCCIdentifier 28 | 9E8F1E55B05E284211159EB4FDFC97684FD8A04D 29 | IDESourceControlProjectWCConfigurations 30 | 31 | 32 | IDESourceControlRepositoryExtensionIdentifierKey 33 | public.vcs.git 34 | IDESourceControlWCCIdentifierKey 35 | 9E8F1E55B05E284211159EB4FDFC97684FD8A04D 36 | IDESourceControlWCCName 37 | ABCIntroView 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /ABCIntroView.xcodeproj/project.xcworkspace/xcuserdata/adamcooper.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamBCo/ABCIntroView/26d4c6f5b2c15518fa0218b85eaba2cb064e7e1f/ABCIntroView.xcodeproj/project.xcworkspace/xcuserdata/adamcooper.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /ABCIntroView.xcodeproj/project.xcworkspace/xcuserdata/adamcooper.xcuserdatad/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges 6 | 7 | SnapshotAutomaticallyBeforeSignificantChanges 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ABCIntroView.xcodeproj/xcuserdata/adamcooper.xcuserdatad/xcschemes/ABCIntroView.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 75 | 76 | 82 | 83 | 84 | 85 | 86 | 87 | 93 | 94 | 100 | 101 | 102 | 103 | 105 | 106 | 109 | 110 | 111 | -------------------------------------------------------------------------------- /ABCIntroView.xcodeproj/xcuserdata/adamcooper.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | ABCIntroView.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 877BE6961A83F7CE00FFCCFD 16 | 17 | primary 18 | 19 | 20 | 877BE6AF1A83F7CE00FFCCFD 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /ABCIntroView/ABCIntroView.h: -------------------------------------------------------------------------------- 1 | // 2 | // IntroView.h 3 | // ABCIntroView 4 | // 5 | // Created by Adam Cooper on 2/4/15. 6 | // Copyright (c) 2015 Adam Cooper. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @protocol ABCIntroViewDelegate 12 | 13 | -(void)onDoneButtonPressed; 14 | 15 | @end 16 | 17 | @interface ABCIntroView : UIView 18 | @property id delegate; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /ABCIntroView/ABCIntroView.m: -------------------------------------------------------------------------------- 1 | // 2 | // IntroView.m 3 | // DrawPad 4 | // 5 | // Created by Adam Cooper on 2/4/15. 6 | // Copyright (c) 2015 Adam Cooper. All rights reserved. 7 | // 8 | 9 | #import "ABCIntroView.h" 10 | 11 | @interface ABCIntroView () 12 | @property (strong, nonatomic) UIScrollView *scrollView; 13 | @property (strong, nonatomic) UIPageControl *pageControl; 14 | @property (strong, nonatomic) UIButton *doneButton; 15 | 16 | @property (strong, nonatomic) UIView *viewOne; 17 | @property (strong, nonatomic) UIView *viewTwo; 18 | @property (strong, nonatomic) UIView *viewThree; 19 | @property (strong, nonatomic) UIView *viewFour; 20 | 21 | 22 | @end 23 | 24 | @implementation ABCIntroView 25 | 26 | - (instancetype)initWithFrame:(CGRect)frame{ 27 | self = [super initWithFrame:frame]; 28 | if(self){ 29 | 30 | [self addSubview:self.scrollView]; 31 | [self addSubview:self.pageControl]; 32 | 33 | [self.scrollView addSubview:self.viewOne]; 34 | [self.scrollView addSubview:self.viewTwo]; 35 | [self.scrollView addSubview:self.viewThree]; 36 | [self.scrollView addSubview:self.viewFour]; 37 | 38 | 39 | //Done Button 40 | [self addSubview:self.doneButton]; 41 | 42 | 43 | } 44 | return self; 45 | } 46 | 47 | - (void)scrollViewDidScroll:(UIScrollView *)scrollView { 48 | 49 | CGFloat pageWidth = CGRectGetWidth(self.bounds); 50 | CGFloat pageFraction = self.scrollView.contentOffset.x / pageWidth; 51 | self.pageControl.currentPage = roundf(pageFraction); 52 | 53 | } 54 | 55 | -(UIView *)viewOne { 56 | if (!_viewOne) { 57 | 58 | _viewOne = [[UIView alloc] initWithFrame:self.frame]; 59 | 60 | UILabel *titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, self.frame.size.height*.05, self.frame.size.width*.8, 60)]; 61 | titleLabel.center = CGPointMake(self.center.x, self.frame.size.height*.1); 62 | titleLabel.text = [NSString stringWithFormat:@"Pixifly"]; 63 | titleLabel.font = [UIFont systemFontOfSize:40.0]; 64 | titleLabel.textColor = [UIColor whiteColor]; 65 | titleLabel.textAlignment = NSTextAlignmentCenter; 66 | titleLabel.numberOfLines = 0; 67 | [_viewOne addSubview:titleLabel]; 68 | 69 | UIImageView *imageview = [[UIImageView alloc] initWithFrame:CGRectMake(self.frame.size.width*.1, self.frame.size.height*.1, self.frame.size.width*.8, self.frame.size.width)]; 70 | imageview.contentMode = UIViewContentModeScaleAspectFit; 71 | imageview.image = [UIImage imageNamed:@"Intro_Screen_One"]; 72 | [_viewOne addSubview:imageview]; 73 | 74 | UILabel *descriptionLabel = [[UILabel alloc] initWithFrame:CGRectMake(self.frame.size.width*.1, self.frame.size.height*.7, self.frame.size.width*.8, 60)]; 75 | descriptionLabel.text = [NSString stringWithFormat:@"Description for First Screen."]; 76 | descriptionLabel.font = [UIFont systemFontOfSize:18.0]; 77 | descriptionLabel.textColor = [UIColor whiteColor]; 78 | descriptionLabel.textAlignment = NSTextAlignmentCenter; 79 | descriptionLabel.numberOfLines = 0; 80 | [descriptionLabel sizeToFit]; 81 | [_viewOne addSubview:descriptionLabel]; 82 | 83 | CGPoint labelCenter = CGPointMake(self.center.x, self.frame.size.height*.7); 84 | descriptionLabel.center = labelCenter; 85 | 86 | } 87 | return _viewOne; 88 | 89 | } 90 | 91 | -(UIView *)viewTwo { 92 | if (!_viewTwo) { 93 | CGFloat originWidth = self.frame.size.width; 94 | CGFloat originHeight = self.frame.size.height; 95 | 96 | _viewTwo = [[UIView alloc] initWithFrame:CGRectMake(originWidth, 0, originWidth, originHeight)]; 97 | 98 | UILabel *titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, self.frame.size.height*.05, self.frame.size.width*.8, 60)]; 99 | titleLabel.center = CGPointMake(self.center.x, self.frame.size.height*.1); 100 | titleLabel.text = [NSString stringWithFormat:@"DropShot"]; 101 | titleLabel.font = [UIFont systemFontOfSize:40.0]; 102 | titleLabel.textColor = [UIColor whiteColor]; 103 | titleLabel.textAlignment = NSTextAlignmentCenter; 104 | titleLabel.numberOfLines = 0; 105 | [_viewTwo addSubview:titleLabel]; 106 | 107 | UIImageView *imageview = [[UIImageView alloc] initWithFrame:CGRectMake(self.frame.size.width*.1, self.frame.size.height*.1, self.frame.size.width*.8, self.frame.size.width)]; 108 | imageview.contentMode = UIViewContentModeScaleAspectFit; 109 | imageview.image = [UIImage imageNamed:@"Intro_Screen_Two"]; 110 | [_viewTwo addSubview:imageview]; 111 | 112 | UILabel *descriptionLabel = [[UILabel alloc] initWithFrame:CGRectMake(self.frame.size.width*.1, self.frame.size.height*.7, self.frame.size.width*.8, 60)]; 113 | descriptionLabel.text = [NSString stringWithFormat:@"Description for Second Screen."]; 114 | descriptionLabel.font = [UIFont systemFontOfSize:18.0]; 115 | descriptionLabel.textColor = [UIColor whiteColor]; 116 | descriptionLabel.textAlignment = NSTextAlignmentCenter; 117 | descriptionLabel.numberOfLines = 0; 118 | [descriptionLabel sizeToFit]; 119 | [_viewTwo addSubview:descriptionLabel]; 120 | 121 | CGPoint labelCenter = CGPointMake(self.center.x, self.frame.size.height*.7); 122 | descriptionLabel.center = labelCenter; 123 | } 124 | return _viewTwo; 125 | 126 | } 127 | 128 | -(UIView *)viewThree{ 129 | 130 | if (!_viewThree) { 131 | CGFloat originWidth = self.frame.size.width; 132 | CGFloat originHeight = self.frame.size.height; 133 | 134 | _viewThree = [[UIView alloc] initWithFrame:CGRectMake(originWidth*2, 0, originWidth, originHeight)]; 135 | 136 | UILabel *titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, self.frame.size.height*.05, self.frame.size.width*.8, 60)]; 137 | titleLabel.center = CGPointMake(self.center.x, self.frame.size.height*.1); 138 | titleLabel.text = [NSString stringWithFormat:@"Shaktaya"]; 139 | titleLabel.font = [UIFont systemFontOfSize:40.0]; 140 | titleLabel.textColor = [UIColor whiteColor]; 141 | titleLabel.textAlignment = NSTextAlignmentCenter; 142 | titleLabel.numberOfLines = 0; 143 | [_viewThree addSubview:titleLabel]; 144 | 145 | UIImageView *imageview = [[UIImageView alloc] initWithFrame:CGRectMake(self.frame.size.width*.1, self.frame.size.height*.1, self.frame.size.width*.8, self.frame.size.width)]; 146 | imageview.contentMode = UIViewContentModeScaleAspectFit; 147 | imageview.image = [UIImage imageNamed:@"Intro_Screen_Three"]; 148 | [_viewThree addSubview:imageview]; 149 | 150 | 151 | UILabel *descriptionLabel = [[UILabel alloc] initWithFrame:CGRectMake(self.frame.size.width*.1, self.frame.size.height*.7, self.frame.size.width*.8, 60)]; 152 | descriptionLabel.text = [NSString stringWithFormat:@"Description for Third Screen."]; 153 | descriptionLabel.font = [UIFont systemFontOfSize:18.0]; 154 | descriptionLabel.textColor = [UIColor whiteColor]; 155 | descriptionLabel.textAlignment = NSTextAlignmentCenter; 156 | descriptionLabel.numberOfLines = 0; 157 | [descriptionLabel sizeToFit]; 158 | [_viewThree addSubview:descriptionLabel]; 159 | 160 | CGPoint labelCenter = CGPointMake(self.center.x, self.frame.size.height*.7); 161 | descriptionLabel.center = labelCenter; 162 | } 163 | return _viewThree; 164 | 165 | } 166 | 167 | -(UIView *)viewFour { 168 | if (!_viewFour) { 169 | 170 | CGFloat originWidth = self.frame.size.width; 171 | CGFloat originHeight = self.frame.size.height; 172 | 173 | _viewFour = [[UIView alloc] initWithFrame:CGRectMake(originWidth*3, 0, originWidth, originHeight)]; 174 | 175 | UILabel *titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, self.frame.size.height*.05, self.frame.size.width*.8, 60)]; 176 | titleLabel.center = CGPointMake(self.center.x, self.frame.size.height*.1); 177 | titleLabel.text = [NSString stringWithFormat:@"Punctual"]; 178 | titleLabel.font = [UIFont systemFontOfSize:40.0]; 179 | titleLabel.textColor = [UIColor whiteColor]; 180 | titleLabel.textAlignment = NSTextAlignmentCenter; 181 | titleLabel.numberOfLines = 0; 182 | [_viewFour addSubview:titleLabel]; 183 | 184 | UIImageView *imageview = [[UIImageView alloc] initWithFrame:CGRectMake(self.frame.size.width*.1, self.frame.size.height*.1, self.frame.size.width*.8, self.frame.size.width)]; 185 | imageview.contentMode = UIViewContentModeScaleAspectFit; 186 | imageview.image = [UIImage imageNamed:@"Intro_Screen_Four"]; 187 | [_viewFour addSubview:imageview]; 188 | 189 | UILabel *descriptionLabel = [[UILabel alloc] initWithFrame:CGRectMake(self.frame.size.width*.1, self.frame.size.height*.7, self.frame.size.width*.8, 60)]; 190 | descriptionLabel.text = [NSString stringWithFormat:@"Description for Fourth Screen."]; 191 | descriptionLabel.font = [UIFont systemFontOfSize:18.0]; 192 | descriptionLabel.textColor = [UIColor whiteColor]; 193 | descriptionLabel.textAlignment = NSTextAlignmentCenter; 194 | descriptionLabel.numberOfLines = 0; 195 | [descriptionLabel sizeToFit]; 196 | [_viewFour addSubview:descriptionLabel]; 197 | 198 | CGPoint labelCenter = CGPointMake(self.center.x, self.frame.size.height*.7); 199 | descriptionLabel.center = labelCenter; 200 | 201 | } 202 | return _viewFour; 203 | 204 | } 205 | 206 | -(UIScrollView *)scrollView { 207 | if (!_scrollView) { 208 | _scrollView = [[UIScrollView alloc] initWithFrame:self.frame]; 209 | [_scrollView setDelegate:self]; 210 | [_scrollView setPagingEnabled:YES]; 211 | [_scrollView setContentSize:CGSizeMake(self.frame.size.width*4, self.scrollView.frame.size.height)]; 212 | [self.scrollView setContentOffset:CGPointMake(0, 0) animated:YES]; 213 | } 214 | return _scrollView; 215 | } 216 | 217 | -(UIPageControl *)pageControl { 218 | if (!_pageControl) { 219 | _pageControl = [[UIPageControl alloc] initWithFrame:CGRectMake(0, self.frame.size.height-80, self.frame.size.width, 10)]; 220 | [_pageControl setCurrentPageIndicatorTintColor:[UIColor colorWithRed:0.129 green:0.588 blue:0.953 alpha:1.000]]; 221 | [_pageControl setNumberOfPages:4]; 222 | } 223 | return _pageControl; 224 | } 225 | 226 | -(UIButton *)doneButton { 227 | if (!_doneButton) { 228 | _doneButton = [[UIButton alloc] initWithFrame:CGRectMake(0, self.frame.size.height-60, self.frame.size.width, 60)]; 229 | [_doneButton setTintColor:[UIColor whiteColor]]; 230 | [_doneButton setTitle:@"Let's Go!" forState:UIControlStateNormal]; 231 | [_doneButton.titleLabel setFont:[UIFont systemFontOfSize:18.0]]; 232 | [_doneButton setBackgroundColor:[UIColor colorWithRed:0.129 green:0.588 blue:0.953 alpha:1.000]]; 233 | [_doneButton addTarget:self.delegate action:@selector(onDoneButtonPressed) forControlEvents:UIControlEventTouchUpInside]; 234 | } 235 | return _doneButton; 236 | } 237 | 238 | @end -------------------------------------------------------------------------------- /ABCIntroView/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // ABCIntroView 4 | // 5 | // Created by Adam Cooper on 2/5/15. 6 | // Copyright (c) 2015 Adam Cooper. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /ABCIntroView/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // ABCIntroView 4 | // 5 | // Created by Adam Cooper on 2/5/15. 6 | // Copyright (c) 2015 Adam Cooper. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | #import "ViewController.h" 11 | 12 | 13 | @interface AppDelegate () 14 | 15 | @end 16 | 17 | @implementation AppDelegate 18 | 19 | 20 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 21 | 22 | self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; 23 | [self.window makeKeyAndVisible]; 24 | 25 | ViewController *exampleViewController = [[ViewController alloc] init]; 26 | [self.window setRootViewController:exampleViewController]; 27 | 28 | return YES; 29 | } 30 | 31 | - (void)applicationWillResignActive:(UIApplication *)application { 32 | // 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. 33 | // 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. 34 | } 35 | 36 | - (void)applicationDidEnterBackground:(UIApplication *)application { 37 | // 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. 38 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 39 | } 40 | 41 | - (void)applicationWillEnterForeground:(UIApplication *)application { 42 | // 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. 43 | } 44 | 45 | - (void)applicationDidBecomeActive:(UIApplication *)application { 46 | // 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. 47 | } 48 | 49 | - (void)applicationWillTerminate:(UIApplication *)application { 50 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 51 | } 52 | 53 | @end 54 | -------------------------------------------------------------------------------- /ABCIntroView/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /ABCIntroView/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "29x29", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "29x29", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "40x40", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "40x40", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "76x76", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "76x76", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } -------------------------------------------------------------------------------- /ABCIntroView/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /ABCIntroView/Images.xcassets/Intro_Screen_Four.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x" 10 | }, 11 | { 12 | "idiom" : "universal", 13 | "scale" : "3x", 14 | "filename" : "Icon.png" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /ABCIntroView/Images.xcassets/Intro_Screen_Four.imageset/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamBCo/ABCIntroView/26d4c6f5b2c15518fa0218b85eaba2cb064e7e1f/ABCIntroView/Images.xcassets/Intro_Screen_Four.imageset/Icon.png -------------------------------------------------------------------------------- /ABCIntroView/Images.xcassets/Intro_Screen_One.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x" 10 | }, 11 | { 12 | "idiom" : "universal", 13 | "filename" : "iTunesArtwork@2x.png", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /ABCIntroView/Images.xcassets/Intro_Screen_One.imageset/iTunesArtwork@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamBCo/ABCIntroView/26d4c6f5b2c15518fa0218b85eaba2cb064e7e1f/ABCIntroView/Images.xcassets/Intro_Screen_One.imageset/iTunesArtwork@2x.png -------------------------------------------------------------------------------- /ABCIntroView/Images.xcassets/Intro_Screen_Three.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x" 10 | }, 11 | { 12 | "idiom" : "universal", 13 | "scale" : "3x", 14 | "filename" : "SimoniTunesArtwork@2x.png" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /ABCIntroView/Images.xcassets/Intro_Screen_Three.imageset/SimoniTunesArtwork@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamBCo/ABCIntroView/26d4c6f5b2c15518fa0218b85eaba2cb064e7e1f/ABCIntroView/Images.xcassets/Intro_Screen_Three.imageset/SimoniTunesArtwork@2x.png -------------------------------------------------------------------------------- /ABCIntroView/Images.xcassets/Intro_Screen_Two.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x" 10 | }, 11 | { 12 | "idiom" : "universal", 13 | "filename" : "iTunesArtwork@2x.png", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /ABCIntroView/Images.xcassets/Intro_Screen_Two.imageset/iTunesArtwork@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamBCo/ABCIntroView/26d4c6f5b2c15518fa0218b85eaba2cb064e7e1f/ABCIntroView/Images.xcassets/Intro_Screen_Two.imageset/iTunesArtwork@2x.png -------------------------------------------------------------------------------- /ABCIntroView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | com.adamCooper.$(PRODUCT_NAME:rfc1034identifier) 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 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /ABCIntroView/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // ABCIntroView 4 | // 5 | // Created by Adam Cooper on 2/5/15. 6 | // Copyright (c) 2015 Adam Cooper. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /ABCIntroView/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // ABCIntroView 4 | // 5 | // Created by Adam Cooper on 2/5/15. 6 | // Copyright (c) 2015 Adam Cooper. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | #import "ABCIntroView.h" 11 | 12 | @interface ViewController () 13 | @property ABCIntroView *introView; 14 | 15 | @end 16 | 17 | @implementation ViewController 18 | 19 | - (void)viewDidLoad { 20 | [super viewDidLoad]; 21 | 22 | NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; 23 | if (![defaults objectForKey:@"intro_screen_viewed"]) { 24 | self.introView = [[ABCIntroView alloc] initWithFrame:self.view.frame]; 25 | 26 | self.introView.delegate = self; 27 | self.introView.backgroundColor = [UIColor colorWithWhite:0.149 alpha:1.000]; 28 | [self.view addSubview:self.introView]; 29 | } 30 | } 31 | 32 | #pragma mark - ABCIntroViewDelegate Methods 33 | 34 | -(void)onDoneButtonPressed{ 35 | 36 | // Uncomment so that the IntroView does not show after the user clicks "DONE" 37 | // NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; 38 | // [defaults setObject:@"YES"forKey:@"intro_screen_viewed"]; 39 | // [defaults synchronize]; 40 | 41 | [UIView animateWithDuration:1.0 delay:0 options:UIViewAnimationOptionCurveEaseInOut animations:^{ 42 | self.introView.alpha = 0; 43 | } completion:^(BOOL finished) { 44 | [self.introView removeFromSuperview]; 45 | }]; 46 | } 47 | 48 | 49 | @end 50 | -------------------------------------------------------------------------------- /ABCIntroView/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // ABCIntroView 4 | // 5 | // Created by Adam Cooper on 2/5/15. 6 | // Copyright (c) 2015 Adam Cooper. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /ABCIntroViewTests/ABCIntroViewTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // ABCIntroViewTests.m 3 | // ABCIntroViewTests 4 | // 5 | // Created by Adam Cooper on 2/5/15. 6 | // Copyright (c) 2015 Adam Cooper. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface ABCIntroViewTests : XCTestCase 13 | 14 | @end 15 | 16 | @implementation ABCIntroViewTests 17 | 18 | - (void)setUp { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown { 24 | // Put teardown code here. This method is called after the invocation of each test method in the class. 25 | [super tearDown]; 26 | } 27 | 28 | - (void)testExample { 29 | // This is an example of a functional test case. 30 | XCTAssert(YES, @"Pass"); 31 | } 32 | 33 | - (void)testPerformanceExample { 34 | // This is an example of a performance test case. 35 | [self measureBlock:^{ 36 | // Put the code you want to measure the time of here. 37 | }]; 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /ABCIntroViewTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | com.adamCooper.$(PRODUCT_NAME:rfc1034identifier) 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 | -------------------------------------------------------------------------------- /License: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 Adam Cooper (http://adambcooper.com/) 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ABCIntroView 2 | ======================== 3 | ABCIntroView is an easy to use onboarding which allows you to introduce your users to the applicaiton before reaching the Main Screen. 4 | 5 | ![drag](./SampleImages/ScreenShot_One.png) 6 | ![drag](./SampleImages/ScreenShot_Two.png) 7 | ![drag](./SampleImages/ScreenShot_Three.png) 8 | ![drag](./SampleImages/ScreenShot_Four.png) 9 | 10 | To use the ABCIntroView please do the following: 11 | 12 | 1. Add the follwing files found in the CLASSES folder to your project: 13 | ``` 14 | *ABCIntroView.h 15 | *ABCIntroView.m 16 | ``` 17 | 18 | 2. Import the ABCIntoView file to your RootViewController. 19 | 20 | 3. Create an ABCIntroView property and add the ABCIntroViewDelegate. 21 | 22 | 4. Add the following line of code to your ViewDidLoad: 23 | ``` 24 | NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; 25 | if (![defaults objectForKey:@"intro_screen_viewed"]) { 26 | self.introView = [[ABCIntroView alloc] initWithFrame:self.view.frame]; 27 | self.introView.delegate = self; 28 | self.introView.backgroundColor = [UIColor greenColor]; 29 | [self.view addSubview:self.introView]; 30 | } 31 | ``` 32 | 33 | 5. Add the ABCIntroView Delegate Method: 34 | ``` 35 | #pragma mark - ABCIntroViewDelegate Methods 36 | 37 | -(void)onDoneButtonPressed{ 38 | // Uncomment so that the IntroView does not show after the user clicks "DONE" 39 | // NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults] 40 | // [defaults setObject:@"YES"forKey:@"intro_screen_viewed"]; 41 | // [defaults synchronize]; 42 | [UIView animateWithDuration:1.0 delay:0 options:UIViewAnimationOptionCurveEaseInOut animations:^{ 43 | self.introView.alpha = 0; 44 | } completion:^(BOOL finished) { 45 | [self.introView removeFromSuperview]; 46 | }]; 47 | } 48 | ``` 49 | 50 | If you have any questions about the project, please don't hesitate to ask. 51 | 52 | Enjoy! :) 53 | 54 | Adam 55 | -------------------------------------------------------------------------------- /SampleImages/ScreenShot_Four.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamBCo/ABCIntroView/26d4c6f5b2c15518fa0218b85eaba2cb064e7e1f/SampleImages/ScreenShot_Four.png -------------------------------------------------------------------------------- /SampleImages/ScreenShot_One.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamBCo/ABCIntroView/26d4c6f5b2c15518fa0218b85eaba2cb064e7e1f/SampleImages/ScreenShot_One.png -------------------------------------------------------------------------------- /SampleImages/ScreenShot_Three.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamBCo/ABCIntroView/26d4c6f5b2c15518fa0218b85eaba2cb064e7e1f/SampleImages/ScreenShot_Three.png -------------------------------------------------------------------------------- /SampleImages/ScreenShot_Two.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamBCo/ABCIntroView/26d4c6f5b2c15518fa0218b85eaba2cb064e7e1f/SampleImages/ScreenShot_Two.png --------------------------------------------------------------------------------