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
48 changes: 48 additions & 0 deletions Sprites-MBP-VijayDas-Questions.rtf
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{\rtf1\ansi\ansicpg1252\cocoartf1671\cocoasubrtf100
{\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}}
{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}}
\margl1440\margr1440\vieww33100\viewh17120\viewkind0
\deftab720
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0
\ls1\ilvl0
\f0\fs32 \cf2 \cb3 \expnd0\expndtw0\kerning0
Question:\
Why do we use version control? Under what circumstances would you need version control features and why?\
\pard\tx720\pardeftab720\partightenfactor0
\cf2 \cb1 Answer:\
We use version control to maintain code projects under an organized set of procedures and processes that enable the participation of many contributors and versions of a software application. Version control systems like Git/Githib maintains the integrity and control of changes over time through branching, committing and push capabilities,\
\
Question:\
\cb3 What are the navigator, editor, and inspectors areas in Xcode? What are their roles and how do you use them?\cb1 \
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0
\ls2\ilvl0\cf2 \cb3 \kerning1\expnd0\expndtw0 Answer:\
The far left side of Xcode contains the Navigator pain. This gives the developer a view of all the files associated with a given project including code files, interface files, image/other assets and the info.plist. The center area is the Editor area and is where developers are able to edit files either directly in program files or in Interface Builder using a graphical interface. When in Interface Builder, the Inspector window appears at the far right and allows the set up and configuration of all objects in Interface builder. This allows the assignment of Objects to custom classes, size and layout of objects, and the required settings for any given object.\
\
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0
\ls2\ilvl0\cf2 \expnd0\expndtw0\kerning0
Question:\
How do you center a view in Interface Builder? How do you stretch one?\cb1 \
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0
\ls2\ilvl0\cf2 \cb3 \kerning1\expnd0\expndtw0 Answer:\
Select the object either with mouse selection or in the Document Pane in Interface builder and using the \'93Add New Constraints\'94 (aka \'93Tie Fighter\'94) to set all sides to \'930\'94 OR use \'93Align\'94 to select both \'93Horizontally in Container\'94 and \'93Vertically in Container\'94. Once these constraints have been set, they can be edited in the Inspector Pane using the settings in the View tab.\
\
\
\pard\tx220\tx720\pardeftab720\li720\fi-720\partightenfactor0
\ls2\ilvl0\cf2 \expnd0\expndtw0\kerning0
What is SpriteKit and why do people use it?\
SpriteKIt is a iOS framework for creating 2D touch interactions used especially in game development.\
\
\
\
\
\ls2\ilvl0\cb1 \
\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 */
27C0EFA6219B6FB30066C9DC /* CustomScene.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27C0EFA5219B6FB30066C9DC /* CustomScene.swift */; };
27C58A65219B62EE0036E0D0 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27C58A64219B62EE0036E0D0 /* AppDelegate.swift */; };
27C58A67219B62EE0036E0D0 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27C58A66219B62EE0036E0D0 /* ViewController.swift */; };
27C58A6A219B62EE0036E0D0 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 27C58A68219B62EE0036E0D0 /* Main.storyboard */; };
27C58A6C219B62EF0036E0D0 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 27C58A6B219B62EF0036E0D0 /* Assets.xcassets */; };
27C58A6F219B62EF0036E0D0 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 27C58A6D219B62EF0036E0D0 /* LaunchScreen.storyboard */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
27C0EFA5219B6FB30066C9DC /* CustomScene.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomScene.swift; sourceTree = "<group>"; };
27C58A61219B62EE0036E0D0 /* Sprites.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Sprites.app; sourceTree = BUILT_PRODUCTS_DIR; };
27C58A64219B62EE0036E0D0 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
27C58A66219B62EE0036E0D0 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
27C58A69219B62EE0036E0D0 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
27C58A6B219B62EF0036E0D0 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
27C58A6E219B62EF0036E0D0 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
27C58A70219B62EF0036E0D0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

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

/* Begin PBXGroup section */
27C58A58219B62EE0036E0D0 = {
isa = PBXGroup;
children = (
27C58A63219B62EE0036E0D0 /* Sprites */,
27C58A62219B62EE0036E0D0 /* Products */,
);
sourceTree = "<group>";
};
27C58A62219B62EE0036E0D0 /* Products */ = {
isa = PBXGroup;
children = (
27C58A61219B62EE0036E0D0 /* Sprites.app */,
);
name = Products;
sourceTree = "<group>";
};
27C58A63219B62EE0036E0D0 /* Sprites */ = {
isa = PBXGroup;
children = (
27C58A64219B62EE0036E0D0 /* AppDelegate.swift */,
27C58A66219B62EE0036E0D0 /* ViewController.swift */,
27C0EFA5219B6FB30066C9DC /* CustomScene.swift */,
27C58A68219B62EE0036E0D0 /* Main.storyboard */,
27C58A6B219B62EF0036E0D0 /* Assets.xcassets */,
27C58A6D219B62EF0036E0D0 /* LaunchScreen.storyboard */,
27C58A70219B62EF0036E0D0 /* Info.plist */,
);
path = Sprites;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
27C58A60219B62EE0036E0D0 /* Sprites */ = {
isa = PBXNativeTarget;
buildConfigurationList = 27C58A73219B62EF0036E0D0 /* Build configuration list for PBXNativeTarget "Sprites" */;
buildPhases = (
27C58A5D219B62EE0036E0D0 /* Sources */,
27C58A5E219B62EE0036E0D0 /* Frameworks */,
27C58A5F219B62EE0036E0D0 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = Sprites;
productName = Sprites;
productReference = 27C58A61219B62EE0036E0D0 /* Sprites.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

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

/* Begin PBXResourcesBuildPhase section */
27C58A5F219B62EE0036E0D0 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
27C58A6F219B62EF0036E0D0 /* LaunchScreen.storyboard in Resources */,
27C58A6C219B62EF0036E0D0 /* Assets.xcassets in Resources */,
27C58A6A219B62EE0036E0D0 /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
27C58A5D219B62EE0036E0D0 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
27C58A67219B62EE0036E0D0 /* ViewController.swift in Sources */,
27C58A65219B62EE0036E0D0 /* AppDelegate.swift in Sources */,
27C0EFA6219B6FB30066C9DC /* CustomScene.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
27C58A68219B62EE0036E0D0 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
27C58A69219B62EE0036E0D0 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
27C58A6D219B62EF0036E0D0 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
27C58A6E219B62EF0036E0D0 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
27C58A71219B62EF0036E0D0 /* 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;
};
27C58A72219B62EF0036E0D0 /* 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;
};
27C58A74219B62EF0036E0D0 /* 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;
};
27C58A75219B62EF0036E0D0 /* 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 */
27C58A5C219B62EE0036E0D0 /* Build configuration list for PBXProject "Sprites" */ = {
isa = XCConfigurationList;
buildConfigurations = (
27C58A71219B62EF0036E0D0 /* Debug */,
27C58A72219B62EF0036E0D0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
27C58A73219B62EF0036E0D0 /* Build configuration list for PBXNativeTarget "Sprites" */ = {
isa = XCConfigurationList;
buildConfigurations = (
27C58A74219B62EF0036E0D0 /* Debug */,
27C58A75219B62EF0036E0D0 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 27C58A59219B62EE0036E0D0 /* Project object */;
}
Loading