diff --git a/Sprint 9/Creating Frameworks/FramWork/FrameWork/FrameWork.xcodeproj/project.pbxproj b/Sprint 9/Creating Frameworks/FramWork/FrameWork/FrameWork.xcodeproj/project.pbxproj new file mode 100644 index 00000000..c50ed12b --- /dev/null +++ b/Sprint 9/Creating Frameworks/FramWork/FrameWork/FrameWork.xcodeproj/project.pbxproj @@ -0,0 +1,345 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + 44E5B3AD22C40BE7003DD1C4 /* FrameWork.h in Headers */ = {isa = PBXBuildFile; fileRef = 44E5B3AB22C40BE7003DD1C4 /* FrameWork.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 44E5B3D122C4130D003DD1C4 /* IndeterminateLoadingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 44E5B3D022C4130D003DD1C4 /* IndeterminateLoadingView.swift */; }; + 44E5B3D322C41380003DD1C4 /* LoadingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 44E5B3D222C41380003DD1C4 /* LoadingViewController.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 44E5B3A822C40BE7003DD1C4 /* FrameWork.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = FrameWork.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 44E5B3AB22C40BE7003DD1C4 /* FrameWork.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FrameWork.h; sourceTree = ""; }; + 44E5B3AC22C40BE7003DD1C4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 44E5B3D022C4130D003DD1C4 /* IndeterminateLoadingView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = IndeterminateLoadingView.swift; path = ../../../IndeterminateLoadingView.swift; sourceTree = ""; }; + 44E5B3D222C41380003DD1C4 /* LoadingViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoadingViewController.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 44E5B3A522C40BE7003DD1C4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 44E5B39E22C40BE7003DD1C4 = { + isa = PBXGroup; + children = ( + 44E5B3AA22C40BE7003DD1C4 /* FrameWork */, + 44E5B3A922C40BE7003DD1C4 /* Products */, + ); + sourceTree = ""; + }; + 44E5B3A922C40BE7003DD1C4 /* Products */ = { + isa = PBXGroup; + children = ( + 44E5B3A822C40BE7003DD1C4 /* FrameWork.framework */, + ); + name = Products; + sourceTree = ""; + }; + 44E5B3AA22C40BE7003DD1C4 /* FrameWork */ = { + isa = PBXGroup; + children = ( + 44E5B3AB22C40BE7003DD1C4 /* FrameWork.h */, + 44E5B3AC22C40BE7003DD1C4 /* Info.plist */, + 44E5B3D022C4130D003DD1C4 /* IndeterminateLoadingView.swift */, + 44E5B3D222C41380003DD1C4 /* LoadingViewController.swift */, + ); + path = FrameWork; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 44E5B3A322C40BE7003DD1C4 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 44E5B3AD22C40BE7003DD1C4 /* FrameWork.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 44E5B3A722C40BE7003DD1C4 /* FrameWork */ = { + isa = PBXNativeTarget; + buildConfigurationList = 44E5B3B022C40BE7003DD1C4 /* Build configuration list for PBXNativeTarget "FrameWork" */; + buildPhases = ( + 44E5B3A322C40BE7003DD1C4 /* Headers */, + 44E5B3A422C40BE7003DD1C4 /* Sources */, + 44E5B3A522C40BE7003DD1C4 /* Frameworks */, + 44E5B3A622C40BE7003DD1C4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = FrameWork; + productName = FrameWork; + productReference = 44E5B3A822C40BE7003DD1C4 /* FrameWork.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 44E5B39F22C40BE7003DD1C4 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 1020; + ORGANIZATIONNAME = "Ryan Murphy"; + TargetAttributes = { + 44E5B3A722C40BE7003DD1C4 = { + CreatedOnToolsVersion = 10.2.1; + LastSwiftMigration = 1020; + }; + }; + }; + buildConfigurationList = 44E5B3A222C40BE7003DD1C4 /* Build configuration list for PBXProject "FrameWork" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 44E5B39E22C40BE7003DD1C4; + productRefGroup = 44E5B3A922C40BE7003DD1C4 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 44E5B3A722C40BE7003DD1C4 /* FrameWork */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 44E5B3A622C40BE7003DD1C4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 44E5B3A422C40BE7003DD1C4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 44E5B3D122C4130D003DD1C4 /* IndeterminateLoadingView.swift in Sources */, + 44E5B3D322C41380003DD1C4 /* LoadingViewController.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 44E5B3AE22C40BE7003DD1C4 /* 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; + CURRENT_PROJECT_VERSION = 1; + 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.2; + 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"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 44E5B3AF22C40BE7003DD1C4 /* 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; + CURRENT_PROJECT_VERSION = 1; + 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.2; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 44E5B3B122C40BE7003DD1C4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = FrameWork/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.extremeconch.FrameWork; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 44E5B3B222C40BE7003DD1C4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = FrameWork/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.extremeconch.FrameWork; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 44E5B3A222C40BE7003DD1C4 /* Build configuration list for PBXProject "FrameWork" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 44E5B3AE22C40BE7003DD1C4 /* Debug */, + 44E5B3AF22C40BE7003DD1C4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 44E5B3B022C40BE7003DD1C4 /* Build configuration list for PBXNativeTarget "FrameWork" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 44E5B3B122C40BE7003DD1C4 /* Debug */, + 44E5B3B222C40BE7003DD1C4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 44E5B39F22C40BE7003DD1C4 /* Project object */; +} diff --git a/Sprint 9/Creating Frameworks/FramWork/FrameWork/FrameWork/FrameWork.h b/Sprint 9/Creating Frameworks/FramWork/FrameWork/FrameWork/FrameWork.h new file mode 100644 index 00000000..58c5e956 --- /dev/null +++ b/Sprint 9/Creating Frameworks/FramWork/FrameWork/FrameWork/FrameWork.h @@ -0,0 +1,19 @@ +// +// FrameWork.h +// FrameWork +// +// Created by Ryan Murphy on 6/26/19. +// Copyright © 2019 Ryan Murphy. All rights reserved. +// + +#import + +//! Project version number for FrameWork. +FOUNDATION_EXPORT double FrameWorkVersionNumber; + +//! Project version string for FrameWork. +FOUNDATION_EXPORT const unsigned char FrameWorkVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/Sprint 9/Creating Frameworks/FramWork/FrameWork/FrameWork/Info.plist b/Sprint 9/Creating Frameworks/FramWork/FrameWork/FrameWork/Info.plist new file mode 100644 index 00000000..e1fe4cfb --- /dev/null +++ b/Sprint 9/Creating Frameworks/FramWork/FrameWork/FrameWork/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + + diff --git a/Sprint 9/Creating Frameworks/FramWork/FrameWork/FrameWork/LoadingViewController.swift b/Sprint 9/Creating Frameworks/FramWork/FrameWork/FrameWork/LoadingViewController.swift new file mode 100644 index 00000000..ac215abc --- /dev/null +++ b/Sprint 9/Creating Frameworks/FramWork/FrameWork/FrameWork/LoadingViewController.swift @@ -0,0 +1,25 @@ +// +// LoadingViewController.swift +// FrameWork +// +// Created by Ryan Murphy on 6/26/19. +// Copyright © 2019 Ryan Murphy. All rights reserved. +// + +import UIKit + + +public class LoadingViewController: UIViewController { + + private let indeterminateLoadingView = IndeterminateLoadingView() + + override public func viewDidLoad() { + super.viewDidLoad() + + indeterminateLoadingView.startAnimating() + + } + + + +} diff --git a/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject.xcodeproj/project.pbxproj b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject.xcodeproj/project.pbxproj new file mode 100644 index 00000000..486d52b0 --- /dev/null +++ b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject.xcodeproj/project.pbxproj @@ -0,0 +1,421 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + 447C2FD822C40B27001E9D0F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 447C2FD722C40B27001E9D0F /* AppDelegate.swift */; }; + 447C2FDA22C40B27001E9D0F /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 447C2FD922C40B27001E9D0F /* ViewController.swift */; }; + 447C2FDD22C40B27001E9D0F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 447C2FDB22C40B27001E9D0F /* Main.storyboard */; }; + 447C2FDF22C40B28001E9D0F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 447C2FDE22C40B28001E9D0F /* Assets.xcassets */; }; + 447C2FE222C40B28001E9D0F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 447C2FE022C40B28001E9D0F /* LaunchScreen.storyboard */; }; + 44E5B3B922C40C21003DD1C4 /* FrameWork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 44E5B3B822C40C0F003DD1C4 /* FrameWork.framework */; }; + 44E5B3BA22C40C21003DD1C4 /* FrameWork.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 44E5B3B822C40C0F003DD1C4 /* FrameWork.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 44E5B3D522C4168A003DD1C4 /* TestLoadingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 44E5B3D422C4168A003DD1C4 /* TestLoadingViewController.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 44E5B3B722C40C0F003DD1C4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 44E5B3B322C40C0F003DD1C4 /* FrameWork.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 44E5B3A822C40BE7003DD1C4; + remoteInfo = FrameWork; + }; + 44E5B3BB22C40C21003DD1C4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 44E5B3B322C40C0F003DD1C4 /* FrameWork.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 44E5B3A722C40BE7003DD1C4; + remoteInfo = FrameWork; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 44E5B3BD22C40C21003DD1C4 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 44E5B3BA22C40C21003DD1C4 /* FrameWork.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 447C2FD422C40B27001E9D0F /* FrameWorkProject.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FrameWorkProject.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 447C2FD722C40B27001E9D0F /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 447C2FD922C40B27001E9D0F /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 447C2FDC22C40B27001E9D0F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 447C2FDE22C40B28001E9D0F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 447C2FE122C40B28001E9D0F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 447C2FE322C40B28001E9D0F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 44E5B3B322C40C0F003DD1C4 /* FrameWork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = FrameWork.xcodeproj; path = ../../FramWork/FrameWork/FrameWork.xcodeproj; sourceTree = ""; }; + 44E5B3D422C4168A003DD1C4 /* TestLoadingViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestLoadingViewController.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 447C2FD122C40B27001E9D0F /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 44E5B3B922C40C21003DD1C4 /* FrameWork.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 4474E1FD22C42090005D345B /* VCs */ = { + isa = PBXGroup; + children = ( + 447C2FD922C40B27001E9D0F /* ViewController.swift */, + 44E5B3D422C4168A003DD1C4 /* TestLoadingViewController.swift */, + ); + path = VCs; + sourceTree = ""; + }; + 447C2FCB22C40B27001E9D0F = { + isa = PBXGroup; + children = ( + 447C2FD622C40B27001E9D0F /* FrameWorkProject */, + 447C2FD522C40B27001E9D0F /* Products */, + ); + sourceTree = ""; + }; + 447C2FD522C40B27001E9D0F /* Products */ = { + isa = PBXGroup; + children = ( + 447C2FD422C40B27001E9D0F /* FrameWorkProject.app */, + ); + name = Products; + sourceTree = ""; + }; + 447C2FD622C40B27001E9D0F /* FrameWorkProject */ = { + isa = PBXGroup; + children = ( + 447C2FD722C40B27001E9D0F /* AppDelegate.swift */, + 4474E1FD22C42090005D345B /* VCs */, + 447C2FDB22C40B27001E9D0F /* Main.storyboard */, + 447C2FE022C40B28001E9D0F /* LaunchScreen.storyboard */, + 447C2FDE22C40B28001E9D0F /* Assets.xcassets */, + 447C2FE322C40B28001E9D0F /* Info.plist */, + 44E5B3B322C40C0F003DD1C4 /* FrameWork.xcodeproj */, + ); + path = FrameWorkProject; + sourceTree = ""; + }; + 44E5B3B422C40C0F003DD1C4 /* Products */ = { + isa = PBXGroup; + children = ( + 44E5B3B822C40C0F003DD1C4 /* FrameWork.framework */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 447C2FD322C40B27001E9D0F /* FrameWorkProject */ = { + isa = PBXNativeTarget; + buildConfigurationList = 447C2FE622C40B28001E9D0F /* Build configuration list for PBXNativeTarget "FrameWorkProject" */; + buildPhases = ( + 447C2FD022C40B27001E9D0F /* Sources */, + 447C2FD122C40B27001E9D0F /* Frameworks */, + 447C2FD222C40B27001E9D0F /* Resources */, + 44E5B3BD22C40C21003DD1C4 /* Embed Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 44E5B3BC22C40C21003DD1C4 /* PBXTargetDependency */, + ); + name = FrameWorkProject; + productName = FrameWorkProject; + productReference = 447C2FD422C40B27001E9D0F /* FrameWorkProject.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 447C2FCC22C40B27001E9D0F /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1020; + LastUpgradeCheck = 1020; + ORGANIZATIONNAME = "Ryan Murphy"; + TargetAttributes = { + 447C2FD322C40B27001E9D0F = { + CreatedOnToolsVersion = 10.2.1; + }; + }; + }; + buildConfigurationList = 447C2FCF22C40B27001E9D0F /* Build configuration list for PBXProject "FrameWorkProject" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 447C2FCB22C40B27001E9D0F; + productRefGroup = 447C2FD522C40B27001E9D0F /* Products */; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = 44E5B3B422C40C0F003DD1C4 /* Products */; + ProjectRef = 44E5B3B322C40C0F003DD1C4 /* FrameWork.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + 447C2FD322C40B27001E9D0F /* FrameWorkProject */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + 44E5B3B822C40C0F003DD1C4 /* FrameWork.framework */ = { + isa = PBXReferenceProxy; + fileType = wrapper.framework; + path = FrameWork.framework; + remoteRef = 44E5B3B722C40C0F003DD1C4 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXResourcesBuildPhase section */ + 447C2FD222C40B27001E9D0F /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 447C2FE222C40B28001E9D0F /* LaunchScreen.storyboard in Resources */, + 447C2FDF22C40B28001E9D0F /* Assets.xcassets in Resources */, + 447C2FDD22C40B27001E9D0F /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 447C2FD022C40B27001E9D0F /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 44E5B3D522C4168A003DD1C4 /* TestLoadingViewController.swift in Sources */, + 447C2FDA22C40B27001E9D0F /* ViewController.swift in Sources */, + 447C2FD822C40B27001E9D0F /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 44E5B3BC22C40C21003DD1C4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = FrameWork; + targetProxy = 44E5B3BB22C40C21003DD1C4 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 447C2FDB22C40B27001E9D0F /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 447C2FDC22C40B27001E9D0F /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 447C2FE022C40B28001E9D0F /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 447C2FE122C40B28001E9D0F /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 447C2FE422C40B28001E9D0F /* 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.2; + 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; + }; + 447C2FE522C40B28001E9D0F /* 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.2; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 447C2FE722C40B28001E9D0F /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = FrameWorkProject/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.extremeconch.FrameWorkProject; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 447C2FE822C40B28001E9D0F /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = FrameWorkProject/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.extremeconch.FrameWorkProject; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 447C2FCF22C40B27001E9D0F /* Build configuration list for PBXProject "FrameWorkProject" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 447C2FE422C40B28001E9D0F /* Debug */, + 447C2FE522C40B28001E9D0F /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 447C2FE622C40B28001E9D0F /* Build configuration list for PBXNativeTarget "FrameWorkProject" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 447C2FE722C40B28001E9D0F /* Debug */, + 447C2FE822C40B28001E9D0F /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 447C2FCC22C40B27001E9D0F /* Project object */; +} diff --git a/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/AppDelegate.swift b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/AppDelegate.swift new file mode 100644 index 00000000..36ef086f --- /dev/null +++ b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/AppDelegate.swift @@ -0,0 +1,46 @@ +// +// AppDelegate.swift +// FrameWorkProject +// +// Created by Ryan Murphy on 6/26/19. +// Copyright © 2019 Ryan Murphy. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> 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 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/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/Assets.xcassets/AppIcon.appiconset/Contents.json b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000..d8db8d65 --- /dev/null +++ b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/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/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/Assets.xcassets/Contents.json b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/Assets.xcassets/Contents.json new file mode 100644 index 00000000..da4a164c --- /dev/null +++ b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/Base.lproj/LaunchScreen.storyboard b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 00000000..bfa36129 --- /dev/null +++ b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/Base.lproj/Main.storyboard b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/Base.lproj/Main.storyboard new file mode 100644 index 00000000..e08746a4 --- /dev/null +++ b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/Base.lproj/Main.storyboard @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/Info.plist b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/Info.plist new file mode 100644 index 00000000..16be3b68 --- /dev/null +++ b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/Info.plist @@ -0,0 +1,45 @@ + + + + + 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 + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/VCs/TestLoadingViewController.swift b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/VCs/TestLoadingViewController.swift new file mode 100644 index 00000000..e3751ce0 --- /dev/null +++ b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/VCs/TestLoadingViewController.swift @@ -0,0 +1,37 @@ +// +// TestLoadingViewController.swift +// FrameWorkProject +// +// Created by Ryan Murphy on 6/26/19. +// Copyright © 2019 Ryan Murphy. All rights reserved. +// + +import UIKit +import FrameWork + +class TestLoadingViewController: UIViewController { + + + @IBOutlet weak var LoadingView: IndeterminateLoadingView! + + @IBOutlet weak var EndButtonTapped: UIBarButtonItem! + + override func viewDidLoad() { + super.viewDidLoad() + + loadAnimation() + } + + + func loadAnimation() { + + LoadingView.startAnimating() + + } + @IBAction func endButtonTapped(_ sender: Any) { + dismiss(animated: true, completion: nil) + } + var loadingViewController = LoadingViewController() + +var indetermLV = IndeterminateLoadingView() +} diff --git a/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/VCs/ViewController.swift b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/VCs/ViewController.swift new file mode 100644 index 00000000..21cf92e0 --- /dev/null +++ b/Sprint 9/Creating Frameworks/FrameWorkProject/FrameWorkProject/VCs/ViewController.swift @@ -0,0 +1,27 @@ +// +// ViewController.swift +// FrameWorkProject +// +// Created by Ryan Murphy on 6/26/19. +// Copyright © 2019 Ryan Murphy. All rights reserved. +// + +import UIKit +import FrameWork + + +class ViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view. + } + + @IBAction func StartButtonTapped(_ sender: Any) { + + } + + + var indeterminateLoadingView = IndeterminateLoadingView() +} + diff --git a/Sprint 9/Creating Frameworks/IndeterminateLoadingView.swift b/Sprint 9/Creating Frameworks/IndeterminateLoadingView.swift index 18a7145d..41e89272 100644 --- a/Sprint 9/Creating Frameworks/IndeterminateLoadingView.swift +++ b/Sprint 9/Creating Frameworks/IndeterminateLoadingView.swift @@ -8,28 +8,28 @@ import UIKit -class IndeterminateLoadingView: UIView, CAAnimationDelegate { +public class IndeterminateLoadingView: UIView, CAAnimationDelegate { - override init(frame: CGRect) { + public override init(frame: CGRect) { super.init(frame: frame) setupShapeLayer() } - required init?(coder aDecoder: NSCoder) { + public required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) setupShapeLayer() } - func startAnimating() { + public func startAnimating() { guard !isAnimating else { return } defer { isAnimating = true } startAnimation() } - func stopAnimating() { + public func stopAnimating() { guard isAnimating else { return } shouldStopAnimationOnNextCycle = true @@ -75,7 +75,7 @@ class IndeterminateLoadingView: UIView, CAAnimationDelegate { // MARK: - CAAnimationDelegate - func animationDidStop(_ anim: CAAnimation, finished flag: Bool) { + public func animationDidStop(_ anim: CAAnimation, finished flag: Bool) { guard !shouldStopAnimationOnNextCycle else { shouldStopAnimationOnNextCycle = false isAnimating = false