Browse Source

deleted all ios things

Kendrick Morales 5 years ago
parent
commit
a943c19bf6

+ 0
- 343
Trolley App.xcodeproj/project.pbxproj View File

1
-// !$*UTF8*$!
2
-{
3
-	archiveVersion = 1;
4
-	classes = {
5
-	};
6
-	objectVersion = 50;
7
-	objects = {
8
-
9
-/* Begin PBXBuildFile section */
10
-		5B319F00235DDC06009AD1A9 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B319EFF235DDC06009AD1A9 /* AppDelegate.swift */; };
11
-		5B319F02235DDC06009AD1A9 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B319F01235DDC06009AD1A9 /* SceneDelegate.swift */; };
12
-		5B319F04235DDC06009AD1A9 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B319F03235DDC06009AD1A9 /* ViewController.swift */; };
13
-		5B319F07235DDC06009AD1A9 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5B319F05235DDC06009AD1A9 /* Main.storyboard */; };
14
-		5B319F09235DDC07009AD1A9 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5B319F08235DDC07009AD1A9 /* Assets.xcassets */; };
15
-		5B319F0C235DDC07009AD1A9 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5B319F0A235DDC07009AD1A9 /* LaunchScreen.storyboard */; };
16
-/* End PBXBuildFile section */
17
-
18
-/* Begin PBXFileReference section */
19
-		5B319EFC235DDC06009AD1A9 /* Trolley App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Trolley App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
20
-		5B319EFF235DDC06009AD1A9 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
21
-		5B319F01235DDC06009AD1A9 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
22
-		5B319F03235DDC06009AD1A9 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
23
-		5B319F06235DDC06009AD1A9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
24
-		5B319F08235DDC07009AD1A9 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
25
-		5B319F0B235DDC07009AD1A9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
26
-		5B319F0D235DDC07009AD1A9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
27
-/* End PBXFileReference section */
28
-
29
-/* Begin PBXFrameworksBuildPhase section */
30
-		5B319EF9235DDC06009AD1A9 /* Frameworks */ = {
31
-			isa = PBXFrameworksBuildPhase;
32
-			buildActionMask = 2147483647;
33
-			files = (
34
-			);
35
-			runOnlyForDeploymentPostprocessing = 0;
36
-		};
37
-/* End PBXFrameworksBuildPhase section */
38
-
39
-/* Begin PBXGroup section */
40
-		5B319EF3235DDC06009AD1A9 = {
41
-			isa = PBXGroup;
42
-			children = (
43
-				5B319EFE235DDC06009AD1A9 /* Trolley App */,
44
-				5B319EFD235DDC06009AD1A9 /* Products */,
45
-			);
46
-			sourceTree = "<group>";
47
-		};
48
-		5B319EFD235DDC06009AD1A9 /* Products */ = {
49
-			isa = PBXGroup;
50
-			children = (
51
-				5B319EFC235DDC06009AD1A9 /* Trolley App.app */,
52
-			);
53
-			name = Products;
54
-			sourceTree = "<group>";
55
-		};
56
-		5B319EFE235DDC06009AD1A9 /* Trolley App */ = {
57
-			isa = PBXGroup;
58
-			children = (
59
-				5B319EFF235DDC06009AD1A9 /* AppDelegate.swift */,
60
-				5B319F01235DDC06009AD1A9 /* SceneDelegate.swift */,
61
-				5B319F03235DDC06009AD1A9 /* ViewController.swift */,
62
-				5B319F05235DDC06009AD1A9 /* Main.storyboard */,
63
-				5B319F08235DDC07009AD1A9 /* Assets.xcassets */,
64
-				5B319F0A235DDC07009AD1A9 /* LaunchScreen.storyboard */,
65
-				5B319F0D235DDC07009AD1A9 /* Info.plist */,
66
-			);
67
-			path = "Trolley App";
68
-			sourceTree = "<group>";
69
-		};
70
-/* End PBXGroup section */
71
-
72
-/* Begin PBXNativeTarget section */
73
-		5B319EFB235DDC06009AD1A9 /* Trolley App */ = {
74
-			isa = PBXNativeTarget;
75
-			buildConfigurationList = 5B319F10235DDC07009AD1A9 /* Build configuration list for PBXNativeTarget "Trolley App" */;
76
-			buildPhases = (
77
-				5B319EF8235DDC06009AD1A9 /* Sources */,
78
-				5B319EF9235DDC06009AD1A9 /* Frameworks */,
79
-				5B319EFA235DDC06009AD1A9 /* Resources */,
80
-			);
81
-			buildRules = (
82
-			);
83
-			dependencies = (
84
-			);
85
-			name = "Trolley App";
86
-			productName = "Trolley App";
87
-			productReference = 5B319EFC235DDC06009AD1A9 /* Trolley App.app */;
88
-			productType = "com.apple.product-type.application";
89
-		};
90
-/* End PBXNativeTarget section */
91
-
92
-/* Begin PBXProject section */
93
-		5B319EF4235DDC06009AD1A9 /* Project object */ = {
94
-			isa = PBXProject;
95
-			attributes = {
96
-				LastSwiftUpdateCheck = 1110;
97
-				LastUpgradeCheck = 1110;
98
-				ORGANIZATIONNAME = "Kendrick Morales";
99
-				TargetAttributes = {
100
-					5B319EFB235DDC06009AD1A9 = {
101
-						CreatedOnToolsVersion = 11.1;
102
-					};
103
-				};
104
-			};
105
-			buildConfigurationList = 5B319EF7235DDC06009AD1A9 /* Build configuration list for PBXProject "Trolley App" */;
106
-			compatibilityVersion = "Xcode 9.3";
107
-			developmentRegion = en;
108
-			hasScannedForEncodings = 0;
109
-			knownRegions = (
110
-				en,
111
-				Base,
112
-			);
113
-			mainGroup = 5B319EF3235DDC06009AD1A9;
114
-			productRefGroup = 5B319EFD235DDC06009AD1A9 /* Products */;
115
-			projectDirPath = "";
116
-			projectRoot = "";
117
-			targets = (
118
-				5B319EFB235DDC06009AD1A9 /* Trolley App */,
119
-			);
120
-		};
121
-/* End PBXProject section */
122
-
123
-/* Begin PBXResourcesBuildPhase section */
124
-		5B319EFA235DDC06009AD1A9 /* Resources */ = {
125
-			isa = PBXResourcesBuildPhase;
126
-			buildActionMask = 2147483647;
127
-			files = (
128
-				5B319F0C235DDC07009AD1A9 /* LaunchScreen.storyboard in Resources */,
129
-				5B319F09235DDC07009AD1A9 /* Assets.xcassets in Resources */,
130
-				5B319F07235DDC06009AD1A9 /* Main.storyboard in Resources */,
131
-			);
132
-			runOnlyForDeploymentPostprocessing = 0;
133
-		};
134
-/* End PBXResourcesBuildPhase section */
135
-
136
-/* Begin PBXSourcesBuildPhase section */
137
-		5B319EF8235DDC06009AD1A9 /* Sources */ = {
138
-			isa = PBXSourcesBuildPhase;
139
-			buildActionMask = 2147483647;
140
-			files = (
141
-				5B319F04235DDC06009AD1A9 /* ViewController.swift in Sources */,
142
-				5B319F00235DDC06009AD1A9 /* AppDelegate.swift in Sources */,
143
-				5B319F02235DDC06009AD1A9 /* SceneDelegate.swift in Sources */,
144
-			);
145
-			runOnlyForDeploymentPostprocessing = 0;
146
-		};
147
-/* End PBXSourcesBuildPhase section */
148
-
149
-/* Begin PBXVariantGroup section */
150
-		5B319F05235DDC06009AD1A9 /* Main.storyboard */ = {
151
-			isa = PBXVariantGroup;
152
-			children = (
153
-				5B319F06235DDC06009AD1A9 /* Base */,
154
-			);
155
-			name = Main.storyboard;
156
-			sourceTree = "<group>";
157
-		};
158
-		5B319F0A235DDC07009AD1A9 /* LaunchScreen.storyboard */ = {
159
-			isa = PBXVariantGroup;
160
-			children = (
161
-				5B319F0B235DDC07009AD1A9 /* Base */,
162
-			);
163
-			name = LaunchScreen.storyboard;
164
-			sourceTree = "<group>";
165
-		};
166
-/* End PBXVariantGroup section */
167
-
168
-/* Begin XCBuildConfiguration section */
169
-		5B319F0E235DDC07009AD1A9 /* 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.1;
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
-		5B319F0F235DDC07009AD1A9 /* 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.1;
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
-		5B319F11235DDC07009AD1A9 /* Debug */ = {
284
-			isa = XCBuildConfiguration;
285
-			buildSettings = {
286
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
287
-				CODE_SIGN_STYLE = Automatic;
288
-				DEVELOPMENT_TEAM = H67NFWVH5W;
289
-				INFOPLIST_FILE = "Trolley App/Info.plist";
290
-				LD_RUNPATH_SEARCH_PATHS = (
291
-					"$(inherited)",
292
-					"@executable_path/Frameworks",
293
-				);
294
-				PRODUCT_BUNDLE_IDENTIFIER = "com.uprrp.Trolley-App";
295
-				PRODUCT_NAME = "$(TARGET_NAME)";
296
-				SWIFT_VERSION = 5.0;
297
-				TARGETED_DEVICE_FAMILY = 1;
298
-			};
299
-			name = Debug;
300
-		};
301
-		5B319F12235DDC07009AD1A9 /* Release */ = {
302
-			isa = XCBuildConfiguration;
303
-			buildSettings = {
304
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
305
-				CODE_SIGN_STYLE = Automatic;
306
-				DEVELOPMENT_TEAM = H67NFWVH5W;
307
-				INFOPLIST_FILE = "Trolley App/Info.plist";
308
-				LD_RUNPATH_SEARCH_PATHS = (
309
-					"$(inherited)",
310
-					"@executable_path/Frameworks",
311
-				);
312
-				PRODUCT_BUNDLE_IDENTIFIER = "com.uprrp.Trolley-App";
313
-				PRODUCT_NAME = "$(TARGET_NAME)";
314
-				SWIFT_VERSION = 5.0;
315
-				TARGETED_DEVICE_FAMILY = 1;
316
-			};
317
-			name = Release;
318
-		};
319
-/* End XCBuildConfiguration section */
320
-
321
-/* Begin XCConfigurationList section */
322
-		5B319EF7235DDC06009AD1A9 /* Build configuration list for PBXProject "Trolley App" */ = {
323
-			isa = XCConfigurationList;
324
-			buildConfigurations = (
325
-				5B319F0E235DDC07009AD1A9 /* Debug */,
326
-				5B319F0F235DDC07009AD1A9 /* Release */,
327
-			);
328
-			defaultConfigurationIsVisible = 0;
329
-			defaultConfigurationName = Release;
330
-		};
331
-		5B319F10235DDC07009AD1A9 /* Build configuration list for PBXNativeTarget "Trolley App" */ = {
332
-			isa = XCConfigurationList;
333
-			buildConfigurations = (
334
-				5B319F11235DDC07009AD1A9 /* Debug */,
335
-				5B319F12235DDC07009AD1A9 /* Release */,
336
-			);
337
-			defaultConfigurationIsVisible = 0;
338
-			defaultConfigurationName = Release;
339
-		};
340
-/* End XCConfigurationList section */
341
-	};
342
-	rootObject = 5B319EF4235DDC06009AD1A9 /* Project object */;
343
-}

+ 0
- 7
Trolley App.xcodeproj/project.xcworkspace/contents.xcworkspacedata View File

1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<Workspace
3
-   version = "1.0">
4
-   <FileRef
5
-      location = "self:Trolley App.xcodeproj">
6
-   </FileRef>
7
-</Workspace>

+ 0
- 8
Trolley App.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist View File

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>

BIN
Trolley App.xcodeproj/project.xcworkspace/xcuserdata/kendrickmorales.xcuserdatad/UserInterfaceState.xcuserstate View File


BIN
Trolley App.xcodeproj/project.xcworkspace/xcuserdata/stephaniem.ramos.xcuserdatad/UserInterfaceState.xcuserstate View File


+ 0
- 14
Trolley App.xcodeproj/xcuserdata/kendrickmorales.xcuserdatad/xcschemes/xcschememanagement.plist View File

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>SchemeUserState</key>
6
-	<dict>
7
-		<key>Trolley App.xcscheme_^#shared#^_</key>
8
-		<dict>
9
-			<key>orderHint</key>
10
-			<integer>0</integer>
11
-		</dict>
12
-	</dict>
13
-</dict>
14
-</plist>

+ 0
- 14
Trolley App.xcodeproj/xcuserdata/stephaniem.ramos.xcuserdatad/xcschemes/xcschememanagement.plist View File

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>SchemeUserState</key>
6
-	<dict>
7
-		<key>Trolley App.xcscheme_^#shared#^_</key>
8
-		<dict>
9
-			<key>orderHint</key>
10
-			<integer>0</integer>
11
-		</dict>
12
-	</dict>
13
-</dict>
14
-</plist>

+ 0
- 37
Trolley App/AppDelegate.swift View File

1
-//
2
-//  AppDelegate.swift
3
-//  Trolley App
4
-//
5
-//  Created by Kendrick Morales on 10/21/19.
6
-//  Copyright © 2019 Kendrick Morales. 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
- 98
Trolley App/Assets.xcassets/AppIcon.appiconset/Contents.json View File

1
-{
2
-  "images" : [
3
-    {
4
-      "idiom" : "iphone",
5
-      "size" : "20x20",
6
-      "scale" : "2x"
7
-    },
8
-    {
9
-      "idiom" : "iphone",
10
-      "size" : "20x20",
11
-      "scale" : "3x"
12
-    },
13
-    {
14
-      "idiom" : "iphone",
15
-      "size" : "29x29",
16
-      "scale" : "2x"
17
-    },
18
-    {
19
-      "idiom" : "iphone",
20
-      "size" : "29x29",
21
-      "scale" : "3x"
22
-    },
23
-    {
24
-      "idiom" : "iphone",
25
-      "size" : "40x40",
26
-      "scale" : "2x"
27
-    },
28
-    {
29
-      "idiom" : "iphone",
30
-      "size" : "40x40",
31
-      "scale" : "3x"
32
-    },
33
-    {
34
-      "idiom" : "iphone",
35
-      "size" : "60x60",
36
-      "scale" : "2x"
37
-    },
38
-    {
39
-      "idiom" : "iphone",
40
-      "size" : "60x60",
41
-      "scale" : "3x"
42
-    },
43
-    {
44
-      "idiom" : "ipad",
45
-      "size" : "20x20",
46
-      "scale" : "1x"
47
-    },
48
-    {
49
-      "idiom" : "ipad",
50
-      "size" : "20x20",
51
-      "scale" : "2x"
52
-    },
53
-    {
54
-      "idiom" : "ipad",
55
-      "size" : "29x29",
56
-      "scale" : "1x"
57
-    },
58
-    {
59
-      "idiom" : "ipad",
60
-      "size" : "29x29",
61
-      "scale" : "2x"
62
-    },
63
-    {
64
-      "idiom" : "ipad",
65
-      "size" : "40x40",
66
-      "scale" : "1x"
67
-    },
68
-    {
69
-      "idiom" : "ipad",
70
-      "size" : "40x40",
71
-      "scale" : "2x"
72
-    },
73
-    {
74
-      "idiom" : "ipad",
75
-      "size" : "76x76",
76
-      "scale" : "1x"
77
-    },
78
-    {
79
-      "idiom" : "ipad",
80
-      "size" : "76x76",
81
-      "scale" : "2x"
82
-    },
83
-    {
84
-      "idiom" : "ipad",
85
-      "size" : "83.5x83.5",
86
-      "scale" : "2x"
87
-    },
88
-    {
89
-      "idiom" : "ios-marketing",
90
-      "size" : "1024x1024",
91
-      "scale" : "1x"
92
-    }
93
-  ],
94
-  "info" : {
95
-    "version" : 1,
96
-    "author" : "xcode"
97
-  }
98
-}

+ 0
- 6
Trolley App/Assets.xcassets/Contents.json View File

1
-{
2
-  "info" : {
3
-    "version" : 1,
4
-    "author" : "xcode"
5
-  }
6
-}

+ 0
- 23
Trolley App/Assets.xcassets/map.imageset/Contents.json View File

1
-{
2
-  "images" : [
3
-    {
4
-      "idiom" : "universal",
5
-      "filename" : "map.jpg",
6
-      "scale" : "1x"
7
-    },
8
-    {
9
-      "idiom" : "universal",
10
-      "filename" : "map@2x.jpg",
11
-      "scale" : "2x"
12
-    },
13
-    {
14
-      "idiom" : "universal",
15
-      "filename" : "map@3x.jpg",
16
-      "scale" : "3x"
17
-    }
18
-  ],
19
-  "info" : {
20
-    "version" : 1,
21
-    "author" : "xcode"
22
-  }
23
-}

BIN
Trolley App/Assets.xcassets/map.imageset/map.jpg View File


BIN
Trolley App/Assets.xcassets/map.imageset/map@2x.jpg View File


BIN
Trolley App/Assets.xcassets/map.imageset/map@3x.jpg View File


+ 0
- 25
Trolley App/Base.lproj/LaunchScreen.storyboard View File

1
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3
-    <dependencies>
4
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
5
-        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
6
-        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
7
-    </dependencies>
8
-    <scenes>
9
-        <!--View Controller-->
10
-        <scene sceneID="EHf-IW-A2E">
11
-            <objects>
12
-                <viewController id="01J-lp-oVM" sceneMemberID="viewController">
13
-                    <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
14
-                        <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
15
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
16
-                        <color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
17
-                        <viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
18
-                    </view>
19
-                </viewController>
20
-                <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
21
-            </objects>
22
-            <point key="canvasLocation" x="53" y="375"/>
23
-        </scene>
24
-    </scenes>
25
-</document>

+ 0
- 268
Trolley App/Base.lproj/Main.storyboard View File

1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15400" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
3
-    <device id="retina6_1" orientation="portrait" appearance="light"/>
4
-    <dependencies>
5
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15404"/>
6
-        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
7
-        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
8
-    </dependencies>
9
-    <scenes>
10
-        <!--View Controller-->
11
-        <scene sceneID="tne-QT-ifu">
12
-            <objects>
13
-                <viewController id="BYZ-38-t0r" customClass="ViewController" customModule="Trolley_App" customModuleProvider="target" sceneMemberID="viewController">
14
-                    <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
15
-                        <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
16
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
17
-                        <subviews>
18
-                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Trolley IUPI" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5sx-mb-Vhu">
19
-                                <rect key="frame" x="108" y="90" width="201" height="47"/>
20
-                                <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="40"/>
21
-                                <nil key="textColor"/>
22
-                                <nil key="highlightedColor"/>
23
-                            </label>
24
-                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="map" translatesAutoresizingMaskIntoConstraints="NO" id="KQC-gY-9mQ">
25
-                                <rect key="frame" x="7" y="247" width="400" height="400"/>
26
-                                <constraints>
27
-                                    <constraint firstAttribute="height" constant="400" id="qfV-As-PC0"/>
28
-                                </constraints>
29
-                            </imageView>
30
-                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="2cl-Ch-09v">
31
-                                <rect key="frame" x="246" y="705" width="113" height="48"/>
32
-                                <color key="backgroundColor" red="0.77344781159999998" green="0.095710434019999999" blue="0.1044210568" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
33
-                                <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="30"/>
34
-                                <state key="normal" title="Tracking">
35
-                                    <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
36
-                                </state>
37
-                                <connections>
38
-                                    <action selector="trackingButton:" destination="BYZ-38-t0r" eventType="touchUpInside" id="bj2-2c-F73"/>
39
-                                </connections>
40
-                            </button>
41
-                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mCk-tp-oM3">
42
-                                <rect key="frame" x="49" y="705" width="122" height="48"/>
43
-                                <color key="backgroundColor" red="0.76673818005181349" green="0.10930287577585605" blue="0.13850717263181206" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
44
-                                <constraints>
45
-                                    <constraint firstAttribute="width" constant="122" id="6uo-R9-sfc"/>
46
-                                </constraints>
47
-                                <fontDescription key="fontDescription" type="system" pointSize="30"/>
48
-                                <state key="normal" title="Paradas">
49
-                                    <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
50
-                                </state>
51
-                                <connections>
52
-                                    <segue destination="hgI-fz-4Vc" kind="show" id="Mi9-kK-bJx"/>
53
-                                </connections>
54
-                            </button>
55
-                        </subviews>
56
-                        <color key="backgroundColor" systemColor="secondarySystemGroupedBackgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
57
-                        <constraints>
58
-                            <constraint firstItem="KQC-gY-9mQ" firstAttribute="leading" secondItem="6Tk-OE-BBY" secondAttribute="leading" constant="7" id="4tK-75-TTb"/>
59
-                            <constraint firstItem="5sx-mb-Vhu" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="6Tk-OE-BBY" secondAttribute="leading" id="7vx-Bc-qCt"/>
60
-                            <constraint firstItem="6Tk-OE-BBY" firstAttribute="bottom" secondItem="mCk-tp-oM3" secondAttribute="bottom" constant="109" id="Zs3-P2-qf5"/>
61
-                            <constraint firstItem="5sx-mb-Vhu" firstAttribute="top" secondItem="6Tk-OE-BBY" secondAttribute="top" constant="46" id="aPT-iH-ChZ"/>
62
-                            <constraint firstItem="6Tk-OE-BBY" firstAttribute="trailing" secondItem="5sx-mb-Vhu" secondAttribute="trailing" constant="105" id="bal-xX-LWh"/>
63
-                            <constraint firstItem="mCk-tp-oM3" firstAttribute="top" secondItem="KQC-gY-9mQ" secondAttribute="bottom" constant="58" id="exG-uc-qz9"/>
64
-                            <constraint firstItem="mCk-tp-oM3" firstAttribute="top" secondItem="2cl-Ch-09v" secondAttribute="top" id="gOP-zh-EQH"/>
65
-                            <constraint firstItem="KQC-gY-9mQ" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="j43-we-PaR"/>
66
-                            <constraint firstItem="2cl-Ch-09v" firstAttribute="leading" secondItem="mCk-tp-oM3" secondAttribute="trailing" constant="75" id="kgL-iV-9lE"/>
67
-                            <constraint firstItem="mCk-tp-oM3" firstAttribute="bottom" secondItem="2cl-Ch-09v" secondAttribute="bottom" id="oLg-kF-fXQ"/>
68
-                            <constraint firstItem="mCk-tp-oM3" firstAttribute="leading" secondItem="6Tk-OE-BBY" secondAttribute="leading" constant="49" id="onu-ZL-tE9"/>
69
-                        </constraints>
70
-                        <viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
71
-                    </view>
72
-                </viewController>
73
-                <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
74
-            </objects>
75
-            <point key="canvasLocation" x="137.68115942028987" y="133.92857142857142"/>
76
-        </scene>
77
-        <!--Table View Controller-->
78
-        <scene sceneID="xjP-gs-qNg">
79
-            <objects>
80
-                <tableViewController id="hgI-fz-4Vc" sceneMemberID="viewController">
81
-                    <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" id="aZF-XN-g7M">
82
-                        <rect key="frame" x="0.0" y="0.0" width="414" height="842"/>
83
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
84
-                        <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
85
-                        <sections>
86
-                            <tableViewSection id="R38-7O-YDv">
87
-                                <cells>
88
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" textLabel="P9j-EK-xET" style="IBUITableViewCellStyleDefault" id="2X4-Of-h3t">
89
-                                        <rect key="frame" x="0.0" y="28" width="414" height="47.5"/>
90
-                                        <autoresizingMask key="autoresizingMask"/>
91
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="2X4-Of-h3t" id="Wcn-H7-bZD">
92
-                                            <rect key="frame" x="0.0" y="0.0" width="414" height="47.5"/>
93
-                                            <autoresizingMask key="autoresizingMask"/>
94
-                                            <subviews>
95
-                                                <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Parada 1" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="P9j-EK-xET">
96
-                                                    <rect key="frame" x="20" y="0.0" width="374" height="47.5"/>
97
-                                                    <autoresizingMask key="autoresizingMask"/>
98
-                                                    <fontDescription key="fontDescription" type="system" pointSize="20"/>
99
-                                                    <nil key="textColor"/>
100
-                                                    <nil key="highlightedColor"/>
101
-                                                </label>
102
-                                            </subviews>
103
-                                        </tableViewCellContentView>
104
-                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
105
-                                    </tableViewCell>
106
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" textLabel="sgQ-Td-W7K" style="IBUITableViewCellStyleDefault" id="ZJF-Xk-L5w">
107
-                                        <rect key="frame" x="0.0" y="75.5" width="414" height="47.5"/>
108
-                                        <autoresizingMask key="autoresizingMask"/>
109
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="ZJF-Xk-L5w" id="LDz-uT-YYq">
110
-                                            <rect key="frame" x="0.0" y="0.0" width="414" height="47.5"/>
111
-                                            <autoresizingMask key="autoresizingMask"/>
112
-                                            <subviews>
113
-                                                <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Parada 2" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="sgQ-Td-W7K">
114
-                                                    <rect key="frame" x="20" y="0.0" width="374" height="47.5"/>
115
-                                                    <autoresizingMask key="autoresizingMask"/>
116
-                                                    <fontDescription key="fontDescription" type="system" pointSize="20"/>
117
-                                                    <nil key="textColor"/>
118
-                                                    <nil key="highlightedColor"/>
119
-                                                </label>
120
-                                            </subviews>
121
-                                        </tableViewCellContentView>
122
-                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
123
-                                    </tableViewCell>
124
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" textLabel="eew-ss-2Z6" style="IBUITableViewCellStyleDefault" id="mcJ-AL-E90">
125
-                                        <rect key="frame" x="0.0" y="123" width="414" height="47.5"/>
126
-                                        <autoresizingMask key="autoresizingMask"/>
127
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="mcJ-AL-E90" id="ze7-eK-QjC">
128
-                                            <rect key="frame" x="0.0" y="0.0" width="414" height="47.5"/>
129
-                                            <autoresizingMask key="autoresizingMask"/>
130
-                                            <subviews>
131
-                                                <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Parada 3" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="eew-ss-2Z6">
132
-                                                    <rect key="frame" x="20" y="0.0" width="374" height="47.5"/>
133
-                                                    <autoresizingMask key="autoresizingMask"/>
134
-                                                    <fontDescription key="fontDescription" type="system" pointSize="20"/>
135
-                                                    <nil key="textColor"/>
136
-                                                    <nil key="highlightedColor"/>
137
-                                                </label>
138
-                                            </subviews>
139
-                                        </tableViewCellContentView>
140
-                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
141
-                                    </tableViewCell>
142
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" textLabel="xnN-d4-0tO" style="IBUITableViewCellStyleDefault" id="678-LD-kG7">
143
-                                        <rect key="frame" x="0.0" y="170.5" width="414" height="47.5"/>
144
-                                        <autoresizingMask key="autoresizingMask"/>
145
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="678-LD-kG7" id="jlf-EF-s4X">
146
-                                            <rect key="frame" x="0.0" y="0.0" width="414" height="47.5"/>
147
-                                            <autoresizingMask key="autoresizingMask"/>
148
-                                            <subviews>
149
-                                                <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Parada 4" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="xnN-d4-0tO">
150
-                                                    <rect key="frame" x="20" y="0.0" width="374" height="47.5"/>
151
-                                                    <autoresizingMask key="autoresizingMask"/>
152
-                                                    <fontDescription key="fontDescription" type="system" pointSize="20"/>
153
-                                                    <nil key="textColor"/>
154
-                                                    <nil key="highlightedColor"/>
155
-                                                </label>
156
-                                            </subviews>
157
-                                        </tableViewCellContentView>
158
-                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
159
-                                    </tableViewCell>
160
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" textLabel="ozJ-Dd-JVx" style="IBUITableViewCellStyleDefault" id="Qdr-j2-dMl">
161
-                                        <rect key="frame" x="0.0" y="218" width="414" height="47.5"/>
162
-                                        <autoresizingMask key="autoresizingMask"/>
163
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Qdr-j2-dMl" id="f2e-0P-0se">
164
-                                            <rect key="frame" x="0.0" y="0.0" width="414" height="47.5"/>
165
-                                            <autoresizingMask key="autoresizingMask"/>
166
-                                            <subviews>
167
-                                                <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Parada 5" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="ozJ-Dd-JVx">
168
-                                                    <rect key="frame" x="20" y="0.0" width="374" height="47.5"/>
169
-                                                    <autoresizingMask key="autoresizingMask"/>
170
-                                                    <fontDescription key="fontDescription" type="system" pointSize="20"/>
171
-                                                    <nil key="textColor"/>
172
-                                                    <nil key="highlightedColor"/>
173
-                                                </label>
174
-                                            </subviews>
175
-                                        </tableViewCellContentView>
176
-                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
177
-                                    </tableViewCell>
178
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" textLabel="Ubc-k8-qBb" style="IBUITableViewCellStyleDefault" id="GB7-Wu-mms">
179
-                                        <rect key="frame" x="0.0" y="265.5" width="414" height="47.5"/>
180
-                                        <autoresizingMask key="autoresizingMask"/>
181
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="GB7-Wu-mms" id="y0t-d4-gfp">
182
-                                            <rect key="frame" x="0.0" y="0.0" width="414" height="47.5"/>
183
-                                            <autoresizingMask key="autoresizingMask"/>
184
-                                            <subviews>
185
-                                                <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Parada 6" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="Ubc-k8-qBb">
186
-                                                    <rect key="frame" x="20" y="0.0" width="374" height="47.5"/>
187
-                                                    <autoresizingMask key="autoresizingMask"/>
188
-                                                    <fontDescription key="fontDescription" type="system" pointSize="20"/>
189
-                                                    <nil key="textColor"/>
190
-                                                    <nil key="highlightedColor"/>
191
-                                                </label>
192
-                                            </subviews>
193
-                                        </tableViewCellContentView>
194
-                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
195
-                                    </tableViewCell>
196
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" textLabel="POV-SW-qZU" style="IBUITableViewCellStyleDefault" id="DUL-zs-ndZ">
197
-                                        <rect key="frame" x="0.0" y="313" width="414" height="47.5"/>
198
-                                        <autoresizingMask key="autoresizingMask"/>
199
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="DUL-zs-ndZ" id="jZ3-iB-nx0">
200
-                                            <rect key="frame" x="0.0" y="0.0" width="414" height="47.5"/>
201
-                                            <autoresizingMask key="autoresizingMask"/>
202
-                                            <subviews>
203
-                                                <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Parada 7" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="POV-SW-qZU">
204
-                                                    <rect key="frame" x="20" y="0.0" width="374" height="47.5"/>
205
-                                                    <autoresizingMask key="autoresizingMask"/>
206
-                                                    <fontDescription key="fontDescription" type="system" pointSize="20"/>
207
-                                                    <nil key="textColor"/>
208
-                                                    <nil key="highlightedColor"/>
209
-                                                </label>
210
-                                            </subviews>
211
-                                        </tableViewCellContentView>
212
-                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
213
-                                    </tableViewCell>
214
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" textLabel="rmw-VL-c6Q" style="IBUITableViewCellStyleDefault" id="yo5-fl-fbE">
215
-                                        <rect key="frame" x="0.0" y="360.5" width="414" height="47.5"/>
216
-                                        <autoresizingMask key="autoresizingMask"/>
217
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="yo5-fl-fbE" id="FPQ-Tm-a7c">
218
-                                            <rect key="frame" x="0.0" y="0.0" width="414" height="47.5"/>
219
-                                            <autoresizingMask key="autoresizingMask"/>
220
-                                            <subviews>
221
-                                                <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Parada 8" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="rmw-VL-c6Q">
222
-                                                    <rect key="frame" x="20" y="0.0" width="374" height="47.5"/>
223
-                                                    <autoresizingMask key="autoresizingMask"/>
224
-                                                    <fontDescription key="fontDescription" type="system" pointSize="20"/>
225
-                                                    <nil key="textColor"/>
226
-                                                    <nil key="highlightedColor"/>
227
-                                                </label>
228
-                                            </subviews>
229
-                                        </tableViewCellContentView>
230
-                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
231
-                                    </tableViewCell>
232
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" textLabel="KbK-VP-nDK" style="IBUITableViewCellStyleDefault" id="aSV-n0-8Tx">
233
-                                        <rect key="frame" x="0.0" y="408" width="414" height="47.5"/>
234
-                                        <autoresizingMask key="autoresizingMask"/>
235
-                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="aSV-n0-8Tx" id="JG6-UT-I1Z">
236
-                                            <rect key="frame" x="0.0" y="0.0" width="414" height="47.5"/>
237
-                                            <autoresizingMask key="autoresizingMask"/>
238
-                                            <subviews>
239
-                                                <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Parada 9" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="KbK-VP-nDK">
240
-                                                    <rect key="frame" x="20" y="0.0" width="374" height="47.5"/>
241
-                                                    <autoresizingMask key="autoresizingMask"/>
242
-                                                    <fontDescription key="fontDescription" type="system" pointSize="20"/>
243
-                                                    <nil key="textColor"/>
244
-                                                    <nil key="highlightedColor"/>
245
-                                                </label>
246
-                                            </subviews>
247
-                                        </tableViewCellContentView>
248
-                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
249
-                                    </tableViewCell>
250
-                                </cells>
251
-                            </tableViewSection>
252
-                        </sections>
253
-                        <connections>
254
-                            <outlet property="dataSource" destination="hgI-fz-4Vc" id="6u1-6B-JNP"/>
255
-                            <outlet property="delegate" destination="hgI-fz-4Vc" id="9Yo-jn-CLd"/>
256
-                        </connections>
257
-                    </tableView>
258
-                    <navigationItem key="navigationItem" id="LCG-h4-cOW"/>
259
-                </tableViewController>
260
-                <placeholder placeholderIdentifier="IBFirstResponder" id="EF3-hv-twl" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
261
-            </objects>
262
-            <point key="canvasLocation" x="874" y="134"/>
263
-        </scene>
264
-    </scenes>
265
-    <resources>
266
-        <image name="map" width="520.5" height="431"/>
267
-    </resources>
268
-</document>

+ 0
- 66
Trolley App/Info.plist View File

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>CFBundleDevelopmentRegion</key>
6
-	<string>$(DEVELOPMENT_LANGUAGE)</string>
7
-	<key>CFBundleExecutable</key>
8
-	<string>$(EXECUTABLE_NAME)</string>
9
-	<key>CFBundleIdentifier</key>
10
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11
-	<key>CFBundleInfoDictionaryVersion</key>
12
-	<string>6.0</string>
13
-	<key>CFBundleName</key>
14
-	<string>$(PRODUCT_NAME)</string>
15
-	<key>CFBundlePackageType</key>
16
-	<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
17
-	<key>CFBundleShortVersionString</key>
18
-	<string>1.0</string>
19
-	<key>CFBundleVersion</key>
20
-	<string>1</string>
21
-	<key>LSRequiresIPhoneOS</key>
22
-	<true/>
23
-	<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
24
-	<string>Se utilizara para su experiencia en la applicacion</string>
25
-	<key>NSLocationWhenInUseUsageDescription</key>
26
-	<string>Se utilizara para su experiencia en la applicacion</string>
27
-	<key>UIApplicationSceneManifest</key>
28
-	<dict>
29
-		<key>UIApplicationSupportsMultipleScenes</key>
30
-		<false/>
31
-		<key>UISceneConfigurations</key>
32
-		<dict>
33
-			<key>UIWindowSceneSessionRoleApplication</key>
34
-			<array>
35
-				<dict>
36
-					<key>UISceneConfigurationName</key>
37
-					<string>Default Configuration</string>
38
-					<key>UISceneDelegateClassName</key>
39
-					<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
40
-					<key>UISceneStoryboardFile</key>
41
-					<string>Main</string>
42
-				</dict>
43
-			</array>
44
-		</dict>
45
-	</dict>
46
-	<key>UILaunchStoryboardName</key>
47
-	<string>LaunchScreen</string>
48
-	<key>UIMainStoryboardFile</key>
49
-	<string>Main</string>
50
-	<key>UIRequiredDeviceCapabilities</key>
51
-	<array>
52
-		<string>armv7</string>
53
-	</array>
54
-	<key>UISupportedInterfaceOrientations</key>
55
-	<array>
56
-		<string>UIInterfaceOrientationPortrait</string>
57
-	</array>
58
-	<key>UISupportedInterfaceOrientations~ipad</key>
59
-	<array>
60
-		<string>UIInterfaceOrientationPortrait</string>
61
-		<string>UIInterfaceOrientationPortraitUpsideDown</string>
62
-		<string>UIInterfaceOrientationLandscapeLeft</string>
63
-		<string>UIInterfaceOrientationLandscapeRight</string>
64
-	</array>
65
-</dict>
66
-</plist>

+ 0
- 53
Trolley App/SceneDelegate.swift View File

1
-//
2
-//  SceneDelegate.swift
3
-//  Trolley App
4
-//
5
-//  Created by Kendrick Morales on 10/21/19.
6
-//  Copyright © 2019 Kendrick Morales. All rights reserved.
7
-//
8
-
9
-import UIKit
10
-
11
-class SceneDelegate: UIResponder, UIWindowSceneDelegate {
12
-
13
-    var window: UIWindow?
14
-
15
-
16
-    func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
17
-        // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
18
-        // If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
19
-        // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
20
-        guard let _ = (scene as? UIWindowScene) else { return }
21
-    }
22
-
23
-    func sceneDidDisconnect(_ scene: UIScene) {
24
-        // Called as the scene is being released by the system.
25
-        // This occurs shortly after the scene enters the background, or when its session is discarded.
26
-        // Release any resources associated with this scene that can be re-created the next time the scene connects.
27
-        // The scene may re-connect later, as its session was not neccessarily discarded (see `application:didDiscardSceneSessions` instead).
28
-    }
29
-
30
-    func sceneDidBecomeActive(_ scene: UIScene) {
31
-        // Called when the scene has moved from an inactive state to an active state.
32
-        // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive.
33
-    }
34
-
35
-    func sceneWillResignActive(_ scene: UIScene) {
36
-        // Called when the scene will move from an active state to an inactive state.
37
-        // This may occur due to temporary interruptions (ex. an incoming phone call).
38
-    }
39
-
40
-    func sceneWillEnterForeground(_ scene: UIScene) {
41
-        // Called as the scene transitions from the background to the foreground.
42
-        // Use this method to undo the changes made on entering the background.
43
-    }
44
-
45
-    func sceneDidEnterBackground(_ scene: UIScene) {
46
-        // Called as the scene transitions from the foreground to the background.
47
-        // Use this method to save data, release shared resources, and store enough scene-specific state information
48
-        // to restore the scene back to its current state.
49
-    }
50
-
51
-
52
-}
53
-

+ 0
- 60
Trolley App/ViewController.swift View File

1
-//
2
-//  ViewController.swift
3
-//  Trolley App
4
-//
5
-//  Created by Kendrick Morales on 10/21/19.
6
-//  Copyright © 2019 Kendrick Morales. All rights reserved.
7
-//
8
-
9
-import UIKit
10
-import CoreLocation
11
-import MapKit
12
-class ViewController: UIViewController,  CLLocationManagerDelegate {
13
-
14
-    var estado = false
15
-    let locationManager = CLLocationManager()
16
-    
17
-   
18
-    
19
-    
20
-    override func viewDidLoad() {
21
-        super.viewDidLoad()
22
-        locationManager.requestAlwaysAuthorization()
23
-        if CLLocationManager.locationServicesEnabled() {
24
-            locationManager.delegate = self
25
-            locationManager.desiredAccuracy = kCLLocationAccuracyNearestTenMeters
26
-        }
27
-
28
-        // Do any additional setup after loading the view.
29
-    }
30
-    
31
-    //funcion para poder extraer latitud y longitud
32
-    func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
33
-        guard let locValue: CLLocationCoordinate2D = manager.location?.coordinate
34
-            else { return }
35
-        print("locations = \(locValue.latitude) \(locValue.longitude)")
36
-    }
37
- 
38
-    
39
-    //botton de las tracking
40
-    @IBAction func trackingButton(_ sender: UIButton) {
41
-        
42
-        // si el estado esta en falso
43
-        if estado != true{
44
-         sender.setTitle("Stop", for: .normal) // cambia el texto del boton
45
-         estado = true // cambiamos el estado a activado
46
-         locationManager.startUpdatingLocation() // activamos el metodo de capturacion de localizacion
47
-        }
48
-        else{ // si el estado esta en cierto
49
-             sender.setTitle("Tracking", for: .normal) // cambiamos el texto del boton
50
-            locationManager.stopUpdatingLocation() // paramos el metodo de capturacion de localizacion
51
-            
52
-            estado = false // se cambia estado de nuevo a falso
53
-        }
54
-    }
55
-    
56
-   
57
-    
58
-    
59
-}
60
-