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
49 changes: 49 additions & 0 deletions Sprites/Questions.rtf
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{\rtf1\ansi\ansicpg1252\cocoartf1671\cocoasubrtf200
{\fonttbl\f0\fnil\fcharset0 HelveticaNeue;\f1\fnil\fcharset0 HelveticaNeue-Bold;}
{\colortbl;\red255\green255\blue255;\red27\green31\blue34;\red255\green255\blue255;\red10\green77\blue204;
}
{\*\expandedcolortbl;;\cssrgb\c14118\c16078\c18039;\cssrgb\c100000\c100000\c100000;\cssrgb\c1176\c40000\c83922;
}
{\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid1\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid1}
{\list\listtemplateid2\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid101\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid2}
{\list\listtemplateid3\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid201\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid3}
{\list\listtemplateid4\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid301\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid4}}
{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}{\listoverride\listid3\listoverridecount0\ls3}{\listoverride\listid4\listoverridecount0\ls4}}
\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\deftab720
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0
\ls1\ilvl0
\f0\fs32 \cf2 \cb3 {\listtext \uc0\u8226 }\expnd0\expndtw0\kerning0
Why do we use version control? Under what circumstances would you need version control features and why?\
\pard\tx720\pardeftab720\partightenfactor0
\cf2 We use version control to maintain code in an organize manner across organizations and release cycles. Version control features are critical for collaboration and maintaining and updating code.\
\pard\tx720\pardeftab720\partightenfactor0
\cf2 \cb1 \
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0
\ls2\ilvl0\cf2 \cb3 \kerning1\expnd0\expndtw0 {\listtext \uc0\u8226 }\expnd0\expndtw0\kerning0
What are the navigator, editor, and inspectors areas in Xcode? What are their roles and how do you use them?\
\pard\tx720\pardeftab720\partightenfactor0
\cf2 \cb1 These are the three major working areas in an Xcode project window.\
1) The Navigator gives a set of several navigators for the project which include: File, Version, Hierarchy, Search, Issues, Tests, Debug, Breakpoints, and Builds.\
2) The Editor area is the area that displays code files or the Interface builder.\
3) The Inspector area gives access to all the features that can be set for any Interface Builder view.\
\
\
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0
\ls3\ilvl0\cf2 \cb3 \kerning1\expnd0\expndtw0 {\listtext \uc0\u8226 }\expnd0\expndtw0\kerning0
How do you center a view in Interface Builder? How do you stretch one?\
\pard\tx720\pardeftab720\partightenfactor0
\cf2 To center a view, select the view and mouse over the \'93Add New Constraints\'94 area below the IB window. Here you can select both Horizontal and Vertical in Container and click add constraints.\
\
To stretch to desired dimension: select view and go to \'93Tie Fighter\'94. Here set the spacing constraints for the four sides as desired and add constraints.\cb1 \
\
\
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0
\ls4\ilvl0\cf2 \cb3 \kerning1\expnd0\expndtw0 {\listtext \uc0\u8226 }\expnd0\expndtw0\kerning0
What is SpriteKit and why do people use it?\
\pard\tx720\pardeftab720\partightenfactor0
\cf2 \cb1 SpriteKit is an iOS framework for building 2D views in apps. It provides a set of code libraries, objects and functions for creating, displaying and animating 2D elements, called nodes.\
\pard\pardeftab720\partightenfactor0

\f1\b\fs48 \cf4 \
}
345 changes: 345 additions & 0 deletions Sprites/Sprites.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,345 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objects = {

/* Begin PBXBuildFile section */
27105C8921E3FEBB002CAE01 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27105C8821E3FEBB002CAE01 /* AppDelegate.swift */; };
27105C8B21E3FEBB002CAE01 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27105C8A21E3FEBB002CAE01 /* ViewController.swift */; };
27105C8E21E3FEBB002CAE01 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 27105C8C21E3FEBB002CAE01 /* Main.storyboard */; };
27105C9021E3FEBC002CAE01 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 27105C8F21E3FEBC002CAE01 /* Assets.xcassets */; };
27105C9321E3FEBC002CAE01 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 27105C9121E3FEBC002CAE01 /* LaunchScreen.storyboard */; };
27171AA821E416D8009D1AC3 /* CustomScene.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27171AA721E416D8009D1AC3 /* CustomScene.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
27105C8521E3FEBB002CAE01 /* Sprites.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Sprites.app; sourceTree = BUILT_PRODUCTS_DIR; };
27105C8821E3FEBB002CAE01 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
27105C8A21E3FEBB002CAE01 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
27105C8D21E3FEBB002CAE01 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
27105C8F21E3FEBC002CAE01 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
27105C9221E3FEBC002CAE01 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
27105C9421E3FEBC002CAE01 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
27171AA721E416D8009D1AC3 /* CustomScene.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomScene.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

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

/* Begin PBXGroup section */
27105C7C21E3FEBB002CAE01 = {
isa = PBXGroup;
children = (
27105C8721E3FEBB002CAE01 /* Sprites */,
27105C8621E3FEBB002CAE01 /* Products */,
);
sourceTree = "<group>";
};
27105C8621E3FEBB002CAE01 /* Products */ = {
isa = PBXGroup;
children = (
27105C8521E3FEBB002CAE01 /* Sprites.app */,
);
name = Products;
sourceTree = "<group>";
};
27105C8721E3FEBB002CAE01 /* Sprites */ = {
isa = PBXGroup;
children = (
27105C8821E3FEBB002CAE01 /* AppDelegate.swift */,
27105C8A21E3FEBB002CAE01 /* ViewController.swift */,
27171AA721E416D8009D1AC3 /* CustomScene.swift */,
27105C8C21E3FEBB002CAE01 /* Main.storyboard */,
27105C8F21E3FEBC002CAE01 /* Assets.xcassets */,
27105C9121E3FEBC002CAE01 /* LaunchScreen.storyboard */,
27105C9421E3FEBC002CAE01 /* Info.plist */,
);
path = Sprites;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
27105C8421E3FEBB002CAE01 /* Sprites */ = {
isa = PBXNativeTarget;
buildConfigurationList = 27105C9721E3FEBC002CAE01 /* Build configuration list for PBXNativeTarget "Sprites" */;
buildPhases = (
27105C8121E3FEBB002CAE01 /* Sources */,
27105C8221E3FEBB002CAE01 /* Frameworks */,
27105C8321E3FEBB002CAE01 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = Sprites;
productName = Sprites;
productReference = 27105C8521E3FEBB002CAE01 /* Sprites.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
27105C7D21E3FEBB002CAE01 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1010;
LastUpgradeCheck = 1010;
ORGANIZATIONNAME = "Vijay Das";
TargetAttributes = {
27105C8421E3FEBB002CAE01 = {
CreatedOnToolsVersion = 10.1;
};
};
};
buildConfigurationList = 27105C8021E3FEBB002CAE01 /* Build configuration list for PBXProject "Sprites" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 27105C7C21E3FEBB002CAE01;
productRefGroup = 27105C8621E3FEBB002CAE01 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
27105C8421E3FEBB002CAE01 /* Sprites */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
27105C8321E3FEBB002CAE01 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
27105C9321E3FEBC002CAE01 /* LaunchScreen.storyboard in Resources */,
27105C9021E3FEBC002CAE01 /* Assets.xcassets in Resources */,
27105C8E21E3FEBB002CAE01 /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
27105C8121E3FEBB002CAE01 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
27105C8B21E3FEBB002CAE01 /* ViewController.swift in Sources */,
27105C8921E3FEBB002CAE01 /* AppDelegate.swift in Sources */,
27171AA821E416D8009D1AC3 /* CustomScene.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
27105C8C21E3FEBB002CAE01 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
27105C8D21E3FEBB002CAE01 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
27105C9121E3FEBC002CAE01 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
27105C9221E3FEBC002CAE01 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
27105C9521E3FEBC002CAE01 /* 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;
};
27105C9621E3FEBC002CAE01 /* 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;
};
27105C9821E3FEBC002CAE01 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = F29U3VL727;
INFOPLIST_FILE = Sprites/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = vijaydas.Sprites;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
27105C9921E3FEBC002CAE01 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = F29U3VL727;
INFOPLIST_FILE = Sprites/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = vijaydas.Sprites;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
27105C8021E3FEBB002CAE01 /* Build configuration list for PBXProject "Sprites" */ = {
isa = XCConfigurationList;
buildConfigurations = (
27105C9521E3FEBC002CAE01 /* Debug */,
27105C9621E3FEBC002CAE01 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
27105C9721E3FEBC002CAE01 /* Build configuration list for PBXNativeTarget "Sprites" */ = {
isa = XCConfigurationList;
buildConfigurations = (
27105C9821E3FEBC002CAE01 /* Debug */,
27105C9921E3FEBC002CAE01 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 27105C7D21E3FEBB002CAE01 /* Project object */;
}
Loading