Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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 added .DS_Store
Binary file not shown.
13 changes: 13 additions & 0 deletions Answers.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Why do we use version control? Under what circumstances would you need version control features and why?
Version control backs up data remotely and can be accessed by anyone working on the file. Always good to have a backup and many people can work on the same project at the same time with out risking damaging the app.

What are the navigator, editor, and inspectors areas in Xcode? What are their roles and how do you use them?
Navigator - On the left side of Xcode where you select files and can do some debugging.
Editor - In the middle, where you do most of your work.
Inspector - Right side of screen used to edit items on storyboard.

How do you center a view in Interface Builder? How do you stretch one?
Click align, then center horizontally and vertically. You stretch a view in add new constrains by putting 8 in all four sides for example

What is SpriteKit and why do people use it?
SpriteKit gives access to sprites and it's used for animation.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Module Challenge: iOS Development Tools - Sprites

.
This challenge allows you to practice the concepts and techniques learned in today's guided lesson and apply them in a concrete project. Your lesson explored core iOS Development Tools. You will demonstrate proficiency by building a simple Sprite Kit application.

## Instructions
Expand Down
349 changes: 349 additions & 0 deletions Sprites/Sprites.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,349 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objects = {

/* Begin PBXBuildFile section */
84004739219B95AE005C8C80 /* RandomColor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84004738219B95AE005C8C80 /* RandomColor.swift */; };
8419B85A219B69FB0003E6B4 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8419B859219B69FB0003E6B4 /* AppDelegate.swift */; };
8419B85C219B69FB0003E6B4 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8419B85B219B69FB0003E6B4 /* ViewController.swift */; };
8419B85F219B69FB0003E6B4 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8419B85D219B69FB0003E6B4 /* Main.storyboard */; };
8419B861219B69FD0003E6B4 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8419B860219B69FD0003E6B4 /* Assets.xcassets */; };
8419B864219B69FD0003E6B4 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8419B862219B69FD0003E6B4 /* LaunchScreen.storyboard */; };
8419B86C219B6A9B0003E6B4 /* CustomScene.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8419B86B219B6A9B0003E6B4 /* CustomScene.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
84004738219B95AE005C8C80 /* RandomColor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RandomColor.swift; sourceTree = "<group>"; };
8419B856219B69FB0003E6B4 /* Sprites.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Sprites.app; sourceTree = BUILT_PRODUCTS_DIR; };
8419B859219B69FB0003E6B4 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
8419B85B219B69FB0003E6B4 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
8419B85E219B69FB0003E6B4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
8419B860219B69FD0003E6B4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
8419B863219B69FD0003E6B4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
8419B865219B69FD0003E6B4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
8419B86B219B6A9B0003E6B4 /* CustomScene.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomScene.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

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

/* Begin PBXGroup section */
8419B84D219B69FB0003E6B4 = {
isa = PBXGroup;
children = (
8419B858219B69FB0003E6B4 /* Sprites */,
8419B857219B69FB0003E6B4 /* Products */,
);
sourceTree = "<group>";
};
8419B857219B69FB0003E6B4 /* Products */ = {
isa = PBXGroup;
children = (
8419B856219B69FB0003E6B4 /* Sprites.app */,
);
name = Products;
sourceTree = "<group>";
};
8419B858219B69FB0003E6B4 /* Sprites */ = {
isa = PBXGroup;
children = (
8419B859219B69FB0003E6B4 /* AppDelegate.swift */,
8419B85B219B69FB0003E6B4 /* ViewController.swift */,
8419B86B219B6A9B0003E6B4 /* CustomScene.swift */,
84004738219B95AE005C8C80 /* RandomColor.swift */,
8419B85D219B69FB0003E6B4 /* Main.storyboard */,
8419B860219B69FD0003E6B4 /* Assets.xcassets */,
8419B862219B69FD0003E6B4 /* LaunchScreen.storyboard */,
8419B865219B69FD0003E6B4 /* Info.plist */,
);
path = Sprites;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
8419B855219B69FB0003E6B4 /* Sprites */ = {
isa = PBXNativeTarget;
buildConfigurationList = 8419B868219B69FD0003E6B4 /* Build configuration list for PBXNativeTarget "Sprites" */;
buildPhases = (
8419B852219B69FB0003E6B4 /* Sources */,
8419B853219B69FB0003E6B4 /* Frameworks */,
8419B854219B69FB0003E6B4 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = Sprites;
productName = Sprites;
productReference = 8419B856219B69FB0003E6B4 /* Sprites.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
8419B84E219B69FB0003E6B4 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1010;
LastUpgradeCheck = 1010;
ORGANIZATIONNAME = Lambda_School_Loaner_18;
TargetAttributes = {
8419B855219B69FB0003E6B4 = {
CreatedOnToolsVersion = 10.1;
};
};
};
buildConfigurationList = 8419B851219B69FB0003E6B4 /* Build configuration list for PBXProject "Sprites" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 8419B84D219B69FB0003E6B4;
productRefGroup = 8419B857219B69FB0003E6B4 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
8419B855219B69FB0003E6B4 /* Sprites */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
8419B854219B69FB0003E6B4 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
8419B864219B69FD0003E6B4 /* LaunchScreen.storyboard in Resources */,
8419B861219B69FD0003E6B4 /* Assets.xcassets in Resources */,
8419B85F219B69FB0003E6B4 /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
8419B852219B69FB0003E6B4 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
84004739219B95AE005C8C80 /* RandomColor.swift in Sources */,
8419B85C219B69FB0003E6B4 /* ViewController.swift in Sources */,
8419B85A219B69FB0003E6B4 /* AppDelegate.swift in Sources */,
8419B86C219B6A9B0003E6B4 /* CustomScene.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
8419B85D219B69FB0003E6B4 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
8419B85E219B69FB0003E6B4 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
8419B862219B69FD0003E6B4 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
8419B863219B69FD0003E6B4 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
8419B866219B69FD0003E6B4 /* 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;
};
8419B867219B69FD0003E6B4 /* 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;
};
8419B869219B69FD0003E6B4 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 4L7P3ZX586;
INFOPLIST_FILE = Sprites/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.lambdaschoolsd.Sprites;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
8419B86A219B69FD0003E6B4 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 4L7P3ZX586;
INFOPLIST_FILE = Sprites/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.lambdaschoolsd.Sprites;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
8419B851219B69FB0003E6B4 /* Build configuration list for PBXProject "Sprites" */ = {
isa = XCConfigurationList;
buildConfigurations = (
8419B866219B69FD0003E6B4 /* Debug */,
8419B867219B69FD0003E6B4 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
8419B868219B69FD0003E6B4 /* Build configuration list for PBXNativeTarget "Sprites" */ = {
isa = XCConfigurationList;
buildConfigurations = (
8419B869219B69FD0003E6B4 /* Debug */,
8419B86A219B69FD0003E6B4 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 8419B84E219B69FB0003E6B4 /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Binary file not shown.
Loading