Skip to content

Commit 85195db

Browse files
Added Go-Jek iOS Address Book Assignment
1 parent 3f4b32f commit 85195db

File tree

179 files changed

+9961
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+9961
-0
lines changed
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Xcode
2+
#
3+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4+
5+
## Build generated
6+
build/
7+
DerivedData/
8+
9+
## Various settings
10+
*.pbxuser
11+
!default.pbxuser
12+
*.mode1v3
13+
!default.mode1v3
14+
*.mode2v3
15+
!default.mode2v3
16+
*.perspectivev3
17+
!default.perspectivev3
18+
xcuserdata/
19+
20+
## Other
21+
*.moved-aside
22+
*.xccheckout
23+
*.xcscmblueprint
24+
25+
## Obj-C/Swift specific
26+
*.hmap
27+
*.ipa
28+
*.dSYM.zip
29+
*.dSYM
30+
31+
## Playgrounds
32+
timeline.xctimeline
33+
playground.xcworkspace
34+
35+
# Swift Package Manager
36+
#
37+
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
38+
# Packages/
39+
# Package.pins
40+
# Package.resolved
41+
.build/
42+
43+
# CocoaPods
44+
#
45+
# We recommend against adding the Pods directory to your .gitignore. However
46+
# you should judge for yourself, the pros and cons are mentioned at:
47+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
48+
#
49+
# Pods/
50+
51+
# Carthage
52+
#
53+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
54+
# Carthage/Checkouts
55+
56+
Carthage/Build
57+
58+
# fastlane
59+
#
60+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
61+
# screenshots whenever they are needed.
62+
# For more information about the recommended setup visit:
63+
# https://docs.fastlane.tools/best-practices/source-control/#source-control
64+
65+
fastlane/report.xml
66+
fastlane/Preview.html
67+
fastlane/screenshots/**/*.png
68+
fastlane/test_output
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
disabled_rules:
2+
- trailing_whitespace
3+
4+
opt_in_rules:
5+
- empty_count
6+
- empty_string
7+
8+
excluded:
9+
- Carthage
10+
- Pods
11+
- SwiftLint/Common/3rdPartyLib
12+
13+
line_length:
14+
warning: 150
15+
error: 200
16+
ignores_function_declarations: true
17+
ignores_comments: true
18+
ignores_urls: true
19+
20+
function_body_length:
21+
warning: 300
22+
error: 500
23+
24+
function_parameter_count:
25+
warning: 6
26+
error: 8
27+
28+
type_body_length:
29+
warning: 300
30+
error: 500
31+
32+
file_length:
33+
warning: 1000
34+
error: 1500
35+
ignore_comment_only_lines: true
36+
37+
cyclomatic_complexity:
38+
warning: 15
39+
error: 25
40+
41+
identifier_name:
42+
excluded:
43+
- id
44+
45+
reporter: "xcode"

Go-Jek/GO-JEK-Assignment/GJAssignment.xcodeproj/project.pbxproj

Lines changed: 1363 additions & 0 deletions
Large diffs are not rendered by default.

Go-Jek/GO-JEK-Assignment/GJAssignment.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>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
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+
</plist>
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1030"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "446C1B1F2303DEEB00FEFF90"
18+
BuildableName = "GJAssignment.app"
19+
BlueprintName = "GJAssignment"
20+
ReferencedContainer = "container:GJAssignment.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
codeCoverageEnabled = "YES"
30+
onlyGenerateCoverageForSpecifiedTargets = "YES"
31+
shouldUseLaunchSchemeArgsEnv = "YES">
32+
<CodeCoverageTargets>
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "446C1B1F2303DEEB00FEFF90"
36+
BuildableName = "GJAssignment.app"
37+
BlueprintName = "GJAssignment"
38+
ReferencedContainer = "container:GJAssignment.xcodeproj">
39+
</BuildableReference>
40+
</CodeCoverageTargets>
41+
<Testables>
42+
<TestableReference
43+
skipped = "NO">
44+
<BuildableReference
45+
BuildableIdentifier = "primary"
46+
BlueprintIdentifier = "446C1B362303DEED00FEFF90"
47+
BuildableName = "GJAssignmentTests.xctest"
48+
BlueprintName = "GJAssignmentTests"
49+
ReferencedContainer = "container:GJAssignment.xcodeproj">
50+
</BuildableReference>
51+
</TestableReference>
52+
<TestableReference
53+
skipped = "NO">
54+
<BuildableReference
55+
BuildableIdentifier = "primary"
56+
BlueprintIdentifier = "446C1B412303DEED00FEFF90"
57+
BuildableName = "GJAssignmentUITests.xctest"
58+
BlueprintName = "GJAssignmentUITests"
59+
ReferencedContainer = "container:GJAssignment.xcodeproj">
60+
</BuildableReference>
61+
</TestableReference>
62+
</Testables>
63+
<MacroExpansion>
64+
<BuildableReference
65+
BuildableIdentifier = "primary"
66+
BlueprintIdentifier = "446C1B1F2303DEEB00FEFF90"
67+
BuildableName = "GJAssignment.app"
68+
BlueprintName = "GJAssignment"
69+
ReferencedContainer = "container:GJAssignment.xcodeproj">
70+
</BuildableReference>
71+
</MacroExpansion>
72+
<AdditionalOptions>
73+
</AdditionalOptions>
74+
</TestAction>
75+
<LaunchAction
76+
buildConfiguration = "Debug"
77+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
78+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
79+
launchStyle = "0"
80+
useCustomWorkingDirectory = "NO"
81+
ignoresPersistentStateOnLaunch = "NO"
82+
debugDocumentVersioning = "YES"
83+
debugServiceExtension = "internal"
84+
allowLocationSimulation = "YES">
85+
<BuildableProductRunnable
86+
runnableDebuggingMode = "0">
87+
<BuildableReference
88+
BuildableIdentifier = "primary"
89+
BlueprintIdentifier = "446C1B1F2303DEEB00FEFF90"
90+
BuildableName = "GJAssignment.app"
91+
BlueprintName = "GJAssignment"
92+
ReferencedContainer = "container:GJAssignment.xcodeproj">
93+
</BuildableReference>
94+
</BuildableProductRunnable>
95+
<AdditionalOptions>
96+
</AdditionalOptions>
97+
</LaunchAction>
98+
<ProfileAction
99+
buildConfiguration = "Release"
100+
shouldUseLaunchSchemeArgsEnv = "YES"
101+
savedToolIdentifier = ""
102+
useCustomWorkingDirectory = "NO"
103+
debugDocumentVersioning = "YES">
104+
<BuildableProductRunnable
105+
runnableDebuggingMode = "0">
106+
<BuildableReference
107+
BuildableIdentifier = "primary"
108+
BlueprintIdentifier = "446C1B1F2303DEEB00FEFF90"
109+
BuildableName = "GJAssignment.app"
110+
BlueprintName = "GJAssignment"
111+
ReferencedContainer = "container:GJAssignment.xcodeproj">
112+
</BuildableReference>
113+
</BuildableProductRunnable>
114+
</ProfileAction>
115+
<AnalyzeAction
116+
buildConfiguration = "Debug">
117+
</AnalyzeAction>
118+
<ArchiveAction
119+
buildConfiguration = "Release"
120+
revealArchiveInOrganizer = "YES">
121+
</ArchiveAction>
122+
</Scheme>

Go-Jek/GO-JEK-Assignment/GJAssignment.xcworkspace/contents.xcworkspacedata

Lines changed: 10 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>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
//
2+
// AppDelegate.swift
3+
// GJAssignment
4+
//
5+
// Created by Anonymous on 14/08/19.
6+
// Copyright © 2019 Anonymous. All rights reserved.
7+
//
8+
9+
import UIKit
10+
import CoreData
11+
12+
@UIApplicationMain
13+
class AppDelegate: UIResponder, UIApplicationDelegate {
14+
15+
var window: UIWindow?
16+
17+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
18+
19+
setupNavigationBarAppearance()
20+
21+
window = UIWindow(frame: UIScreen.main.bounds)
22+
window?.rootViewController = getRootViewController()
23+
window?.makeKeyAndVisible()
24+
25+
return true
26+
}
27+
28+
func applicationWillTerminate(_ application: UIApplication) {
29+
CoreDataManager.shared.saveContext()
30+
}
31+
}

0 commit comments

Comments
 (0)