Skip to content

Commit 0ee67b3

Browse files
chore: initial project setup
1 parent a41606f commit 0ee67b3

12 files changed

Lines changed: 685 additions & 0 deletions

File tree

.DS_Store

6 KB
Binary file not shown.
Lines changed: 343 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,343 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 50;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
0909CDA72500D24B00F86AAC /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0909CDA62500D24B00F86AAC /* AppDelegate.swift */; };
11+
0909CDA92500D24B00F86AAC /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0909CDA82500D24B00F86AAC /* SceneDelegate.swift */; };
12+
0909CDAB2500D24B00F86AAC /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0909CDAA2500D24B00F86AAC /* ViewController.swift */; };
13+
0909CDAE2500D24B00F86AAC /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0909CDAC2500D24B00F86AAC /* Main.storyboard */; };
14+
0909CDB02500D24F00F86AAC /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0909CDAF2500D24F00F86AAC /* Assets.xcassets */; };
15+
0909CDB32500D24F00F86AAC /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0909CDB12500D24F00F86AAC /* LaunchScreen.storyboard */; };
16+
/* End PBXBuildFile section */
17+
18+
/* Begin PBXFileReference section */
19+
0909CDA32500D24B00F86AAC /* JavaScript.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = JavaScript.app; sourceTree = BUILT_PRODUCTS_DIR; };
20+
0909CDA62500D24B00F86AAC /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
21+
0909CDA82500D24B00F86AAC /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
22+
0909CDAA2500D24B00F86AAC /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
23+
0909CDAD2500D24B00F86AAC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
24+
0909CDAF2500D24F00F86AAC /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
25+
0909CDB22500D24F00F86AAC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
26+
0909CDB42500D24F00F86AAC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
27+
/* End PBXFileReference section */
28+
29+
/* Begin PBXFrameworksBuildPhase section */
30+
0909CDA02500D24B00F86AAC /* Frameworks */ = {
31+
isa = PBXFrameworksBuildPhase;
32+
buildActionMask = 2147483647;
33+
files = (
34+
);
35+
runOnlyForDeploymentPostprocessing = 0;
36+
};
37+
/* End PBXFrameworksBuildPhase section */
38+
39+
/* Begin PBXGroup section */
40+
0909CD9A2500D24A00F86AAC = {
41+
isa = PBXGroup;
42+
children = (
43+
0909CDA52500D24B00F86AAC /* JavaScript */,
44+
0909CDA42500D24B00F86AAC /* Products */,
45+
);
46+
sourceTree = "<group>";
47+
};
48+
0909CDA42500D24B00F86AAC /* Products */ = {
49+
isa = PBXGroup;
50+
children = (
51+
0909CDA32500D24B00F86AAC /* JavaScript.app */,
52+
);
53+
name = Products;
54+
sourceTree = "<group>";
55+
};
56+
0909CDA52500D24B00F86AAC /* JavaScript */ = {
57+
isa = PBXGroup;
58+
children = (
59+
0909CDA62500D24B00F86AAC /* AppDelegate.swift */,
60+
0909CDA82500D24B00F86AAC /* SceneDelegate.swift */,
61+
0909CDAA2500D24B00F86AAC /* ViewController.swift */,
62+
0909CDAC2500D24B00F86AAC /* Main.storyboard */,
63+
0909CDAF2500D24F00F86AAC /* Assets.xcassets */,
64+
0909CDB12500D24F00F86AAC /* LaunchScreen.storyboard */,
65+
0909CDB42500D24F00F86AAC /* Info.plist */,
66+
);
67+
path = JavaScript;
68+
sourceTree = "<group>";
69+
};
70+
/* End PBXGroup section */
71+
72+
/* Begin PBXNativeTarget section */
73+
0909CDA22500D24B00F86AAC /* JavaScript */ = {
74+
isa = PBXNativeTarget;
75+
buildConfigurationList = 0909CDB72500D24F00F86AAC /* Build configuration list for PBXNativeTarget "JavaScript" */;
76+
buildPhases = (
77+
0909CD9F2500D24B00F86AAC /* Sources */,
78+
0909CDA02500D24B00F86AAC /* Frameworks */,
79+
0909CDA12500D24B00F86AAC /* Resources */,
80+
);
81+
buildRules = (
82+
);
83+
dependencies = (
84+
);
85+
name = JavaScript;
86+
productName = JavaScript;
87+
productReference = 0909CDA32500D24B00F86AAC /* JavaScript.app */;
88+
productType = "com.apple.product-type.application";
89+
};
90+
/* End PBXNativeTarget section */
91+
92+
/* Begin PBXProject section */
93+
0909CD9B2500D24A00F86AAC /* Project object */ = {
94+
isa = PBXProject;
95+
attributes = {
96+
LastSwiftUpdateCheck = 1160;
97+
LastUpgradeCheck = 1160;
98+
ORGANIZATIONNAME = "Saurabh Gupta";
99+
TargetAttributes = {
100+
0909CDA22500D24B00F86AAC = {
101+
CreatedOnToolsVersion = 11.6;
102+
};
103+
};
104+
};
105+
buildConfigurationList = 0909CD9E2500D24A00F86AAC /* Build configuration list for PBXProject "JavaScript" */;
106+
compatibilityVersion = "Xcode 9.3";
107+
developmentRegion = en;
108+
hasScannedForEncodings = 0;
109+
knownRegions = (
110+
en,
111+
Base,
112+
);
113+
mainGroup = 0909CD9A2500D24A00F86AAC;
114+
productRefGroup = 0909CDA42500D24B00F86AAC /* Products */;
115+
projectDirPath = "";
116+
projectRoot = "";
117+
targets = (
118+
0909CDA22500D24B00F86AAC /* JavaScript */,
119+
);
120+
};
121+
/* End PBXProject section */
122+
123+
/* Begin PBXResourcesBuildPhase section */
124+
0909CDA12500D24B00F86AAC /* Resources */ = {
125+
isa = PBXResourcesBuildPhase;
126+
buildActionMask = 2147483647;
127+
files = (
128+
0909CDB32500D24F00F86AAC /* LaunchScreen.storyboard in Resources */,
129+
0909CDB02500D24F00F86AAC /* Assets.xcassets in Resources */,
130+
0909CDAE2500D24B00F86AAC /* Main.storyboard in Resources */,
131+
);
132+
runOnlyForDeploymentPostprocessing = 0;
133+
};
134+
/* End PBXResourcesBuildPhase section */
135+
136+
/* Begin PBXSourcesBuildPhase section */
137+
0909CD9F2500D24B00F86AAC /* Sources */ = {
138+
isa = PBXSourcesBuildPhase;
139+
buildActionMask = 2147483647;
140+
files = (
141+
0909CDAB2500D24B00F86AAC /* ViewController.swift in Sources */,
142+
0909CDA72500D24B00F86AAC /* AppDelegate.swift in Sources */,
143+
0909CDA92500D24B00F86AAC /* SceneDelegate.swift in Sources */,
144+
);
145+
runOnlyForDeploymentPostprocessing = 0;
146+
};
147+
/* End PBXSourcesBuildPhase section */
148+
149+
/* Begin PBXVariantGroup section */
150+
0909CDAC2500D24B00F86AAC /* Main.storyboard */ = {
151+
isa = PBXVariantGroup;
152+
children = (
153+
0909CDAD2500D24B00F86AAC /* Base */,
154+
);
155+
name = Main.storyboard;
156+
sourceTree = "<group>";
157+
};
158+
0909CDB12500D24F00F86AAC /* LaunchScreen.storyboard */ = {
159+
isa = PBXVariantGroup;
160+
children = (
161+
0909CDB22500D24F00F86AAC /* Base */,
162+
);
163+
name = LaunchScreen.storyboard;
164+
sourceTree = "<group>";
165+
};
166+
/* End PBXVariantGroup section */
167+
168+
/* Begin XCBuildConfiguration section */
169+
0909CDB52500D24F00F86AAC /* Debug */ = {
170+
isa = XCBuildConfiguration;
171+
buildSettings = {
172+
ALWAYS_SEARCH_USER_PATHS = NO;
173+
CLANG_ANALYZER_NONNULL = YES;
174+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
175+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
176+
CLANG_CXX_LIBRARY = "libc++";
177+
CLANG_ENABLE_MODULES = YES;
178+
CLANG_ENABLE_OBJC_ARC = YES;
179+
CLANG_ENABLE_OBJC_WEAK = YES;
180+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
181+
CLANG_WARN_BOOL_CONVERSION = YES;
182+
CLANG_WARN_COMMA = YES;
183+
CLANG_WARN_CONSTANT_CONVERSION = YES;
184+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
185+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
186+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
187+
CLANG_WARN_EMPTY_BODY = YES;
188+
CLANG_WARN_ENUM_CONVERSION = YES;
189+
CLANG_WARN_INFINITE_RECURSION = YES;
190+
CLANG_WARN_INT_CONVERSION = YES;
191+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
192+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
193+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
194+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
195+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
196+
CLANG_WARN_STRICT_PROTOTYPES = YES;
197+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
198+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
199+
CLANG_WARN_UNREACHABLE_CODE = YES;
200+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
201+
COPY_PHASE_STRIP = NO;
202+
DEBUG_INFORMATION_FORMAT = dwarf;
203+
ENABLE_STRICT_OBJC_MSGSEND = YES;
204+
ENABLE_TESTABILITY = YES;
205+
GCC_C_LANGUAGE_STANDARD = gnu11;
206+
GCC_DYNAMIC_NO_PIC = NO;
207+
GCC_NO_COMMON_BLOCKS = YES;
208+
GCC_OPTIMIZATION_LEVEL = 0;
209+
GCC_PREPROCESSOR_DEFINITIONS = (
210+
"DEBUG=1",
211+
"$(inherited)",
212+
);
213+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
214+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
215+
GCC_WARN_UNDECLARED_SELECTOR = YES;
216+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
217+
GCC_WARN_UNUSED_FUNCTION = YES;
218+
GCC_WARN_UNUSED_VARIABLE = YES;
219+
IPHONEOS_DEPLOYMENT_TARGET = 13.6;
220+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
221+
MTL_FAST_MATH = YES;
222+
ONLY_ACTIVE_ARCH = YES;
223+
SDKROOT = iphoneos;
224+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
225+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
226+
};
227+
name = Debug;
228+
};
229+
0909CDB62500D24F00F86AAC /* Release */ = {
230+
isa = XCBuildConfiguration;
231+
buildSettings = {
232+
ALWAYS_SEARCH_USER_PATHS = NO;
233+
CLANG_ANALYZER_NONNULL = YES;
234+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
235+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
236+
CLANG_CXX_LIBRARY = "libc++";
237+
CLANG_ENABLE_MODULES = YES;
238+
CLANG_ENABLE_OBJC_ARC = YES;
239+
CLANG_ENABLE_OBJC_WEAK = YES;
240+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
241+
CLANG_WARN_BOOL_CONVERSION = YES;
242+
CLANG_WARN_COMMA = YES;
243+
CLANG_WARN_CONSTANT_CONVERSION = YES;
244+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
245+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
246+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
247+
CLANG_WARN_EMPTY_BODY = YES;
248+
CLANG_WARN_ENUM_CONVERSION = YES;
249+
CLANG_WARN_INFINITE_RECURSION = YES;
250+
CLANG_WARN_INT_CONVERSION = YES;
251+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
252+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
253+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
254+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
255+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
256+
CLANG_WARN_STRICT_PROTOTYPES = YES;
257+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
258+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
259+
CLANG_WARN_UNREACHABLE_CODE = YES;
260+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
261+
COPY_PHASE_STRIP = NO;
262+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
263+
ENABLE_NS_ASSERTIONS = NO;
264+
ENABLE_STRICT_OBJC_MSGSEND = YES;
265+
GCC_C_LANGUAGE_STANDARD = gnu11;
266+
GCC_NO_COMMON_BLOCKS = YES;
267+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
268+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
269+
GCC_WARN_UNDECLARED_SELECTOR = YES;
270+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
271+
GCC_WARN_UNUSED_FUNCTION = YES;
272+
GCC_WARN_UNUSED_VARIABLE = YES;
273+
IPHONEOS_DEPLOYMENT_TARGET = 13.6;
274+
MTL_ENABLE_DEBUG_INFO = NO;
275+
MTL_FAST_MATH = YES;
276+
SDKROOT = iphoneos;
277+
SWIFT_COMPILATION_MODE = wholemodule;
278+
SWIFT_OPTIMIZATION_LEVEL = "-O";
279+
VALIDATE_PRODUCT = YES;
280+
};
281+
name = Release;
282+
};
283+
0909CDB82500D24F00F86AAC /* Debug */ = {
284+
isa = XCBuildConfiguration;
285+
buildSettings = {
286+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
287+
CODE_SIGN_STYLE = Automatic;
288+
DEVELOPMENT_TEAM = Y78N79J6Y9;
289+
INFOPLIST_FILE = JavaScript/Info.plist;
290+
LD_RUNPATH_SEARCH_PATHS = (
291+
"$(inherited)",
292+
"@executable_path/Frameworks",
293+
);
294+
PRODUCT_BUNDLE_IDENTIFIER = me.gupta.saurabh.JavaScript;
295+
PRODUCT_NAME = "$(TARGET_NAME)";
296+
SWIFT_VERSION = 5.0;
297+
TARGETED_DEVICE_FAMILY = "1,2";
298+
};
299+
name = Debug;
300+
};
301+
0909CDB92500D24F00F86AAC /* Release */ = {
302+
isa = XCBuildConfiguration;
303+
buildSettings = {
304+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
305+
CODE_SIGN_STYLE = Automatic;
306+
DEVELOPMENT_TEAM = Y78N79J6Y9;
307+
INFOPLIST_FILE = JavaScript/Info.plist;
308+
LD_RUNPATH_SEARCH_PATHS = (
309+
"$(inherited)",
310+
"@executable_path/Frameworks",
311+
);
312+
PRODUCT_BUNDLE_IDENTIFIER = me.gupta.saurabh.JavaScript;
313+
PRODUCT_NAME = "$(TARGET_NAME)";
314+
SWIFT_VERSION = 5.0;
315+
TARGETED_DEVICE_FAMILY = "1,2";
316+
};
317+
name = Release;
318+
};
319+
/* End XCBuildConfiguration section */
320+
321+
/* Begin XCConfigurationList section */
322+
0909CD9E2500D24A00F86AAC /* Build configuration list for PBXProject "JavaScript" */ = {
323+
isa = XCConfigurationList;
324+
buildConfigurations = (
325+
0909CDB52500D24F00F86AAC /* Debug */,
326+
0909CDB62500D24F00F86AAC /* Release */,
327+
);
328+
defaultConfigurationIsVisible = 0;
329+
defaultConfigurationName = Release;
330+
};
331+
0909CDB72500D24F00F86AAC /* Build configuration list for PBXNativeTarget "JavaScript" */ = {
332+
isa = XCConfigurationList;
333+
buildConfigurations = (
334+
0909CDB82500D24F00F86AAC /* Debug */,
335+
0909CDB92500D24F00F86AAC /* Release */,
336+
);
337+
defaultConfigurationIsVisible = 0;
338+
defaultConfigurationName = Release;
339+
};
340+
/* End XCConfigurationList section */
341+
};
342+
rootObject = 0909CD9B2500D24A00F86AAC /* Project object */;
343+
}

JavaScript.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

JavaScript/AppDelegate.swift

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
//
2+
// AppDelegate.swift
3+
// JavaScript
4+
//
5+
// Created by Saurabh Gupta on 03/09/20.
6+
// Copyright © 2020 Saurabh Gupta. All rights reserved.
7+
//
8+
9+
import UIKit
10+
11+
@UIApplicationMain
12+
class AppDelegate: UIResponder, UIApplicationDelegate {
13+
14+
15+
16+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
17+
// Override point for customization after application launch.
18+
return true
19+
}
20+
21+
// MARK: UISceneSession Lifecycle
22+
23+
func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
24+
// Called when a new scene session is being created.
25+
// Use this method to select a configuration to create the new scene with.
26+
return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
27+
}
28+
29+
func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set<UISceneSession>) {
30+
// Called when the user discards a scene session.
31+
// If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
32+
// Use this method to release any resources that were specific to the discarded scenes, as they will not return.
33+
}
34+
35+
36+
}
37+

0 commit comments

Comments
 (0)