Skip to content

Commit

Permalink
- Week 2 of Swift UI
Browse files Browse the repository at this point in the history
  • Loading branch information
harshad-khedekar committed Jul 10, 2020
1 parent 87f810d commit f4a40b0
Show file tree
Hide file tree
Showing 20 changed files with 752 additions and 0 deletions.
Binary file not shown.
6 changes: 6 additions & 0 deletions Week 1/SwiftUI_Starter/SwiftUI_Starter/SceneDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,9 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {

}


struct SceneDelegate_Previews: PreviewProvider {
static var previews: some View {
/*@START_MENU_TOKEN@*/Text("Hello, World!")/*@END_MENU_TOKEN@*/
}
}
348 changes: 348 additions & 0 deletions Week 2/SwiftUIChallenge/SwiftUIChallenge.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,348 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objects = {

/* Begin PBXBuildFile section */
1997153224B8B68700454613 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1997153124B8B68700454613 /* AppDelegate.swift */; };
1997153424B8B68700454613 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1997153324B8B68700454613 /* SceneDelegate.swift */; };
1997153624B8B68700454613 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1997153524B8B68700454613 /* ContentView.swift */; };
1997153824B8B68800454613 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1997153724B8B68800454613 /* Assets.xcassets */; };
1997153B24B8B68800454613 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1997153A24B8B68800454613 /* Preview Assets.xcassets */; };
1997153E24B8B68800454613 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1997153C24B8B68800454613 /* LaunchScreen.storyboard */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
1997152E24B8B68700454613 /* SwiftUIChallenge.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwiftUIChallenge.app; sourceTree = BUILT_PRODUCTS_DIR; };
1997153124B8B68700454613 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
1997153324B8B68700454613 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
1997153524B8B68700454613 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
1997153724B8B68800454613 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
1997153A24B8B68800454613 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
1997153D24B8B68800454613 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
1997153F24B8B68800454613 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

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

/* Begin PBXGroup section */
1997152524B8B68700454613 = {
isa = PBXGroup;
children = (
1997153024B8B68700454613 /* SwiftUIChallenge */,
1997152F24B8B68700454613 /* Products */,
);
sourceTree = "<group>";
};
1997152F24B8B68700454613 /* Products */ = {
isa = PBXGroup;
children = (
1997152E24B8B68700454613 /* SwiftUIChallenge.app */,
);
name = Products;
sourceTree = "<group>";
};
1997153024B8B68700454613 /* SwiftUIChallenge */ = {
isa = PBXGroup;
children = (
1997153124B8B68700454613 /* AppDelegate.swift */,
1997153324B8B68700454613 /* SceneDelegate.swift */,
1997153524B8B68700454613 /* ContentView.swift */,
1997153724B8B68800454613 /* Assets.xcassets */,
1997153C24B8B68800454613 /* LaunchScreen.storyboard */,
1997153F24B8B68800454613 /* Info.plist */,
1997153924B8B68800454613 /* Preview Content */,
);
path = SwiftUIChallenge;
sourceTree = "<group>";
};
1997153924B8B68800454613 /* Preview Content */ = {
isa = PBXGroup;
children = (
1997153A24B8B68800454613 /* Preview Assets.xcassets */,
);
path = "Preview Content";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
1997152D24B8B68700454613 /* SwiftUIChallenge */ = {
isa = PBXNativeTarget;
buildConfigurationList = 1997154224B8B68800454613 /* Build configuration list for PBXNativeTarget "SwiftUIChallenge" */;
buildPhases = (
1997152A24B8B68700454613 /* Sources */,
1997152B24B8B68700454613 /* Frameworks */,
1997152C24B8B68700454613 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = SwiftUIChallenge;
productName = SwiftUIChallenge;
productReference = 1997152E24B8B68700454613 /* SwiftUIChallenge.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
1997152624B8B68700454613 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1200;
LastUpgradeCheck = 1200;
TargetAttributes = {
1997152D24B8B68700454613 = {
CreatedOnToolsVersion = 12.0;
};
};
};
buildConfigurationList = 1997152924B8B68700454613 /* Build configuration list for PBXProject "SwiftUIChallenge" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 1997152524B8B68700454613;
productRefGroup = 1997152F24B8B68700454613 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
1997152D24B8B68700454613 /* SwiftUIChallenge */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
1997152C24B8B68700454613 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
1997153E24B8B68800454613 /* LaunchScreen.storyboard in Resources */,
1997153B24B8B68800454613 /* Preview Assets.xcassets in Resources */,
1997153824B8B68800454613 /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
1997152A24B8B68700454613 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
1997153224B8B68700454613 /* AppDelegate.swift in Sources */,
1997153424B8B68700454613 /* SceneDelegate.swift in Sources */,
1997153624B8B68700454613 /* ContentView.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
1997153C24B8B68800454613 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
1997153D24B8B68800454613 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
1997154024B8B68800454613 /* 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
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;
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 = 14.0;
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;
};
1997154124B8B68800454613 /* 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
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;
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 = 14.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
1997154324B8B68800454613 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_ASSET_PATHS = "\"SwiftUIChallenge/Preview Content\"";
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = SwiftUIChallenge/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.swiftUI.SwiftUIChallenge;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
1997154424B8B68800454613 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_ASSET_PATHS = "\"SwiftUIChallenge/Preview Content\"";
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = SwiftUIChallenge/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.swiftUI.SwiftUIChallenge;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
1997152924B8B68700454613 /* Build configuration list for PBXProject "SwiftUIChallenge" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1997154024B8B68800454613 /* Debug */,
1997154124B8B68800454613 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
1997154224B8B68800454613 /* Build configuration list for PBXNativeTarget "SwiftUIChallenge" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1997154324B8B68800454613 /* Debug */,
1997154424B8B68800454613 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 1997152624B8B68700454613 /* 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>SwiftUIChallenge.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
</dict>
</plist>
Loading

0 comments on commit f4a40b0

Please sign in to comment.