Skip to content

Creating frameworks #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b09496d
New custom control class created and 1 stretch goal in implementing t…
Jan 8, 2019
957607c
Control View built with tags not added yet
Jan 8, 2019
59b6b62
Tag added to labels and View Controller Title fixed so that it update…
Jan 8, 2019
7000367
Touch handlers added
Jan 9, 2019
00882eb
Fixed issue so that now the first star appears in activeColor while t…
Jan 9, 2019
efb2c66
Application responds to touches
Jan 9, 2019
2181a70
Project added
Jan 9, 2019
9a9485f
Project skeleton set up
Jan 9, 2019
d064999
Bar button created that calls back to the main view controller
Jan 9, 2019
1aea77e
Labels and image added to interface builder
Jan 9, 2019
ad32803
Animation added for changing of colors and fading of logo
Jan 9, 2019
09610e4
Added label movements to scatter to random places on the screen
Jan 9, 2019
91ce987
Toggle switch functional. Color and rotation reset animations created.
Jan 10, 2019
5ad309c
Labels properly return to their original positions after toggle is ta…
Jan 10, 2019
a2989e3
Built user interface and constructed base files
Jan 10, 2019
467dd52
Navigation Controller Delegate created
Jan 10, 2019
68e7a57
Basic app created and functional
Jan 11, 2019
5beddca
Created an Animator class and attempted to hook everything together, …
Jan 11, 2019
78e2281
Completed the Animator Class
Jan 11, 2019
44ac75e
Generics Challenge completed
Jan 30, 2019
094e40a
Project skeleton added
Feb 13, 2019
8bfb303
Framework created and user interface built
Feb 13, 2019
ef5e909
Set up modal segue and UIView for animating
Feb 14, 2019
b9f5272
Added dismissal button and updated theme
Feb 14, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,343 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objects = {

/* Begin PBXBuildFile section */
849CB10221E53E8E00C665FF /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849CB10121E53E8E00C665FF /* AppDelegate.swift */; };
849CB10421E53E8E00C665FF /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849CB10321E53E8E00C665FF /* ViewController.swift */; };
849CB10721E53E8E00C665FF /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 849CB10521E53E8E00C665FF /* Main.storyboard */; };
849CB10921E53E9000C665FF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 849CB10821E53E9000C665FF /* Assets.xcassets */; };
849CB10C21E53E9000C665FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 849CB10A21E53E9000C665FF /* LaunchScreen.storyboard */; };
849CB11421E5403900C665FF /* CustomControl.swift in Sources */ = {isa = PBXBuildFile; fileRef = 849CB11321E5403900C665FF /* CustomControl.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
849CB0FE21E53E8E00C665FF /* Custom UIControl.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Custom UIControl.app"; sourceTree = BUILT_PRODUCTS_DIR; };
849CB10121E53E8E00C665FF /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
849CB10321E53E8E00C665FF /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
849CB10621E53E8E00C665FF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
849CB10821E53E9000C665FF /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
849CB10B21E53E9000C665FF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
849CB10D21E53E9000C665FF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
849CB11321E5403900C665FF /* CustomControl.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomControl.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
849CB0FB21E53E8E00C665FF /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
849CB0F521E53E8E00C665FF = {
isa = PBXGroup;
children = (
849CB10021E53E8E00C665FF /* Custom UIControl */,
849CB0FF21E53E8E00C665FF /* Products */,
);
sourceTree = "<group>";
};
849CB0FF21E53E8E00C665FF /* Products */ = {
isa = PBXGroup;
children = (
849CB0FE21E53E8E00C665FF /* Custom UIControl.app */,
);
name = Products;
sourceTree = "<group>";
};
849CB10021E53E8E00C665FF /* Custom UIControl */ = {
isa = PBXGroup;
children = (
849CB10521E53E8E00C665FF /* Main.storyboard */,
849CB10121E53E8E00C665FF /* AppDelegate.swift */,
849CB10321E53E8E00C665FF /* ViewController.swift */,
849CB11321E5403900C665FF /* CustomControl.swift */,
849CB10821E53E9000C665FF /* Assets.xcassets */,
849CB10A21E53E9000C665FF /* LaunchScreen.storyboard */,
849CB10D21E53E9000C665FF /* Info.plist */,
);
path = "Custom UIControl";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
849CB0FD21E53E8E00C665FF /* Custom UIControl */ = {
isa = PBXNativeTarget;
buildConfigurationList = 849CB11021E53E9000C665FF /* Build configuration list for PBXNativeTarget "Custom UIControl" */;
buildPhases = (
849CB0FA21E53E8E00C665FF /* Sources */,
849CB0FB21E53E8E00C665FF /* Frameworks */,
849CB0FC21E53E8E00C665FF /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "Custom UIControl";
productName = "Custom UIControl";
productReference = 849CB0FE21E53E8E00C665FF /* Custom UIControl.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
849CB0F621E53E8E00C665FF /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1010;
LastUpgradeCheck = 1010;
ORGANIZATIONNAME = "Audrey Welch";
TargetAttributes = {
849CB0FD21E53E8E00C665FF = {
CreatedOnToolsVersion = 10.1;
};
};
};
buildConfigurationList = 849CB0F921E53E8E00C665FF /* Build configuration list for PBXProject "Custom UIControl" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 849CB0F521E53E8E00C665FF;
productRefGroup = 849CB0FF21E53E8E00C665FF /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
849CB0FD21E53E8E00C665FF /* Custom UIControl */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
849CB0FC21E53E8E00C665FF /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
849CB10C21E53E9000C665FF /* LaunchScreen.storyboard in Resources */,
849CB10921E53E9000C665FF /* Assets.xcassets in Resources */,
849CB10721E53E8E00C665FF /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
849CB0FA21E53E8E00C665FF /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
849CB10421E53E8E00C665FF /* ViewController.swift in Sources */,
849CB11421E5403900C665FF /* CustomControl.swift in Sources */,
849CB10221E53E8E00C665FF /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
849CB10521E53E8E00C665FF /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
849CB10621E53E8E00C665FF /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
849CB10A21E53E9000C665FF /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
849CB10B21E53E9000C665FF /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
849CB10E21E53E9000C665FF /* 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;
};
849CB10F21E53E9000C665FF /* 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;
};
849CB11121E53E9000C665FF /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
INFOPLIST_FILE = "Custom UIControl/Info.plist";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.audreywelch.Custom-UIControl";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
849CB11221E53E9000C665FF /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
INFOPLIST_FILE = "Custom UIControl/Info.plist";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.audreywelch.Custom-UIControl";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
849CB0F921E53E8E00C665FF /* Build configuration list for PBXProject "Custom UIControl" */ = {
isa = XCConfigurationList;
buildConfigurations = (
849CB10E21E53E9000C665FF /* Debug */,
849CB10F21E53E9000C665FF /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
849CB11021E53E9000C665FF /* Build configuration list for PBXNativeTarget "Custom UIControl" */ = {
isa = XCConfigurationList;
buildConfigurations = (
849CB11121E53E9000C665FF /* Debug */,
849CB11221E53E9000C665FF /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 849CB0F621E53E8E00C665FF /* Project object */;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
//
// AppDelegate.swift
// Custom UIControl
//
// Created by Audrey Welch on 1/8/19.
// Copyright © 2019 Audrey Welch. 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:.
}


}

Loading