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
14 changes: 14 additions & 0 deletions Answers.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
What is Interface Builder's object library?
Where UI items are that can be used on storyboards

What is the difference between an outlet and an action?
Action triggers code to be run.

What is the role of a View Controller?
To control outlets and actions.

What is Model-View-Controller?
Model has the code, controller tells when to show it on the view, which is what the user sees and interacts with.

Why use Model-View-Controller?
Apple's recommended way of organizing code.
349 changes: 349 additions & 0 deletions List/List.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 */
840A809121E564DD0010A5B5 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 840A809021E564DD0010A5B5 /* AppDelegate.swift */; };
840A809321E564DD0010A5B5 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 840A809221E564DD0010A5B5 /* ViewController.swift */; };
840A809621E564DD0010A5B5 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 840A809421E564DD0010A5B5 /* Main.storyboard */; };
840A809821E564DE0010A5B5 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 840A809721E564DE0010A5B5 /* Assets.xcassets */; };
840A809B21E564DE0010A5B5 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 840A809921E564DE0010A5B5 /* LaunchScreen.storyboard */; };
840A80A321E566A90010A5B5 /* Item.swift in Sources */ = {isa = PBXBuildFile; fileRef = 840A80A221E566A90010A5B5 /* Item.swift */; };
840A80A521E566C20010A5B5 /* ItemsController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 840A80A421E566C20010A5B5 /* ItemsController.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
840A808D21E564DD0010A5B5 /* List.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = List.app; sourceTree = BUILT_PRODUCTS_DIR; };
840A809021E564DD0010A5B5 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
840A809221E564DD0010A5B5 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
840A809521E564DD0010A5B5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
840A809721E564DE0010A5B5 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
840A809A21E564DE0010A5B5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
840A809C21E564DE0010A5B5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
840A80A221E566A90010A5B5 /* Item.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Item.swift; sourceTree = "<group>"; };
840A80A421E566C20010A5B5 /* ItemsController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ItemsController.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

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

/* Begin PBXGroup section */
840A808421E564DD0010A5B5 = {
isa = PBXGroup;
children = (
840A808F21E564DD0010A5B5 /* List */,
840A808E21E564DD0010A5B5 /* Products */,
);
sourceTree = "<group>";
};
840A808E21E564DD0010A5B5 /* Products */ = {
isa = PBXGroup;
children = (
840A808D21E564DD0010A5B5 /* List.app */,
);
name = Products;
sourceTree = "<group>";
};
840A808F21E564DD0010A5B5 /* List */ = {
isa = PBXGroup;
children = (
840A809021E564DD0010A5B5 /* AppDelegate.swift */,
840A809221E564DD0010A5B5 /* ViewController.swift */,
840A80A221E566A90010A5B5 /* Item.swift */,
840A80A421E566C20010A5B5 /* ItemsController.swift */,
840A809421E564DD0010A5B5 /* Main.storyboard */,
840A809721E564DE0010A5B5 /* Assets.xcassets */,
840A809921E564DE0010A5B5 /* LaunchScreen.storyboard */,
840A809C21E564DE0010A5B5 /* Info.plist */,
);
path = List;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
840A808C21E564DD0010A5B5 /* List */ = {
isa = PBXNativeTarget;
buildConfigurationList = 840A809F21E564DE0010A5B5 /* Build configuration list for PBXNativeTarget "List" */;
buildPhases = (
840A808921E564DD0010A5B5 /* Sources */,
840A808A21E564DD0010A5B5 /* Frameworks */,
840A808B21E564DD0010A5B5 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = List;
productName = List;
productReference = 840A808D21E564DD0010A5B5 /* List.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
840A808521E564DD0010A5B5 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1010;
LastUpgradeCheck = 1010;
ORGANIZATIONNAME = SeanDoyle;
TargetAttributes = {
840A808C21E564DD0010A5B5 = {
CreatedOnToolsVersion = 10.1;
};
};
};
buildConfigurationList = 840A808821E564DD0010A5B5 /* Build configuration list for PBXProject "List" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 840A808421E564DD0010A5B5;
productRefGroup = 840A808E21E564DD0010A5B5 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
840A808C21E564DD0010A5B5 /* List */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
840A808B21E564DD0010A5B5 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
840A809B21E564DE0010A5B5 /* LaunchScreen.storyboard in Resources */,
840A809821E564DE0010A5B5 /* Assets.xcassets in Resources */,
840A809621E564DD0010A5B5 /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
840A808921E564DD0010A5B5 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
840A809321E564DD0010A5B5 /* ViewController.swift in Sources */,
840A80A321E566A90010A5B5 /* Item.swift in Sources */,
840A80A521E566C20010A5B5 /* ItemsController.swift in Sources */,
840A809121E564DD0010A5B5 /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
840A809421E564DD0010A5B5 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
840A809521E564DD0010A5B5 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
840A809921E564DE0010A5B5 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
840A809A21E564DE0010A5B5 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

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

/* Begin XCConfigurationList section */
840A808821E564DD0010A5B5 /* Build configuration list for PBXProject "List" */ = {
isa = XCConfigurationList;
buildConfigurations = (
840A809D21E564DE0010A5B5 /* Debug */,
840A809E21E564DE0010A5B5 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
840A809F21E564DE0010A5B5 /* Build configuration list for PBXNativeTarget "List" */ = {
isa = XCConfigurationList;
buildConfigurations = (
840A80A021E564DE0010A5B5 /* Debug */,
840A80A121E564DE0010A5B5 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 840A808521E564DD0010A5B5 /* 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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?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>SchemeUserState</key>
<dict>
<key>List.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
</dict>
</plist>
Loading