From 9b8afa86e3b380ffe5022250cb7122ab739b70f2 Mon Sep 17 00:00:00 2001 From: Kevin McQuown Date: Sat, 13 Jun 2015 09:50:36 -0500 Subject: [PATCH] Initial Commit --- GetDibs.xcodeproj/project.pbxproj | 426 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + GetDibs/AppDelegate.swift | 46 ++ GetDibs/Base.lproj/LaunchScreen.xib | 41 ++ GetDibs/Base.lproj/Main.storyboard | 25 + .../AppIcon.appiconset/Contents.json | 68 +++ GetDibs/Info.plist | 47 ++ GetDibs/ViewController.swift | 25 + GetDibsTests/GetDibsTests.swift | 36 ++ GetDibsTests/Info.plist | 24 + 10 files changed, 745 insertions(+) create mode 100644 GetDibs.xcodeproj/project.pbxproj create mode 100644 GetDibs.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 GetDibs/AppDelegate.swift create mode 100644 GetDibs/Base.lproj/LaunchScreen.xib create mode 100644 GetDibs/Base.lproj/Main.storyboard create mode 100644 GetDibs/Images.xcassets/AppIcon.appiconset/Contents.json create mode 100644 GetDibs/Info.plist create mode 100644 GetDibs/ViewController.swift create mode 100644 GetDibsTests/GetDibsTests.swift create mode 100644 GetDibsTests/Info.plist diff --git a/GetDibs.xcodeproj/project.pbxproj b/GetDibs.xcodeproj/project.pbxproj new file mode 100644 index 0000000..a551545 --- /dev/null +++ b/GetDibs.xcodeproj/project.pbxproj @@ -0,0 +1,426 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 1997BC5F1B2C7ABA00140A9B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1997BC5E1B2C7ABA00140A9B /* AppDelegate.swift */; }; + 1997BC611B2C7ABA00140A9B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1997BC601B2C7ABA00140A9B /* ViewController.swift */; }; + 1997BC641B2C7ABA00140A9B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1997BC621B2C7ABA00140A9B /* Main.storyboard */; }; + 1997BC661B2C7ABA00140A9B /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1997BC651B2C7ABA00140A9B /* Images.xcassets */; }; + 1997BC691B2C7ABA00140A9B /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1997BC671B2C7ABA00140A9B /* LaunchScreen.xib */; }; + 1997BC751B2C7ABA00140A9B /* GetDibsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1997BC741B2C7ABA00140A9B /* GetDibsTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1997BC6F1B2C7ABA00140A9B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1997BC511B2C7ABA00140A9B /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1997BC581B2C7ABA00140A9B; + remoteInfo = GetDibs; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1997BC591B2C7ABA00140A9B /* GetDibs.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GetDibs.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 1997BC5D1B2C7ABA00140A9B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 1997BC5E1B2C7ABA00140A9B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 1997BC601B2C7ABA00140A9B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 1997BC631B2C7ABA00140A9B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 1997BC651B2C7ABA00140A9B /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + 1997BC681B2C7ABA00140A9B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; + 1997BC6E1B2C7ABA00140A9B /* GetDibsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GetDibsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 1997BC731B2C7ABA00140A9B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 1997BC741B2C7ABA00140A9B /* GetDibsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GetDibsTests.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1997BC561B2C7ABA00140A9B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1997BC6B1B2C7ABA00140A9B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 1997BC501B2C7ABA00140A9B = { + isa = PBXGroup; + children = ( + 1997BC5B1B2C7ABA00140A9B /* GetDibs */, + 1997BC711B2C7ABA00140A9B /* GetDibsTests */, + 1997BC5A1B2C7ABA00140A9B /* Products */, + ); + sourceTree = ""; + }; + 1997BC5A1B2C7ABA00140A9B /* Products */ = { + isa = PBXGroup; + children = ( + 1997BC591B2C7ABA00140A9B /* GetDibs.app */, + 1997BC6E1B2C7ABA00140A9B /* GetDibsTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 1997BC5B1B2C7ABA00140A9B /* GetDibs */ = { + isa = PBXGroup; + children = ( + 1997BC5E1B2C7ABA00140A9B /* AppDelegate.swift */, + 1997BC601B2C7ABA00140A9B /* ViewController.swift */, + 1997BC621B2C7ABA00140A9B /* Main.storyboard */, + 1997BC651B2C7ABA00140A9B /* Images.xcassets */, + 1997BC671B2C7ABA00140A9B /* LaunchScreen.xib */, + 1997BC5C1B2C7ABA00140A9B /* Supporting Files */, + ); + path = GetDibs; + sourceTree = ""; + }; + 1997BC5C1B2C7ABA00140A9B /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 1997BC5D1B2C7ABA00140A9B /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 1997BC711B2C7ABA00140A9B /* GetDibsTests */ = { + isa = PBXGroup; + children = ( + 1997BC741B2C7ABA00140A9B /* GetDibsTests.swift */, + 1997BC721B2C7ABA00140A9B /* Supporting Files */, + ); + path = GetDibsTests; + sourceTree = ""; + }; + 1997BC721B2C7ABA00140A9B /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 1997BC731B2C7ABA00140A9B /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1997BC581B2C7ABA00140A9B /* GetDibs */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1997BC781B2C7ABA00140A9B /* Build configuration list for PBXNativeTarget "GetDibs" */; + buildPhases = ( + 1997BC551B2C7ABA00140A9B /* Sources */, + 1997BC561B2C7ABA00140A9B /* Frameworks */, + 1997BC571B2C7ABA00140A9B /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = GetDibs; + productName = GetDibs; + productReference = 1997BC591B2C7ABA00140A9B /* GetDibs.app */; + productType = "com.apple.product-type.application"; + }; + 1997BC6D1B2C7ABA00140A9B /* GetDibsTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1997BC7B1B2C7ABA00140A9B /* Build configuration list for PBXNativeTarget "GetDibsTests" */; + buildPhases = ( + 1997BC6A1B2C7ABA00140A9B /* Sources */, + 1997BC6B1B2C7ABA00140A9B /* Frameworks */, + 1997BC6C1B2C7ABA00140A9B /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 1997BC701B2C7ABA00140A9B /* PBXTargetDependency */, + ); + name = GetDibsTests; + productName = GetDibsTests; + productReference = 1997BC6E1B2C7ABA00140A9B /* GetDibsTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 1997BC511B2C7ABA00140A9B /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0630; + ORGANIZATIONNAME = "Windy City Lab"; + TargetAttributes = { + 1997BC581B2C7ABA00140A9B = { + CreatedOnToolsVersion = 6.3.2; + }; + 1997BC6D1B2C7ABA00140A9B = { + CreatedOnToolsVersion = 6.3.2; + TestTargetID = 1997BC581B2C7ABA00140A9B; + }; + }; + }; + buildConfigurationList = 1997BC541B2C7ABA00140A9B /* Build configuration list for PBXProject "GetDibs" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 1997BC501B2C7ABA00140A9B; + productRefGroup = 1997BC5A1B2C7ABA00140A9B /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 1997BC581B2C7ABA00140A9B /* GetDibs */, + 1997BC6D1B2C7ABA00140A9B /* GetDibsTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 1997BC571B2C7ABA00140A9B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1997BC641B2C7ABA00140A9B /* Main.storyboard in Resources */, + 1997BC691B2C7ABA00140A9B /* LaunchScreen.xib in Resources */, + 1997BC661B2C7ABA00140A9B /* Images.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1997BC6C1B2C7ABA00140A9B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1997BC551B2C7ABA00140A9B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1997BC611B2C7ABA00140A9B /* ViewController.swift in Sources */, + 1997BC5F1B2C7ABA00140A9B /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1997BC6A1B2C7ABA00140A9B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1997BC751B2C7ABA00140A9B /* GetDibsTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1997BC701B2C7ABA00140A9B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 1997BC581B2C7ABA00140A9B /* GetDibs */; + targetProxy = 1997BC6F1B2C7ABA00140A9B /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 1997BC621B2C7ABA00140A9B /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 1997BC631B2C7ABA00140A9B /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 1997BC671B2C7ABA00140A9B /* LaunchScreen.xib */ = { + isa = PBXVariantGroup; + children = ( + 1997BC681B2C7ABA00140A9B /* Base */, + ); + name = LaunchScreen.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 1997BC761B2C7ABA00140A9B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 1997BC771B2C7ABA00140A9B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 1997BC791B2C7ABA00140A9B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = GetDibs/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 1997BC7A1B2C7ABA00140A9B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = GetDibs/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 1997BC7C1B2C7ABA00140A9B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + ); + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = GetDibsTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GetDibs.app/GetDibs"; + }; + name = Debug; + }; + 1997BC7D1B2C7ABA00140A9B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + ); + INFOPLIST_FILE = GetDibsTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/GetDibs.app/GetDibs"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1997BC541B2C7ABA00140A9B /* Build configuration list for PBXProject "GetDibs" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1997BC761B2C7ABA00140A9B /* Debug */, + 1997BC771B2C7ABA00140A9B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1997BC781B2C7ABA00140A9B /* Build configuration list for PBXNativeTarget "GetDibs" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1997BC791B2C7ABA00140A9B /* Debug */, + 1997BC7A1B2C7ABA00140A9B /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + 1997BC7B1B2C7ABA00140A9B /* Build configuration list for PBXNativeTarget "GetDibsTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1997BC7C1B2C7ABA00140A9B /* Debug */, + 1997BC7D1B2C7ABA00140A9B /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 1997BC511B2C7ABA00140A9B /* Project object */; +} diff --git a/GetDibs.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/GetDibs.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..651cf80 --- /dev/null +++ b/GetDibs.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/GetDibs/AppDelegate.swift b/GetDibs/AppDelegate.swift new file mode 100644 index 0000000..e83c8a5 --- /dev/null +++ b/GetDibs/AppDelegate.swift @@ -0,0 +1,46 @@ +// +// AppDelegate.swift +// GetDibs +// +// Created by Kevin McQuown on 6/13/15. +// Copyright (c) 2015 Windy City Lab. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { + // Override point for customization after application launch. + return true + } + + func applicationWillResignActive(application: UIApplication) { + // 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. + // 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. + } + + func applicationDidEnterBackground(application: UIApplication) { + // 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. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + func applicationWillEnterForeground(application: UIApplication) { + // 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. + } + + func applicationDidBecomeActive(application: UIApplication) { + // 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. + } + + func applicationWillTerminate(application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } + + +} + diff --git a/GetDibs/Base.lproj/LaunchScreen.xib b/GetDibs/Base.lproj/LaunchScreen.xib new file mode 100644 index 0000000..cd715f4 --- /dev/null +++ b/GetDibs/Base.lproj/LaunchScreen.xib @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/GetDibs/Base.lproj/Main.storyboard b/GetDibs/Base.lproj/Main.storyboard new file mode 100644 index 0000000..3a2a49b --- /dev/null +++ b/GetDibs/Base.lproj/Main.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/GetDibs/Images.xcassets/AppIcon.appiconset/Contents.json b/GetDibs/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..36d2c80 --- /dev/null +++ b/GetDibs/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,68 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/GetDibs/Info.plist b/GetDibs/Info.plist new file mode 100644 index 0000000..09fc11e --- /dev/null +++ b/GetDibs/Info.plist @@ -0,0 +1,47 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + com.windycitylab.$(PRODUCT_NAME:rfc1034identifier) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/GetDibs/ViewController.swift b/GetDibs/ViewController.swift new file mode 100644 index 0000000..afc465c --- /dev/null +++ b/GetDibs/ViewController.swift @@ -0,0 +1,25 @@ +// +// ViewController.swift +// GetDibs +// +// Created by Kevin McQuown on 6/13/15. +// Copyright (c) 2015 Windy City Lab. All rights reserved. +// + +import UIKit + +class ViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view, typically from a nib. + } + + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Dispose of any resources that can be recreated. + } + + +} + diff --git a/GetDibsTests/GetDibsTests.swift b/GetDibsTests/GetDibsTests.swift new file mode 100644 index 0000000..ebd2d1a --- /dev/null +++ b/GetDibsTests/GetDibsTests.swift @@ -0,0 +1,36 @@ +// +// GetDibsTests.swift +// GetDibsTests +// +// Created by Kevin McQuown on 6/13/15. +// Copyright (c) 2015 Windy City Lab. All rights reserved. +// + +import UIKit +import XCTest + +class GetDibsTests: XCTestCase { + + override func setUp() { + super.setUp() + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testExample() { + // This is an example of a functional test case. + XCTAssert(true, "Pass") + } + + func testPerformanceExample() { + // This is an example of a performance test case. + self.measureBlock() { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/GetDibsTests/Info.plist b/GetDibsTests/Info.plist new file mode 100644 index 0000000..b86e9f5 --- /dev/null +++ b/GetDibsTests/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + com.windycitylab.$(PRODUCT_NAME:rfc1034identifier) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + +