diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8814210 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +.DS_Store +xcuserdata/ +.idea/ +Pods/ +Carthage/ diff --git a/FirstApp.xcodeproj/project.pbxproj b/FirstApp.xcodeproj/project.pbxproj new file mode 100644 index 0000000..b4d4118 --- /dev/null +++ b/FirstApp.xcodeproj/project.pbxproj @@ -0,0 +1,408 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + 9C5BCFA62293831400174013 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9C5BCFA52293831400174013 /* AppDelegate.swift */; }; + 9C5BCFAD2293831500174013 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9C5BCFAC2293831500174013 /* Assets.xcassets */; }; + 9C5BCFB02293831500174013 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9C5BCFAE2293831500174013 /* LaunchScreen.storyboard */; }; + 9CC6713922938BB200B7E83E /* FirstViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9CC6713722938BB200B7E83E /* FirstViewController.swift */; }; + 9CC6713A22938BB200B7E83E /* FirstViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9CC6713822938BB200B7E83E /* FirstViewController.xib */; }; + B1D4EC9EF6A7F164CD1D6C4D /* Pods_FirstApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C8C1B7DB637C4693D9E3413F /* Pods_FirstApp.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 8257991DD9D78E28FBA8B7B0 /* Pods-FirstApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FirstApp.debug.xcconfig"; path = "Target Support Files/Pods-FirstApp/Pods-FirstApp.debug.xcconfig"; sourceTree = ""; }; + 9C5BCFA22293831400174013 /* FirstApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FirstApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 9C5BCFA52293831400174013 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 9C5BCFAC2293831500174013 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 9C5BCFAF2293831500174013 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 9C5BCFB12293831500174013 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 9CC6713722938BB200B7E83E /* FirstViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FirstViewController.swift; sourceTree = ""; }; + 9CC6713822938BB200B7E83E /* FirstViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = FirstViewController.xib; sourceTree = ""; }; + B4122CEF4489A7F5BBF7FD8D /* Pods-FirstApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FirstApp.release.xcconfig"; path = "Target Support Files/Pods-FirstApp/Pods-FirstApp.release.xcconfig"; sourceTree = ""; }; + C8C1B7DB637C4693D9E3413F /* Pods_FirstApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FirstApp.framework; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 9C5BCF9F2293831400174013 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + B1D4EC9EF6A7F164CD1D6C4D /* Pods_FirstApp.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 9119802956C1D65374F4F4F9 /* Frameworks */ = { + isa = PBXGroup; + children = ( + C8C1B7DB637C4693D9E3413F /* Pods_FirstApp.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 9C5BCF992293831400174013 = { + isa = PBXGroup; + children = ( + 9C5BCFA42293831400174013 /* FirstApp */, + 9C5BCFA32293831400174013 /* Products */, + B58C7F0F670B2428CAD76EC1 /* Pods */, + 9119802956C1D65374F4F4F9 /* Frameworks */, + ); + sourceTree = ""; + }; + 9C5BCFA32293831400174013 /* Products */ = { + isa = PBXGroup; + children = ( + 9C5BCFA22293831400174013 /* FirstApp.app */, + ); + name = Products; + sourceTree = ""; + }; + 9C5BCFA42293831400174013 /* FirstApp */ = { + isa = PBXGroup; + children = ( + 9C5BCFA52293831400174013 /* AppDelegate.swift */, + 9C5BCFAC2293831500174013 /* Assets.xcassets */, + 9C5BCFAE2293831500174013 /* LaunchScreen.storyboard */, + 9C5BCFB12293831500174013 /* Info.plist */, + 9CC6713722938BB200B7E83E /* FirstViewController.swift */, + 9CC6713822938BB200B7E83E /* FirstViewController.xib */, + ); + path = FirstApp; + sourceTree = ""; + }; + B58C7F0F670B2428CAD76EC1 /* Pods */ = { + isa = PBXGroup; + children = ( + 8257991DD9D78E28FBA8B7B0 /* Pods-FirstApp.debug.xcconfig */, + B4122CEF4489A7F5BBF7FD8D /* Pods-FirstApp.release.xcconfig */, + ); + path = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 9C5BCFA12293831400174013 /* FirstApp */ = { + isa = PBXNativeTarget; + buildConfigurationList = 9C5BCFB42293831500174013 /* Build configuration list for PBXNativeTarget "FirstApp" */; + buildPhases = ( + 83E879C2F7C9F2896BD65B02 /* [CP] Check Pods Manifest.lock */, + 9C5BCF9E2293831400174013 /* Sources */, + 9C5BCF9F2293831400174013 /* Frameworks */, + 9C5BCFA02293831400174013 /* Resources */, + 96B3F8062D486330EF56D5BF /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = FirstApp; + productName = FirstApp; + productReference = 9C5BCFA22293831400174013 /* FirstApp.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 9C5BCF9A2293831400174013 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1010; + LastUpgradeCheck = 1010; + ORGANIZATIONNAME = yeetsies; + TargetAttributes = { + 9C5BCFA12293831400174013 = { + CreatedOnToolsVersion = 10.1; + }; + }; + }; + buildConfigurationList = 9C5BCF9D2293831400174013 /* Build configuration list for PBXProject "FirstApp" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 9C5BCF992293831400174013; + productRefGroup = 9C5BCFA32293831400174013 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 9C5BCFA12293831400174013 /* FirstApp */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 9C5BCFA02293831400174013 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 9C5BCFB02293831500174013 /* LaunchScreen.storyboard in Resources */, + 9CC6713A22938BB200B7E83E /* FirstViewController.xib in Resources */, + 9C5BCFAD2293831500174013 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 83E879C2F7C9F2896BD65B02 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-FirstApp-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + 96B3F8062D486330EF56D5BF /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-FirstApp/Pods-FirstApp-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + ); + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxSwift.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-FirstApp/Pods-FirstApp-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 9C5BCF9E2293831400174013 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 9C5BCFA62293831400174013 /* AppDelegate.swift in Sources */, + 9CC6713922938BB200B7E83E /* FirstViewController.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 9C5BCFAE2293831500174013 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 9C5BCFAF2293831500174013 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 9C5BCFB22293831500174013 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + 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 = 12.1; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 9C5BCFB32293831500174013 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "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 = gnu11; + 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 = 12.1; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 9C5BCFB52293831500174013 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 8257991DD9D78E28FBA8B7B0 /* Pods-FirstApp.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = DU3DU4KM44; + INFOPLIST_FILE = FirstApp/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.yeetsies.FirstApp; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 9C5BCFB62293831500174013 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B4122CEF4489A7F5BBF7FD8D /* Pods-FirstApp.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = DU3DU4KM44; + INFOPLIST_FILE = FirstApp/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.yeetsies.FirstApp; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 9C5BCF9D2293831400174013 /* Build configuration list for PBXProject "FirstApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 9C5BCFB22293831500174013 /* Debug */, + 9C5BCFB32293831500174013 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 9C5BCFB42293831500174013 /* Build configuration list for PBXNativeTarget "FirstApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 9C5BCFB52293831500174013 /* Debug */, + 9C5BCFB62293831500174013 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 9C5BCF9A2293831400174013 /* Project object */; +} diff --git a/FirstApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/FirstApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..776ca1c --- /dev/null +++ b/FirstApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/FirstApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/FirstApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/FirstApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/FirstApp.xcworkspace/contents.xcworkspacedata b/FirstApp.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..ada4957 --- /dev/null +++ b/FirstApp.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/FirstApp.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/FirstApp.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/FirstApp.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/FirstApp/AppDelegate.swift b/FirstApp/AppDelegate.swift new file mode 100644 index 0000000..8b8961d --- /dev/null +++ b/FirstApp/AppDelegate.swift @@ -0,0 +1,55 @@ +// +// AppDelegate.swift +// FirstApp +// +// Created by ahmed.aly on 5/20/19. +// Copyright © 2019 yeetsies. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + var navigationController: UINavigationController? + var firstViewController: FirstViewController? + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + + window = UIWindow() + self.firstViewController = FirstViewController(nibName: "FirstViewController", bundle: nil) + self.navigationController = UINavigationController(rootViewController: self.firstViewController!) + + self.window?.rootViewController = self.navigationController + self.window?.makeKeyAndVisible() + 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 invalidate graphics rendering callbacks. 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 active 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/FirstApp/Assets.xcassets/AppIcon.appiconset/Contents.json b/FirstApp/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..d8db8d6 --- /dev/null +++ b/FirstApp/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,98 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, + { + "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" : "20x20", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "2x" + }, + { + "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" + }, + { + "idiom" : "ipad", + "size" : "83.5x83.5", + "scale" : "2x" + }, + { + "idiom" : "ios-marketing", + "size" : "1024x1024", + "scale" : "1x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/FirstApp/Assets.xcassets/Contents.json b/FirstApp/Assets.xcassets/Contents.json new file mode 100644 index 0000000..2d92bd5 --- /dev/null +++ b/FirstApp/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} diff --git a/FirstApp/Base.lproj/LaunchScreen.storyboard b/FirstApp/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..bfa3612 --- /dev/null +++ b/FirstApp/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/FirstApp/FirstViewController.swift b/FirstApp/FirstViewController.swift new file mode 100644 index 0000000..ea77108 --- /dev/null +++ b/FirstApp/FirstViewController.swift @@ -0,0 +1,17 @@ +// +// FirstViewController.swift +// FirstApp +// +// Created by ahmed.aly on 5/20/19. +// Copyright © 2019 yeetsies. All rights reserved. +// + +import UIKit + +class FirstViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + + } +} diff --git a/FirstApp/FirstViewController.xib b/FirstApp/FirstViewController.xib new file mode 100644 index 0000000..5abb308 --- /dev/null +++ b/FirstApp/FirstViewController.xib @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/FirstApp/Info.plist b/FirstApp/Info.plist new file mode 100644 index 0000000..4222ac2 --- /dev/null +++ b/FirstApp/Info.plist @@ -0,0 +1,43 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/Podfile b/Podfile new file mode 100644 index 0000000..6c6e789 --- /dev/null +++ b/Podfile @@ -0,0 +1,10 @@ +# Uncomment the next line to define a global platform for your project +platform :ios, '11.0' + +target 'FirstApp' do + # Comment the next line if you're not using Swift and don't want to use dynamic frameworks + use_frameworks! + + # Pods for FirstApp + pod 'RxSwift', '~> 4.0' +end diff --git a/Podfile.lock b/Podfile.lock new file mode 100644 index 0000000..90d84d5 --- /dev/null +++ b/Podfile.lock @@ -0,0 +1,16 @@ +PODS: + - RxSwift (4.5.0) + +DEPENDENCIES: + - RxSwift (~> 4.0) + +SPEC REPOS: + https://github.com/cocoapods/specs.git: + - RxSwift + +SPEC CHECKSUMS: + RxSwift: f172070dfd1a93d70a9ab97a5a01166206e1c575 + +PODFILE CHECKSUM: 6d3d60ceaeeadfa34ea2a7aeba58e0ba7de8cd70 + +COCOAPODS: 1.6.2