Kaynağa Gözat

Initial Commit

Hector Carrion 4 yıl önce
işleme
6dea1336cc

+ 606
- 0
Comedores Sociales.xcodeproj/project.pbxproj Dosyayı Görüntüle

@@ -0,0 +1,606 @@
1
+// !$*UTF8*$!
2
+{
3
+	archiveVersion = 1;
4
+	classes = {
5
+	};
6
+	objectVersion = 50;
7
+	objects = {
8
+
9
+/* Begin PBXBuildFile section */
10
+		3565338325449C3600F2F0DE /* Comedores_SocialesApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3565338225449C3600F2F0DE /* Comedores_SocialesApp.swift */; };
11
+		3565338525449C3600F2F0DE /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3565338425449C3600F2F0DE /* ContentView.swift */; };
12
+		3565338725449C3800F2F0DE /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3565338625449C3800F2F0DE /* Assets.xcassets */; };
13
+		3565338A25449C3800F2F0DE /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3565338925449C3800F2F0DE /* Preview Assets.xcassets */; };
14
+		3565338C25449C3800F2F0DE /* Persistence.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3565338B25449C3800F2F0DE /* Persistence.swift */; };
15
+		3565338F25449C3800F2F0DE /* Comedores_Sociales.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 3565338D25449C3800F2F0DE /* Comedores_Sociales.xcdatamodeld */; };
16
+		3565339A25449C3800F2F0DE /* Comedores_SocialesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3565339925449C3800F2F0DE /* Comedores_SocialesTests.swift */; };
17
+		356533A525449C3900F2F0DE /* Comedores_SocialesUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 356533A425449C3900F2F0DE /* Comedores_SocialesUITests.swift */; };
18
+/* End PBXBuildFile section */
19
+
20
+/* Begin PBXContainerItemProxy section */
21
+		3565339625449C3800F2F0DE /* PBXContainerItemProxy */ = {
22
+			isa = PBXContainerItemProxy;
23
+			containerPortal = 3565337725449C3600F2F0DE /* Project object */;
24
+			proxyType = 1;
25
+			remoteGlobalIDString = 3565337E25449C3600F2F0DE;
26
+			remoteInfo = "Comedores Sociales";
27
+		};
28
+		356533A125449C3900F2F0DE /* PBXContainerItemProxy */ = {
29
+			isa = PBXContainerItemProxy;
30
+			containerPortal = 3565337725449C3600F2F0DE /* Project object */;
31
+			proxyType = 1;
32
+			remoteGlobalIDString = 3565337E25449C3600F2F0DE;
33
+			remoteInfo = "Comedores Sociales";
34
+		};
35
+/* End PBXContainerItemProxy section */
36
+
37
+/* Begin PBXFileReference section */
38
+		3565337F25449C3600F2F0DE /* Comedores Sociales.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Comedores Sociales.app"; sourceTree = BUILT_PRODUCTS_DIR; };
39
+		3565338225449C3600F2F0DE /* Comedores_SocialesApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Comedores_SocialesApp.swift; sourceTree = "<group>"; };
40
+		3565338425449C3600F2F0DE /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
41
+		3565338625449C3800F2F0DE /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
42
+		3565338925449C3800F2F0DE /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
43
+		3565338B25449C3800F2F0DE /* Persistence.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Persistence.swift; sourceTree = "<group>"; };
44
+		3565338E25449C3800F2F0DE /* Comedores_Sociales.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Comedores_Sociales.xcdatamodel; sourceTree = "<group>"; };
45
+		3565339025449C3800F2F0DE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
46
+		3565339525449C3800F2F0DE /* Comedores SocialesTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Comedores SocialesTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
47
+		3565339925449C3800F2F0DE /* Comedores_SocialesTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Comedores_SocialesTests.swift; sourceTree = "<group>"; };
48
+		3565339B25449C3900F2F0DE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
49
+		356533A025449C3900F2F0DE /* Comedores SocialesUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Comedores SocialesUITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
50
+		356533A425449C3900F2F0DE /* Comedores_SocialesUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Comedores_SocialesUITests.swift; sourceTree = "<group>"; };
51
+		356533A625449C3900F2F0DE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
52
+/* End PBXFileReference section */
53
+
54
+/* Begin PBXFrameworksBuildPhase section */
55
+		3565337C25449C3600F2F0DE /* Frameworks */ = {
56
+			isa = PBXFrameworksBuildPhase;
57
+			buildActionMask = 2147483647;
58
+			files = (
59
+			);
60
+			runOnlyForDeploymentPostprocessing = 0;
61
+		};
62
+		3565339225449C3800F2F0DE /* Frameworks */ = {
63
+			isa = PBXFrameworksBuildPhase;
64
+			buildActionMask = 2147483647;
65
+			files = (
66
+			);
67
+			runOnlyForDeploymentPostprocessing = 0;
68
+		};
69
+		3565339D25449C3900F2F0DE /* Frameworks */ = {
70
+			isa = PBXFrameworksBuildPhase;
71
+			buildActionMask = 2147483647;
72
+			files = (
73
+			);
74
+			runOnlyForDeploymentPostprocessing = 0;
75
+		};
76
+/* End PBXFrameworksBuildPhase section */
77
+
78
+/* Begin PBXGroup section */
79
+		3565337625449C3600F2F0DE = {
80
+			isa = PBXGroup;
81
+			children = (
82
+				3565338125449C3600F2F0DE /* Comedores Sociales */,
83
+				3565339825449C3800F2F0DE /* Comedores SocialesTests */,
84
+				356533A325449C3900F2F0DE /* Comedores SocialesUITests */,
85
+				3565338025449C3600F2F0DE /* Products */,
86
+			);
87
+			sourceTree = "<group>";
88
+		};
89
+		3565338025449C3600F2F0DE /* Products */ = {
90
+			isa = PBXGroup;
91
+			children = (
92
+				3565337F25449C3600F2F0DE /* Comedores Sociales.app */,
93
+				3565339525449C3800F2F0DE /* Comedores SocialesTests.xctest */,
94
+				356533A025449C3900F2F0DE /* Comedores SocialesUITests.xctest */,
95
+			);
96
+			name = Products;
97
+			sourceTree = "<group>";
98
+		};
99
+		3565338125449C3600F2F0DE /* Comedores Sociales */ = {
100
+			isa = PBXGroup;
101
+			children = (
102
+				3565338225449C3600F2F0DE /* Comedores_SocialesApp.swift */,
103
+				3565338425449C3600F2F0DE /* ContentView.swift */,
104
+				3565338625449C3800F2F0DE /* Assets.xcassets */,
105
+				3565338B25449C3800F2F0DE /* Persistence.swift */,
106
+				3565339025449C3800F2F0DE /* Info.plist */,
107
+				3565338D25449C3800F2F0DE /* Comedores_Sociales.xcdatamodeld */,
108
+				3565338825449C3800F2F0DE /* Preview Content */,
109
+			);
110
+			path = "Comedores Sociales";
111
+			sourceTree = "<group>";
112
+		};
113
+		3565338825449C3800F2F0DE /* Preview Content */ = {
114
+			isa = PBXGroup;
115
+			children = (
116
+				3565338925449C3800F2F0DE /* Preview Assets.xcassets */,
117
+			);
118
+			path = "Preview Content";
119
+			sourceTree = "<group>";
120
+		};
121
+		3565339825449C3800F2F0DE /* Comedores SocialesTests */ = {
122
+			isa = PBXGroup;
123
+			children = (
124
+				3565339925449C3800F2F0DE /* Comedores_SocialesTests.swift */,
125
+				3565339B25449C3900F2F0DE /* Info.plist */,
126
+			);
127
+			path = "Comedores SocialesTests";
128
+			sourceTree = "<group>";
129
+		};
130
+		356533A325449C3900F2F0DE /* Comedores SocialesUITests */ = {
131
+			isa = PBXGroup;
132
+			children = (
133
+				356533A425449C3900F2F0DE /* Comedores_SocialesUITests.swift */,
134
+				356533A625449C3900F2F0DE /* Info.plist */,
135
+			);
136
+			path = "Comedores SocialesUITests";
137
+			sourceTree = "<group>";
138
+		};
139
+/* End PBXGroup section */
140
+
141
+/* Begin PBXNativeTarget section */
142
+		3565337E25449C3600F2F0DE /* Comedores Sociales */ = {
143
+			isa = PBXNativeTarget;
144
+			buildConfigurationList = 356533A925449C3900F2F0DE /* Build configuration list for PBXNativeTarget "Comedores Sociales" */;
145
+			buildPhases = (
146
+				3565337B25449C3600F2F0DE /* Sources */,
147
+				3565337C25449C3600F2F0DE /* Frameworks */,
148
+				3565337D25449C3600F2F0DE /* Resources */,
149
+			);
150
+			buildRules = (
151
+			);
152
+			dependencies = (
153
+			);
154
+			name = "Comedores Sociales";
155
+			productName = "Comedores Sociales";
156
+			productReference = 3565337F25449C3600F2F0DE /* Comedores Sociales.app */;
157
+			productType = "com.apple.product-type.application";
158
+		};
159
+		3565339425449C3800F2F0DE /* Comedores SocialesTests */ = {
160
+			isa = PBXNativeTarget;
161
+			buildConfigurationList = 356533AC25449C3900F2F0DE /* Build configuration list for PBXNativeTarget "Comedores SocialesTests" */;
162
+			buildPhases = (
163
+				3565339125449C3800F2F0DE /* Sources */,
164
+				3565339225449C3800F2F0DE /* Frameworks */,
165
+				3565339325449C3800F2F0DE /* Resources */,
166
+			);
167
+			buildRules = (
168
+			);
169
+			dependencies = (
170
+				3565339725449C3800F2F0DE /* PBXTargetDependency */,
171
+			);
172
+			name = "Comedores SocialesTests";
173
+			productName = "Comedores SocialesTests";
174
+			productReference = 3565339525449C3800F2F0DE /* Comedores SocialesTests.xctest */;
175
+			productType = "com.apple.product-type.bundle.unit-test";
176
+		};
177
+		3565339F25449C3900F2F0DE /* Comedores SocialesUITests */ = {
178
+			isa = PBXNativeTarget;
179
+			buildConfigurationList = 356533AF25449C3900F2F0DE /* Build configuration list for PBXNativeTarget "Comedores SocialesUITests" */;
180
+			buildPhases = (
181
+				3565339C25449C3900F2F0DE /* Sources */,
182
+				3565339D25449C3900F2F0DE /* Frameworks */,
183
+				3565339E25449C3900F2F0DE /* Resources */,
184
+			);
185
+			buildRules = (
186
+			);
187
+			dependencies = (
188
+				356533A225449C3900F2F0DE /* PBXTargetDependency */,
189
+			);
190
+			name = "Comedores SocialesUITests";
191
+			productName = "Comedores SocialesUITests";
192
+			productReference = 356533A025449C3900F2F0DE /* Comedores SocialesUITests.xctest */;
193
+			productType = "com.apple.product-type.bundle.ui-testing";
194
+		};
195
+/* End PBXNativeTarget section */
196
+
197
+/* Begin PBXProject section */
198
+		3565337725449C3600F2F0DE /* Project object */ = {
199
+			isa = PBXProject;
200
+			attributes = {
201
+				LastSwiftUpdateCheck = 1210;
202
+				LastUpgradeCheck = 1210;
203
+				TargetAttributes = {
204
+					3565337E25449C3600F2F0DE = {
205
+						CreatedOnToolsVersion = 12.1;
206
+					};
207
+					3565339425449C3800F2F0DE = {
208
+						CreatedOnToolsVersion = 12.1;
209
+						TestTargetID = 3565337E25449C3600F2F0DE;
210
+					};
211
+					3565339F25449C3900F2F0DE = {
212
+						CreatedOnToolsVersion = 12.1;
213
+						TestTargetID = 3565337E25449C3600F2F0DE;
214
+					};
215
+				};
216
+			};
217
+			buildConfigurationList = 3565337A25449C3600F2F0DE /* Build configuration list for PBXProject "Comedores Sociales" */;
218
+			compatibilityVersion = "Xcode 9.3";
219
+			developmentRegion = en;
220
+			hasScannedForEncodings = 0;
221
+			knownRegions = (
222
+				en,
223
+				Base,
224
+			);
225
+			mainGroup = 3565337625449C3600F2F0DE;
226
+			productRefGroup = 3565338025449C3600F2F0DE /* Products */;
227
+			projectDirPath = "";
228
+			projectRoot = "";
229
+			targets = (
230
+				3565337E25449C3600F2F0DE /* Comedores Sociales */,
231
+				3565339425449C3800F2F0DE /* Comedores SocialesTests */,
232
+				3565339F25449C3900F2F0DE /* Comedores SocialesUITests */,
233
+			);
234
+		};
235
+/* End PBXProject section */
236
+
237
+/* Begin PBXResourcesBuildPhase section */
238
+		3565337D25449C3600F2F0DE /* Resources */ = {
239
+			isa = PBXResourcesBuildPhase;
240
+			buildActionMask = 2147483647;
241
+			files = (
242
+				3565338A25449C3800F2F0DE /* Preview Assets.xcassets in Resources */,
243
+				3565338725449C3800F2F0DE /* Assets.xcassets in Resources */,
244
+			);
245
+			runOnlyForDeploymentPostprocessing = 0;
246
+		};
247
+		3565339325449C3800F2F0DE /* Resources */ = {
248
+			isa = PBXResourcesBuildPhase;
249
+			buildActionMask = 2147483647;
250
+			files = (
251
+			);
252
+			runOnlyForDeploymentPostprocessing = 0;
253
+		};
254
+		3565339E25449C3900F2F0DE /* Resources */ = {
255
+			isa = PBXResourcesBuildPhase;
256
+			buildActionMask = 2147483647;
257
+			files = (
258
+			);
259
+			runOnlyForDeploymentPostprocessing = 0;
260
+		};
261
+/* End PBXResourcesBuildPhase section */
262
+
263
+/* Begin PBXSourcesBuildPhase section */
264
+		3565337B25449C3600F2F0DE /* Sources */ = {
265
+			isa = PBXSourcesBuildPhase;
266
+			buildActionMask = 2147483647;
267
+			files = (
268
+				3565338C25449C3800F2F0DE /* Persistence.swift in Sources */,
269
+				3565338525449C3600F2F0DE /* ContentView.swift in Sources */,
270
+				3565338F25449C3800F2F0DE /* Comedores_Sociales.xcdatamodeld in Sources */,
271
+				3565338325449C3600F2F0DE /* Comedores_SocialesApp.swift in Sources */,
272
+			);
273
+			runOnlyForDeploymentPostprocessing = 0;
274
+		};
275
+		3565339125449C3800F2F0DE /* Sources */ = {
276
+			isa = PBXSourcesBuildPhase;
277
+			buildActionMask = 2147483647;
278
+			files = (
279
+				3565339A25449C3800F2F0DE /* Comedores_SocialesTests.swift in Sources */,
280
+			);
281
+			runOnlyForDeploymentPostprocessing = 0;
282
+		};
283
+		3565339C25449C3900F2F0DE /* Sources */ = {
284
+			isa = PBXSourcesBuildPhase;
285
+			buildActionMask = 2147483647;
286
+			files = (
287
+				356533A525449C3900F2F0DE /* Comedores_SocialesUITests.swift in Sources */,
288
+			);
289
+			runOnlyForDeploymentPostprocessing = 0;
290
+		};
291
+/* End PBXSourcesBuildPhase section */
292
+
293
+/* Begin PBXTargetDependency section */
294
+		3565339725449C3800F2F0DE /* PBXTargetDependency */ = {
295
+			isa = PBXTargetDependency;
296
+			target = 3565337E25449C3600F2F0DE /* Comedores Sociales */;
297
+			targetProxy = 3565339625449C3800F2F0DE /* PBXContainerItemProxy */;
298
+		};
299
+		356533A225449C3900F2F0DE /* PBXTargetDependency */ = {
300
+			isa = PBXTargetDependency;
301
+			target = 3565337E25449C3600F2F0DE /* Comedores Sociales */;
302
+			targetProxy = 356533A125449C3900F2F0DE /* PBXContainerItemProxy */;
303
+		};
304
+/* End PBXTargetDependency section */
305
+
306
+/* Begin XCBuildConfiguration section */
307
+		356533A725449C3900F2F0DE /* Debug */ = {
308
+			isa = XCBuildConfiguration;
309
+			buildSettings = {
310
+				ALWAYS_SEARCH_USER_PATHS = NO;
311
+				CLANG_ANALYZER_NONNULL = YES;
312
+				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
313
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
314
+				CLANG_CXX_LIBRARY = "libc++";
315
+				CLANG_ENABLE_MODULES = YES;
316
+				CLANG_ENABLE_OBJC_ARC = YES;
317
+				CLANG_ENABLE_OBJC_WEAK = YES;
318
+				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
319
+				CLANG_WARN_BOOL_CONVERSION = YES;
320
+				CLANG_WARN_COMMA = YES;
321
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
322
+				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
323
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
324
+				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
325
+				CLANG_WARN_EMPTY_BODY = YES;
326
+				CLANG_WARN_ENUM_CONVERSION = YES;
327
+				CLANG_WARN_INFINITE_RECURSION = YES;
328
+				CLANG_WARN_INT_CONVERSION = YES;
329
+				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
330
+				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
331
+				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
332
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
333
+				CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
334
+				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
335
+				CLANG_WARN_STRICT_PROTOTYPES = YES;
336
+				CLANG_WARN_SUSPICIOUS_MOVE = YES;
337
+				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
338
+				CLANG_WARN_UNREACHABLE_CODE = YES;
339
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
340
+				COPY_PHASE_STRIP = NO;
341
+				DEBUG_INFORMATION_FORMAT = dwarf;
342
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
343
+				ENABLE_TESTABILITY = YES;
344
+				GCC_C_LANGUAGE_STANDARD = gnu11;
345
+				GCC_DYNAMIC_NO_PIC = NO;
346
+				GCC_NO_COMMON_BLOCKS = YES;
347
+				GCC_OPTIMIZATION_LEVEL = 0;
348
+				GCC_PREPROCESSOR_DEFINITIONS = (
349
+					"DEBUG=1",
350
+					"$(inherited)",
351
+				);
352
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
353
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
354
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
355
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
356
+				GCC_WARN_UNUSED_FUNCTION = YES;
357
+				GCC_WARN_UNUSED_VARIABLE = YES;
358
+				IPHONEOS_DEPLOYMENT_TARGET = 14.1;
359
+				MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
360
+				MTL_FAST_MATH = YES;
361
+				ONLY_ACTIVE_ARCH = YES;
362
+				SDKROOT = iphoneos;
363
+				SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
364
+				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
365
+			};
366
+			name = Debug;
367
+		};
368
+		356533A825449C3900F2F0DE /* Release */ = {
369
+			isa = XCBuildConfiguration;
370
+			buildSettings = {
371
+				ALWAYS_SEARCH_USER_PATHS = NO;
372
+				CLANG_ANALYZER_NONNULL = YES;
373
+				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
374
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
375
+				CLANG_CXX_LIBRARY = "libc++";
376
+				CLANG_ENABLE_MODULES = YES;
377
+				CLANG_ENABLE_OBJC_ARC = YES;
378
+				CLANG_ENABLE_OBJC_WEAK = YES;
379
+				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
380
+				CLANG_WARN_BOOL_CONVERSION = YES;
381
+				CLANG_WARN_COMMA = YES;
382
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
383
+				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
384
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
385
+				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
386
+				CLANG_WARN_EMPTY_BODY = YES;
387
+				CLANG_WARN_ENUM_CONVERSION = YES;
388
+				CLANG_WARN_INFINITE_RECURSION = YES;
389
+				CLANG_WARN_INT_CONVERSION = YES;
390
+				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
391
+				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
392
+				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
393
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
394
+				CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
395
+				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
396
+				CLANG_WARN_STRICT_PROTOTYPES = YES;
397
+				CLANG_WARN_SUSPICIOUS_MOVE = YES;
398
+				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
399
+				CLANG_WARN_UNREACHABLE_CODE = YES;
400
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
401
+				COPY_PHASE_STRIP = NO;
402
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
403
+				ENABLE_NS_ASSERTIONS = NO;
404
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
405
+				GCC_C_LANGUAGE_STANDARD = gnu11;
406
+				GCC_NO_COMMON_BLOCKS = YES;
407
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
408
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
409
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
410
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
411
+				GCC_WARN_UNUSED_FUNCTION = YES;
412
+				GCC_WARN_UNUSED_VARIABLE = YES;
413
+				IPHONEOS_DEPLOYMENT_TARGET = 14.1;
414
+				MTL_ENABLE_DEBUG_INFO = NO;
415
+				MTL_FAST_MATH = YES;
416
+				SDKROOT = iphoneos;
417
+				SWIFT_COMPILATION_MODE = wholemodule;
418
+				SWIFT_OPTIMIZATION_LEVEL = "-O";
419
+				VALIDATE_PRODUCT = YES;
420
+			};
421
+			name = Release;
422
+		};
423
+		356533AA25449C3900F2F0DE /* Debug */ = {
424
+			isa = XCBuildConfiguration;
425
+			buildSettings = {
426
+				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
427
+				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
428
+				CODE_SIGN_STYLE = Automatic;
429
+				DEVELOPMENT_ASSET_PATHS = "\"Comedores Sociales/Preview Content\"";
430
+				DEVELOPMENT_TEAM = 4P4738NUTG;
431
+				ENABLE_PREVIEWS = YES;
432
+				INFOPLIST_FILE = "Comedores Sociales/Info.plist";
433
+				IPHONEOS_DEPLOYMENT_TARGET = 14.0;
434
+				LD_RUNPATH_SEARCH_PATHS = (
435
+					"$(inherited)",
436
+					"@executable_path/Frameworks",
437
+				);
438
+				PRODUCT_BUNDLE_IDENTIFIER = "com.hectorcarrion.Comedores-Sociales";
439
+				PRODUCT_NAME = "$(TARGET_NAME)";
440
+				SWIFT_VERSION = 5.0;
441
+				TARGETED_DEVICE_FAMILY = "1,2";
442
+			};
443
+			name = Debug;
444
+		};
445
+		356533AB25449C3900F2F0DE /* Release */ = {
446
+			isa = XCBuildConfiguration;
447
+			buildSettings = {
448
+				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
449
+				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
450
+				CODE_SIGN_STYLE = Automatic;
451
+				DEVELOPMENT_ASSET_PATHS = "\"Comedores Sociales/Preview Content\"";
452
+				DEVELOPMENT_TEAM = 4P4738NUTG;
453
+				ENABLE_PREVIEWS = YES;
454
+				INFOPLIST_FILE = "Comedores Sociales/Info.plist";
455
+				IPHONEOS_DEPLOYMENT_TARGET = 14.0;
456
+				LD_RUNPATH_SEARCH_PATHS = (
457
+					"$(inherited)",
458
+					"@executable_path/Frameworks",
459
+				);
460
+				PRODUCT_BUNDLE_IDENTIFIER = "com.hectorcarrion.Comedores-Sociales";
461
+				PRODUCT_NAME = "$(TARGET_NAME)";
462
+				SWIFT_VERSION = 5.0;
463
+				TARGETED_DEVICE_FAMILY = "1,2";
464
+			};
465
+			name = Release;
466
+		};
467
+		356533AD25449C3900F2F0DE /* Debug */ = {
468
+			isa = XCBuildConfiguration;
469
+			buildSettings = {
470
+				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
471
+				BUNDLE_LOADER = "$(TEST_HOST)";
472
+				CODE_SIGN_STYLE = Automatic;
473
+				DEVELOPMENT_TEAM = 4P4738NUTG;
474
+				INFOPLIST_FILE = "Comedores SocialesTests/Info.plist";
475
+				IPHONEOS_DEPLOYMENT_TARGET = 14.0;
476
+				LD_RUNPATH_SEARCH_PATHS = (
477
+					"$(inherited)",
478
+					"@executable_path/Frameworks",
479
+					"@loader_path/Frameworks",
480
+				);
481
+				PRODUCT_BUNDLE_IDENTIFIER = "com.hectorcarrion.Comedores-SocialesTests";
482
+				PRODUCT_NAME = "$(TARGET_NAME)";
483
+				SWIFT_VERSION = 5.0;
484
+				TARGETED_DEVICE_FAMILY = "1,2";
485
+				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Comedores Sociales.app/Comedores Sociales";
486
+			};
487
+			name = Debug;
488
+		};
489
+		356533AE25449C3900F2F0DE /* Release */ = {
490
+			isa = XCBuildConfiguration;
491
+			buildSettings = {
492
+				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
493
+				BUNDLE_LOADER = "$(TEST_HOST)";
494
+				CODE_SIGN_STYLE = Automatic;
495
+				DEVELOPMENT_TEAM = 4P4738NUTG;
496
+				INFOPLIST_FILE = "Comedores SocialesTests/Info.plist";
497
+				IPHONEOS_DEPLOYMENT_TARGET = 14.0;
498
+				LD_RUNPATH_SEARCH_PATHS = (
499
+					"$(inherited)",
500
+					"@executable_path/Frameworks",
501
+					"@loader_path/Frameworks",
502
+				);
503
+				PRODUCT_BUNDLE_IDENTIFIER = "com.hectorcarrion.Comedores-SocialesTests";
504
+				PRODUCT_NAME = "$(TARGET_NAME)";
505
+				SWIFT_VERSION = 5.0;
506
+				TARGETED_DEVICE_FAMILY = "1,2";
507
+				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Comedores Sociales.app/Comedores Sociales";
508
+			};
509
+			name = Release;
510
+		};
511
+		356533B025449C3900F2F0DE /* Debug */ = {
512
+			isa = XCBuildConfiguration;
513
+			buildSettings = {
514
+				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
515
+				CODE_SIGN_STYLE = Automatic;
516
+				DEVELOPMENT_TEAM = 4P4738NUTG;
517
+				INFOPLIST_FILE = "Comedores SocialesUITests/Info.plist";
518
+				LD_RUNPATH_SEARCH_PATHS = (
519
+					"$(inherited)",
520
+					"@executable_path/Frameworks",
521
+					"@loader_path/Frameworks",
522
+				);
523
+				PRODUCT_BUNDLE_IDENTIFIER = "com.hectorcarrion.Comedores-SocialesUITests";
524
+				PRODUCT_NAME = "$(TARGET_NAME)";
525
+				SWIFT_VERSION = 5.0;
526
+				TARGETED_DEVICE_FAMILY = "1,2";
527
+				TEST_TARGET_NAME = "Comedores Sociales";
528
+			};
529
+			name = Debug;
530
+		};
531
+		356533B125449C3900F2F0DE /* Release */ = {
532
+			isa = XCBuildConfiguration;
533
+			buildSettings = {
534
+				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
535
+				CODE_SIGN_STYLE = Automatic;
536
+				DEVELOPMENT_TEAM = 4P4738NUTG;
537
+				INFOPLIST_FILE = "Comedores SocialesUITests/Info.plist";
538
+				LD_RUNPATH_SEARCH_PATHS = (
539
+					"$(inherited)",
540
+					"@executable_path/Frameworks",
541
+					"@loader_path/Frameworks",
542
+				);
543
+				PRODUCT_BUNDLE_IDENTIFIER = "com.hectorcarrion.Comedores-SocialesUITests";
544
+				PRODUCT_NAME = "$(TARGET_NAME)";
545
+				SWIFT_VERSION = 5.0;
546
+				TARGETED_DEVICE_FAMILY = "1,2";
547
+				TEST_TARGET_NAME = "Comedores Sociales";
548
+			};
549
+			name = Release;
550
+		};
551
+/* End XCBuildConfiguration section */
552
+
553
+/* Begin XCConfigurationList section */
554
+		3565337A25449C3600F2F0DE /* Build configuration list for PBXProject "Comedores Sociales" */ = {
555
+			isa = XCConfigurationList;
556
+			buildConfigurations = (
557
+				356533A725449C3900F2F0DE /* Debug */,
558
+				356533A825449C3900F2F0DE /* Release */,
559
+			);
560
+			defaultConfigurationIsVisible = 0;
561
+			defaultConfigurationName = Release;
562
+		};
563
+		356533A925449C3900F2F0DE /* Build configuration list for PBXNativeTarget "Comedores Sociales" */ = {
564
+			isa = XCConfigurationList;
565
+			buildConfigurations = (
566
+				356533AA25449C3900F2F0DE /* Debug */,
567
+				356533AB25449C3900F2F0DE /* Release */,
568
+			);
569
+			defaultConfigurationIsVisible = 0;
570
+			defaultConfigurationName = Release;
571
+		};
572
+		356533AC25449C3900F2F0DE /* Build configuration list for PBXNativeTarget "Comedores SocialesTests" */ = {
573
+			isa = XCConfigurationList;
574
+			buildConfigurations = (
575
+				356533AD25449C3900F2F0DE /* Debug */,
576
+				356533AE25449C3900F2F0DE /* Release */,
577
+			);
578
+			defaultConfigurationIsVisible = 0;
579
+			defaultConfigurationName = Release;
580
+		};
581
+		356533AF25449C3900F2F0DE /* Build configuration list for PBXNativeTarget "Comedores SocialesUITests" */ = {
582
+			isa = XCConfigurationList;
583
+			buildConfigurations = (
584
+				356533B025449C3900F2F0DE /* Debug */,
585
+				356533B125449C3900F2F0DE /* Release */,
586
+			);
587
+			defaultConfigurationIsVisible = 0;
588
+			defaultConfigurationName = Release;
589
+		};
590
+/* End XCConfigurationList section */
591
+
592
+/* Begin XCVersionGroup section */
593
+		3565338D25449C3800F2F0DE /* Comedores_Sociales.xcdatamodeld */ = {
594
+			isa = XCVersionGroup;
595
+			children = (
596
+				3565338E25449C3800F2F0DE /* Comedores_Sociales.xcdatamodel */,
597
+			);
598
+			currentVersion = 3565338E25449C3800F2F0DE /* Comedores_Sociales.xcdatamodel */;
599
+			path = Comedores_Sociales.xcdatamodeld;
600
+			sourceTree = "<group>";
601
+			versionGroupType = wrapper.xcdatamodel;
602
+		};
603
+/* End XCVersionGroup section */
604
+	};
605
+	rootObject = 3565337725449C3600F2F0DE /* Project object */;
606
+}

+ 7
- 0
Comedores Sociales.xcodeproj/project.xcworkspace/contents.xcworkspacedata Dosyayı Görüntüle

@@ -0,0 +1,7 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<Workspace
3
+   version = "1.0">
4
+   <FileRef
5
+      location = "self:">
6
+   </FileRef>
7
+</Workspace>

+ 8
- 0
Comedores Sociales.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist Dosyayı Görüntüle

@@ -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>

+ 14
- 0
Comedores Sociales.xcodeproj/xcuserdata/Yakk.xcuserdatad/xcschemes/xcschememanagement.plist Dosyayı Görüntüle

@@ -0,0 +1,14 @@
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>Comedores Sociales.xcscheme_^#shared#^_</key>
8
+		<dict>
9
+			<key>orderHint</key>
10
+			<integer>0</integer>
11
+		</dict>
12
+	</dict>
13
+</dict>
14
+</plist>

+ 11
- 0
Comedores Sociales/Assets.xcassets/AccentColor.colorset/Contents.json Dosyayı Görüntüle

@@ -0,0 +1,11 @@
1
+{
2
+  "colors" : [
3
+    {
4
+      "idiom" : "universal"
5
+    }
6
+  ],
7
+  "info" : {
8
+    "author" : "xcode",
9
+    "version" : 1
10
+  }
11
+}

+ 98
- 0
Comedores Sociales/Assets.xcassets/AppIcon.appiconset/Contents.json Dosyayı Görüntüle

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

+ 6
- 0
Comedores Sociales/Assets.xcassets/Contents.json Dosyayı Görüntüle

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

+ 8
- 0
Comedores Sociales/Comedores_Sociales.xcdatamodeld/.xccurrentversion Dosyayı Görüntüle

@@ -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>_XCCurrentVersionName</key>
6
+	<string>Comedores_Sociales.xcdatamodel</string>
7
+</dict>
8
+</plist>

+ 9
- 0
Comedores Sociales/Comedores_Sociales.xcdatamodeld/Comedores_Sociales.xcdatamodel/contents Dosyayı Görüntüle

@@ -0,0 +1,9 @@
1
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
+<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="1" systemVersion="11A491" minimumToolsVersion="Automatic" sourceLanguage="Swift" usedWithCloudKit="true" userDefinedModelVersionIdentifier="">
3
+    <entity name="Item" representedClassName="Item" syncable="YES" codeGenerationType="class">
4
+        <attribute name="timestamp" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
5
+    </entity>
6
+    <elements>
7
+        <element name="Item" positionX="-63" positionY="-18" width="128" height="44"/>
8
+    </elements>
9
+</model>

+ 20
- 0
Comedores Sociales/Comedores_SocialesApp.swift Dosyayı Görüntüle

@@ -0,0 +1,20 @@
1
+//
2
+//  Comedores_SocialesApp.swift
3
+//  Comedores Sociales
4
+//
5
+//  Created by Hector Carrion on 10/24/20.
6
+//
7
+
8
+import SwiftUI
9
+
10
+@main
11
+struct Comedores_SocialesApp: App {
12
+    let persistenceController = PersistenceController.shared
13
+
14
+    var body: some Scene {
15
+        WindowGroup {
16
+            ContentView()
17
+                .environment(\.managedObjectContext, persistenceController.container.viewContext)
18
+        }
19
+    }
20
+}

+ 80
- 0
Comedores Sociales/ContentView.swift Dosyayı Görüntüle

@@ -0,0 +1,80 @@
1
+//
2
+//  ContentView.swift
3
+//  Comedores Sociales
4
+//
5
+//  Created by Hector Carrion on 10/24/20.
6
+//
7
+
8
+import SwiftUI
9
+import CoreData
10
+
11
+struct ContentView: View {
12
+    @Environment(\.managedObjectContext) private var viewContext
13
+
14
+    @FetchRequest(
15
+        sortDescriptors: [NSSortDescriptor(keyPath: \Item.timestamp, ascending: true)],
16
+        animation: .default)
17
+    private var items: FetchedResults<Item>
18
+
19
+    var body: some View {
20
+        List {
21
+            ForEach(items) { item in
22
+                Text("Item at \(item.timestamp!, formatter: itemFormatter)")
23
+            }
24
+            .onDelete(perform: deleteItems)
25
+        }
26
+        .toolbar {
27
+            #if os(iOS)
28
+            EditButton()
29
+            #endif
30
+
31
+            Button(action: addItem) {
32
+                Label("Add Item", systemImage: "plus")
33
+            }
34
+        }
35
+    }
36
+
37
+    private func addItem() {
38
+        withAnimation {
39
+            let newItem = Item(context: viewContext)
40
+            newItem.timestamp = Date()
41
+
42
+            do {
43
+                try viewContext.save()
44
+            } catch {
45
+                // Replace this implementation with code to handle the error appropriately.
46
+                // fatalError() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
47
+                let nsError = error as NSError
48
+                fatalError("Unresolved error \(nsError), \(nsError.userInfo)")
49
+            }
50
+        }
51
+    }
52
+
53
+    private func deleteItems(offsets: IndexSet) {
54
+        withAnimation {
55
+            offsets.map { items[$0] }.forEach(viewContext.delete)
56
+
57
+            do {
58
+                try viewContext.save()
59
+            } catch {
60
+                // Replace this implementation with code to handle the error appropriately.
61
+                // fatalError() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
62
+                let nsError = error as NSError
63
+                fatalError("Unresolved error \(nsError), \(nsError.userInfo)")
64
+            }
65
+        }
66
+    }
67
+}
68
+
69
+private let itemFormatter: DateFormatter = {
70
+    let formatter = DateFormatter()
71
+    formatter.dateStyle = .short
72
+    formatter.timeStyle = .medium
73
+    return formatter
74
+}()
75
+
76
+struct ContentView_Previews: PreviewProvider {
77
+    static var previews: some View {
78
+        ContentView().environment(\.managedObjectContext, PersistenceController.preview.container.viewContext)
79
+    }
80
+}

+ 50
- 0
Comedores Sociales/Info.plist Dosyayı Görüntüle

@@ -0,0 +1,50 @@
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>UIApplicationSceneManifest</key>
24
+	<dict>
25
+		<key>UIApplicationSupportsMultipleScenes</key>
26
+		<true/>
27
+	</dict>
28
+	<key>UIApplicationSupportsIndirectInputEvents</key>
29
+	<true/>
30
+	<key>UILaunchScreen</key>
31
+	<dict/>
32
+	<key>UIRequiredDeviceCapabilities</key>
33
+	<array>
34
+		<string>armv7</string>
35
+	</array>
36
+	<key>UISupportedInterfaceOrientations</key>
37
+	<array>
38
+		<string>UIInterfaceOrientationPortrait</string>
39
+		<string>UIInterfaceOrientationLandscapeLeft</string>
40
+		<string>UIInterfaceOrientationLandscapeRight</string>
41
+	</array>
42
+	<key>UISupportedInterfaceOrientations~ipad</key>
43
+	<array>
44
+		<string>UIInterfaceOrientationPortrait</string>
45
+		<string>UIInterfaceOrientationPortraitUpsideDown</string>
46
+		<string>UIInterfaceOrientationLandscapeLeft</string>
47
+		<string>UIInterfaceOrientationLandscapeRight</string>
48
+	</array>
49
+</dict>
50
+</plist>

+ 55
- 0
Comedores Sociales/Persistence.swift Dosyayı Görüntüle

@@ -0,0 +1,55 @@
1
+//
2
+//  Persistence.swift
3
+//  Comedores Sociales
4
+//
5
+//  Created by Hector Carrion on 10/24/20.
6
+//
7
+
8
+import CoreData
9
+
10
+struct PersistenceController {
11
+    static let shared = PersistenceController()
12
+
13
+    static var preview: PersistenceController = {
14
+        let result = PersistenceController(inMemory: true)
15
+        let viewContext = result.container.viewContext
16
+        for _ in 0..<10 {
17
+            let newItem = Item(context: viewContext)
18
+            newItem.timestamp = Date()
19
+        }
20
+        do {
21
+            try viewContext.save()
22
+        } catch {
23
+            // Replace this implementation with code to handle the error appropriately.
24
+            // fatalError() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
25
+            let nsError = error as NSError
26
+            fatalError("Unresolved error \(nsError), \(nsError.userInfo)")
27
+        }
28
+        return result
29
+    }()
30
+
31
+    let container: NSPersistentCloudKitContainer
32
+
33
+    init(inMemory: Bool = false) {
34
+        container = NSPersistentCloudKitContainer(name: "Comedores_Sociales")
35
+        if inMemory {
36
+            container.persistentStoreDescriptions.first!.url = URL(fileURLWithPath: "/dev/null")
37
+        }
38
+        container.loadPersistentStores(completionHandler: { (storeDescription, error) in
39
+            if let error = error as NSError? {
40
+                // Replace this implementation with code to handle the error appropriately.
41
+                // fatalError() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
42
+
43
+                /*
44
+                Typical reasons for an error here include:
45
+                * The parent directory does not exist, cannot be created, or disallows writing.
46
+                * The persistent store is not accessible, due to permissions or data protection when the device is locked.
47
+                * The device is out of space.
48
+                * The store could not be migrated to the current model version.
49
+                Check the error message to determine what the actual problem was.
50
+                */
51
+                fatalError("Unresolved error \(error), \(error.userInfo)")
52
+            }
53
+        })
54
+    }
55
+}

+ 6
- 0
Comedores Sociales/Preview Content/Preview Assets.xcassets/Contents.json Dosyayı Görüntüle

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

+ 33
- 0
Comedores SocialesTests/Comedores_SocialesTests.swift Dosyayı Görüntüle

@@ -0,0 +1,33 @@
1
+//
2
+//  Comedores_SocialesTests.swift
3
+//  Comedores SocialesTests
4
+//
5
+//  Created by Hector Carrion on 10/24/20.
6
+//
7
+
8
+import XCTest
9
+@testable import Comedores_Sociales
10
+
11
+class Comedores_SocialesTests: XCTestCase {
12
+
13
+    override func setUpWithError() throws {
14
+        // Put setup code here. This method is called before the invocation of each test method in the class.
15
+    }
16
+
17
+    override func tearDownWithError() throws {
18
+        // Put teardown code here. This method is called after the invocation of each test method in the class.
19
+    }
20
+
21
+    func testExample() throws {
22
+        // This is an example of a functional test case.
23
+        // Use XCTAssert and related functions to verify your tests produce the correct results.
24
+    }
25
+
26
+    func testPerformanceExample() throws {
27
+        // This is an example of a performance test case.
28
+        self.measure {
29
+            // Put the code you want to measure the time of here.
30
+        }
31
+    }
32
+
33
+}

+ 22
- 0
Comedores SocialesTests/Info.plist Dosyayı Görüntüle

@@ -0,0 +1,22 @@
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
+</dict>
22
+</plist>

+ 42
- 0
Comedores SocialesUITests/Comedores_SocialesUITests.swift Dosyayı Görüntüle

@@ -0,0 +1,42 @@
1
+//
2
+//  Comedores_SocialesUITests.swift
3
+//  Comedores SocialesUITests
4
+//
5
+//  Created by Hector Carrion on 10/24/20.
6
+//
7
+
8
+import XCTest
9
+
10
+class Comedores_SocialesUITests: XCTestCase {
11
+
12
+    override func setUpWithError() throws {
13
+        // Put setup code here. This method is called before the invocation of each test method in the class.
14
+
15
+        // In UI tests it is usually best to stop immediately when a failure occurs.
16
+        continueAfterFailure = false
17
+
18
+        // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
19
+    }
20
+
21
+    override func tearDownWithError() throws {
22
+        // Put teardown code here. This method is called after the invocation of each test method in the class.
23
+    }
24
+
25
+    func testExample() throws {
26
+        // UI tests must launch the application that they test.
27
+        let app = XCUIApplication()
28
+        app.launch()
29
+
30
+        // Use recording to get started writing UI tests.
31
+        // Use XCTAssert and related functions to verify your tests produce the correct results.
32
+    }
33
+
34
+    func testLaunchPerformance() throws {
35
+        if #available(macOS 10.15, iOS 13.0, tvOS 13.0, *) {
36
+            // This measures how long it takes to launch your application.
37
+            measure(metrics: [XCTApplicationLaunchMetric()]) {
38
+                XCUIApplication().launch()
39
+            }
40
+        }
41
+    }
42
+}

+ 22
- 0
Comedores SocialesUITests/Info.plist Dosyayı Görüntüle

@@ -0,0 +1,22 @@
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
+</dict>
22
+</plist>