swift_lib_templater 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/CHANGELOG.md +3 -0
  4. data/Gemfile +4 -0
  5. data/Gemfile.lock +20 -0
  6. data/README.md +11 -0
  7. data/Rakefile +2 -0
  8. data/bin/console +14 -0
  9. data/bin/setup +8 -0
  10. data/exe/swift_lib_templater +4 -0
  11. data/lib/swift_lib_templater.rb +36 -0
  12. data/lib/swift_lib_templater/copy_template_command.rb +15 -0
  13. data/lib/swift_lib_templater/get_framework_name_command.rb +9 -0
  14. data/lib/swift_lib_templater/initialize_git_repository_command.rb +17 -0
  15. data/lib/swift_lib_templater/open_projet_command.rb +12 -0
  16. data/lib/swift_lib_templater/rename_files_command.rb +33 -0
  17. data/lib/swift_lib_templater/version.rb +3 -0
  18. data/lib/templates/framework/.gitignore +67 -0
  19. data/lib/templates/framework/.travis.yml +31 -0
  20. data/lib/templates/framework/CHANGELOG.md +0 -0
  21. data/lib/templates/framework/LICENSE +23 -0
  22. data/lib/templates/framework/README.md +29 -0
  23. data/lib/templates/framework/Source/Classes/EmptyFile.swift +7 -0
  24. data/lib/templates/framework/Source/Info.plist +22 -0
  25. data/lib/templates/framework/Source/TEMPLATE.h +19 -0
  26. data/lib/templates/framework/TEMPLATE.podspec +24 -0
  27. data/lib/templates/framework/TEMPLATE.xcodeproj/project.pbxproj +474 -0
  28. data/lib/templates/framework/TEMPLATE.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  29. data/lib/templates/framework/TEMPLATE.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  30. data/lib/templates/framework/TEMPLATE.xcworkspace/contents.xcworkspacedata +10 -0
  31. data/lib/templates/framework/TEMPLATE.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  32. data/lib/templates/framework/TEMPLATE_Example/TEMPLATE_Example.xcodeproj/project.pbxproj +370 -0
  33. data/lib/templates/framework/TEMPLATE_Example/TEMPLATE_Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  34. data/lib/templates/framework/TEMPLATE_Example/TEMPLATE_Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  35. data/lib/templates/framework/TEMPLATE_Example/TEMPLATE_Example/Classes/AppDelegate.swift +22 -0
  36. data/lib/templates/framework/TEMPLATE_Example/TEMPLATE_Example/Classes/ViewController.swift +20 -0
  37. data/lib/templates/framework/TEMPLATE_Example/TEMPLATE_Example/Configuration/Info.plist +45 -0
  38. data/lib/templates/framework/TEMPLATE_Example/TEMPLATE_Example/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json +98 -0
  39. data/lib/templates/framework/TEMPLATE_Example/TEMPLATE_Example/Resources/Assets.xcassets/Contents.json +6 -0
  40. data/lib/templates/framework/TEMPLATE_Example/TEMPLATE_Example/Resources/Base.lproj/LaunchScreen.storyboard +29 -0
  41. data/lib/templates/framework/Tests/Info.plist +22 -0
  42. data/lib/templates/framework/Tests/TEMPLATETests.swift +33 -0
  43. data/swift_lib_templater.gemspec +39 -0
  44. metadata +118 -0
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:TEMPLATE.xcodeproj">
6
+ </FileRef>
7
+ </Workspace>
@@ -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>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "group:TEMPLATE.xcodeproj">
6
+ </FileRef>
7
+ <FileRef
8
+ location = "group:TEMPLATE_Example/TEMPLATE_Example.xcodeproj">
9
+ </FileRef>
10
+ </Workspace>
@@ -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>
@@ -0,0 +1,370 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 50;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ E742E3C622302B4B002A2BED /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E742E3C422302B4B002A2BED /* AppDelegate.swift */; };
11
+ E742E3C922302B76002A2BED /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E742E3C822302B76002A2BED /* ViewController.swift */; };
12
+ E7691574222EA78B00FDEE7F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E7691573222EA78B00FDEE7F /* Assets.xcassets */; };
13
+ E7691577222EA78B00FDEE7F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E7691575222EA78B00FDEE7F /* LaunchScreen.storyboard */; };
14
+ /* End PBXBuildFile section */
15
+
16
+ /* Begin PBXFileReference section */
17
+ E742E3C422302B4B002A2BED /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = Classes/AppDelegate.swift; sourceTree = "<group>"; };
18
+ E742E3C822302B76002A2BED /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = ViewController.swift; path = Classes/ViewController.swift; sourceTree = "<group>"; };
19
+ E7691569222EA78A00FDEE7F /* TEMPLATE_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TEMPLATE_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
20
+ E7691573222EA78B00FDEE7F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
21
+ E7691576222EA78B00FDEE7F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
22
+ E7691578222EA78B00FDEE7F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
23
+ /* End PBXFileReference section */
24
+
25
+ /* Begin PBXFrameworksBuildPhase section */
26
+ E7691566222EA78A00FDEE7F /* Frameworks */ = {
27
+ isa = PBXFrameworksBuildPhase;
28
+ buildActionMask = 2147483647;
29
+ files = (
30
+ );
31
+ runOnlyForDeploymentPostprocessing = 0;
32
+ };
33
+ /* End PBXFrameworksBuildPhase section */
34
+
35
+ /* Begin PBXGroup section */
36
+ E742E3C1223029BF002A2BED /* Controller */ = {
37
+ isa = PBXGroup;
38
+ children = (
39
+ E742E3C822302B76002A2BED /* ViewController.swift */,
40
+ );
41
+ name = Controller;
42
+ sourceTree = "<group>";
43
+ };
44
+ E742E3C2223029CE002A2BED /* View */ = {
45
+ isa = PBXGroup;
46
+ children = (
47
+ );
48
+ name = View;
49
+ sourceTree = "<group>";
50
+ };
51
+ E742E3C3223029D8002A2BED /* Model */ = {
52
+ isa = PBXGroup;
53
+ children = (
54
+ );
55
+ name = Model;
56
+ sourceTree = "<group>";
57
+ };
58
+ E7691560222EA78A00FDEE7F = {
59
+ isa = PBXGroup;
60
+ children = (
61
+ E769156B222EA78A00FDEE7F /* TEMPLATE_Example */,
62
+ E769156A222EA78A00FDEE7F /* Products */,
63
+ );
64
+ sourceTree = "<group>";
65
+ };
66
+ E769156A222EA78A00FDEE7F /* Products */ = {
67
+ isa = PBXGroup;
68
+ children = (
69
+ E7691569222EA78A00FDEE7F /* TEMPLATE_Example.app */,
70
+ );
71
+ name = Products;
72
+ sourceTree = "<group>";
73
+ };
74
+ E769156B222EA78A00FDEE7F /* TEMPLATE_Example */ = {
75
+ isa = PBXGroup;
76
+ children = (
77
+ E742E3C422302B4B002A2BED /* AppDelegate.swift */,
78
+ E742E3C3223029D8002A2BED /* Model */,
79
+ E742E3C2223029CE002A2BED /* View */,
80
+ E742E3C1223029BF002A2BED /* Controller */,
81
+ E7691582222EA7C100FDEE7F /* Resources */,
82
+ E7691581222EA7B400FDEE7F /* Configuration */,
83
+ );
84
+ path = TEMPLATE_Example;
85
+ sourceTree = "<group>";
86
+ };
87
+ E7691581222EA7B400FDEE7F /* Configuration */ = {
88
+ isa = PBXGroup;
89
+ children = (
90
+ E7691578222EA78B00FDEE7F /* Info.plist */,
91
+ );
92
+ path = Configuration;
93
+ sourceTree = "<group>";
94
+ };
95
+ E7691582222EA7C100FDEE7F /* Resources */ = {
96
+ isa = PBXGroup;
97
+ children = (
98
+ E7691575222EA78B00FDEE7F /* LaunchScreen.storyboard */,
99
+ E7691573222EA78B00FDEE7F /* Assets.xcassets */,
100
+ );
101
+ path = Resources;
102
+ sourceTree = "<group>";
103
+ };
104
+ /* End PBXGroup section */
105
+
106
+ /* Begin PBXNativeTarget section */
107
+ E7691568222EA78A00FDEE7F /* TEMPLATE_Example */ = {
108
+ isa = PBXNativeTarget;
109
+ buildConfigurationList = E769157B222EA78B00FDEE7F /* Build configuration list for PBXNativeTarget "TEMPLATE_Example" */;
110
+ buildPhases = (
111
+ E7691565222EA78A00FDEE7F /* Sources */,
112
+ E7691566222EA78A00FDEE7F /* Frameworks */,
113
+ E7691567222EA78A00FDEE7F /* Resources */,
114
+ );
115
+ buildRules = (
116
+ );
117
+ dependencies = (
118
+ );
119
+ name = TEMPLATE_Example;
120
+ productName = TEMPLATE_Example;
121
+ productReference = E7691569222EA78A00FDEE7F /* TEMPLATE_Example.app */;
122
+ productType = "com.apple.product-type.application";
123
+ };
124
+ /* End PBXNativeTarget section */
125
+
126
+ /* Begin PBXProject section */
127
+ E7691561222EA78A00FDEE7F /* Project object */ = {
128
+ isa = PBXProject;
129
+ attributes = {
130
+ LastSwiftUpdateCheck = 1010;
131
+ LastUpgradeCheck = 1010;
132
+ ORGANIZATIONNAME = Fabernovel;
133
+ TargetAttributes = {
134
+ E7691568222EA78A00FDEE7F = {
135
+ CreatedOnToolsVersion = 10.1;
136
+ };
137
+ };
138
+ };
139
+ buildConfigurationList = E7691564222EA78A00FDEE7F /* Build configuration list for PBXProject "TEMPLATE_Example" */;
140
+ compatibilityVersion = "Xcode 9.3";
141
+ developmentRegion = en;
142
+ hasScannedForEncodings = 0;
143
+ knownRegions = (
144
+ en,
145
+ Base,
146
+ );
147
+ mainGroup = E7691560222EA78A00FDEE7F;
148
+ productRefGroup = E769156A222EA78A00FDEE7F /* Products */;
149
+ projectDirPath = "";
150
+ projectRoot = "";
151
+ targets = (
152
+ E7691568222EA78A00FDEE7F /* TEMPLATE_Example */,
153
+ );
154
+ };
155
+ /* End PBXProject section */
156
+
157
+ /* Begin PBXResourcesBuildPhase section */
158
+ E7691567222EA78A00FDEE7F /* Resources */ = {
159
+ isa = PBXResourcesBuildPhase;
160
+ buildActionMask = 2147483647;
161
+ files = (
162
+ E7691577222EA78B00FDEE7F /* LaunchScreen.storyboard in Resources */,
163
+ E7691574222EA78B00FDEE7F /* Assets.xcassets in Resources */,
164
+ );
165
+ runOnlyForDeploymentPostprocessing = 0;
166
+ };
167
+ /* End PBXResourcesBuildPhase section */
168
+
169
+ /* Begin PBXSourcesBuildPhase section */
170
+ E7691565222EA78A00FDEE7F /* Sources */ = {
171
+ isa = PBXSourcesBuildPhase;
172
+ buildActionMask = 2147483647;
173
+ files = (
174
+ E742E3C922302B76002A2BED /* ViewController.swift in Sources */,
175
+ E742E3C622302B4B002A2BED /* AppDelegate.swift in Sources */,
176
+ );
177
+ runOnlyForDeploymentPostprocessing = 0;
178
+ };
179
+ /* End PBXSourcesBuildPhase section */
180
+
181
+ /* Begin PBXVariantGroup section */
182
+ E7691575222EA78B00FDEE7F /* LaunchScreen.storyboard */ = {
183
+ isa = PBXVariantGroup;
184
+ children = (
185
+ E7691576222EA78B00FDEE7F /* Base */,
186
+ );
187
+ name = LaunchScreen.storyboard;
188
+ sourceTree = "<group>";
189
+ };
190
+ /* End PBXVariantGroup section */
191
+
192
+ /* Begin XCBuildConfiguration section */
193
+ E7691579222EA78B00FDEE7F /* Debug */ = {
194
+ isa = XCBuildConfiguration;
195
+ buildSettings = {
196
+ ALWAYS_SEARCH_USER_PATHS = NO;
197
+ CLANG_ANALYZER_NONNULL = YES;
198
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
199
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
200
+ CLANG_CXX_LIBRARY = "libc++";
201
+ CLANG_ENABLE_MODULES = YES;
202
+ CLANG_ENABLE_OBJC_ARC = YES;
203
+ CLANG_ENABLE_OBJC_WEAK = YES;
204
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
205
+ CLANG_WARN_BOOL_CONVERSION = YES;
206
+ CLANG_WARN_COMMA = YES;
207
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
208
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
209
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
210
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
211
+ CLANG_WARN_EMPTY_BODY = YES;
212
+ CLANG_WARN_ENUM_CONVERSION = YES;
213
+ CLANG_WARN_INFINITE_RECURSION = YES;
214
+ CLANG_WARN_INT_CONVERSION = YES;
215
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
216
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
217
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
218
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
219
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
220
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
221
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
222
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
223
+ CLANG_WARN_UNREACHABLE_CODE = YES;
224
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
225
+ CODE_SIGN_IDENTITY = "iPhone Developer";
226
+ COPY_PHASE_STRIP = NO;
227
+ DEBUG_INFORMATION_FORMAT = dwarf;
228
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
229
+ ENABLE_TESTABILITY = YES;
230
+ GCC_C_LANGUAGE_STANDARD = gnu11;
231
+ GCC_DYNAMIC_NO_PIC = NO;
232
+ GCC_NO_COMMON_BLOCKS = YES;
233
+ GCC_OPTIMIZATION_LEVEL = 0;
234
+ GCC_PREPROCESSOR_DEFINITIONS = (
235
+ "DEBUG=1",
236
+ "$(inherited)",
237
+ );
238
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
239
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
240
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
241
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
242
+ GCC_WARN_UNUSED_FUNCTION = YES;
243
+ GCC_WARN_UNUSED_VARIABLE = YES;
244
+ IPHONEOS_DEPLOYMENT_TARGET = 12.1;
245
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
246
+ MTL_FAST_MATH = YES;
247
+ ONLY_ACTIVE_ARCH = YES;
248
+ SDKROOT = iphoneos;
249
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
250
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
251
+ };
252
+ name = Debug;
253
+ };
254
+ E769157A222EA78B00FDEE7F /* Release */ = {
255
+ isa = XCBuildConfiguration;
256
+ buildSettings = {
257
+ ALWAYS_SEARCH_USER_PATHS = NO;
258
+ CLANG_ANALYZER_NONNULL = YES;
259
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
260
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
261
+ CLANG_CXX_LIBRARY = "libc++";
262
+ CLANG_ENABLE_MODULES = YES;
263
+ CLANG_ENABLE_OBJC_ARC = YES;
264
+ CLANG_ENABLE_OBJC_WEAK = YES;
265
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
266
+ CLANG_WARN_BOOL_CONVERSION = YES;
267
+ CLANG_WARN_COMMA = YES;
268
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
269
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
270
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
271
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
272
+ CLANG_WARN_EMPTY_BODY = YES;
273
+ CLANG_WARN_ENUM_CONVERSION = YES;
274
+ CLANG_WARN_INFINITE_RECURSION = YES;
275
+ CLANG_WARN_INT_CONVERSION = YES;
276
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
277
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
278
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
279
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
280
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
281
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
282
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
283
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
284
+ CLANG_WARN_UNREACHABLE_CODE = YES;
285
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
286
+ CODE_SIGN_IDENTITY = "iPhone Developer";
287
+ COPY_PHASE_STRIP = NO;
288
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
289
+ ENABLE_NS_ASSERTIONS = NO;
290
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
291
+ GCC_C_LANGUAGE_STANDARD = gnu11;
292
+ GCC_NO_COMMON_BLOCKS = YES;
293
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
294
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
295
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
296
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
297
+ GCC_WARN_UNUSED_FUNCTION = YES;
298
+ GCC_WARN_UNUSED_VARIABLE = YES;
299
+ IPHONEOS_DEPLOYMENT_TARGET = 12.1;
300
+ MTL_ENABLE_DEBUG_INFO = NO;
301
+ MTL_FAST_MATH = YES;
302
+ SDKROOT = iphoneos;
303
+ SWIFT_COMPILATION_MODE = wholemodule;
304
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
305
+ VALIDATE_PRODUCT = YES;
306
+ };
307
+ name = Release;
308
+ };
309
+ E769157C222EA78B00FDEE7F /* Debug */ = {
310
+ isa = XCBuildConfiguration;
311
+ buildSettings = {
312
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
313
+ CLANG_ENABLE_MODULES = YES;
314
+ CODE_SIGN_STYLE = Automatic;
315
+ INFOPLIST_FILE = TEMPLATE_Example/Configuration/Info.plist;
316
+ LD_RUNPATH_SEARCH_PATHS = (
317
+ "$(inherited)",
318
+ "@executable_path/Frameworks",
319
+ );
320
+ PRODUCT_BUNDLE_IDENTIFIER = "com.fabernovel.TEMPLATE-Example";
321
+ PRODUCT_NAME = "$(TARGET_NAME)";
322
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
323
+ SWIFT_VERSION = 4.2;
324
+ TARGETED_DEVICE_FAMILY = "1,2";
325
+ };
326
+ name = Debug;
327
+ };
328
+ E769157D222EA78B00FDEE7F /* Release */ = {
329
+ isa = XCBuildConfiguration;
330
+ buildSettings = {
331
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
332
+ CLANG_ENABLE_MODULES = YES;
333
+ CODE_SIGN_STYLE = Automatic;
334
+ INFOPLIST_FILE = TEMPLATE_Example/Configuration/Info.plist;
335
+ LD_RUNPATH_SEARCH_PATHS = (
336
+ "$(inherited)",
337
+ "@executable_path/Frameworks",
338
+ );
339
+ PRODUCT_BUNDLE_IDENTIFIER = "com.fabernovel.TEMPLATE-Example";
340
+ PRODUCT_NAME = "$(TARGET_NAME)";
341
+ SWIFT_VERSION = 4.2;
342
+ TARGETED_DEVICE_FAMILY = "1,2";
343
+ };
344
+ name = Release;
345
+ };
346
+ /* End XCBuildConfiguration section */
347
+
348
+ /* Begin XCConfigurationList section */
349
+ E7691564222EA78A00FDEE7F /* Build configuration list for PBXProject "TEMPLATE_Example" */ = {
350
+ isa = XCConfigurationList;
351
+ buildConfigurations = (
352
+ E7691579222EA78B00FDEE7F /* Debug */,
353
+ E769157A222EA78B00FDEE7F /* Release */,
354
+ );
355
+ defaultConfigurationIsVisible = 0;
356
+ defaultConfigurationName = Release;
357
+ };
358
+ E769157B222EA78B00FDEE7F /* Build configuration list for PBXNativeTarget "TEMPLATE_Example" */ = {
359
+ isa = XCConfigurationList;
360
+ buildConfigurations = (
361
+ E769157C222EA78B00FDEE7F /* Debug */,
362
+ E769157D222EA78B00FDEE7F /* Release */,
363
+ );
364
+ defaultConfigurationIsVisible = 0;
365
+ defaultConfigurationName = Release;
366
+ };
367
+ /* End XCConfigurationList section */
368
+ };
369
+ rootObject = E7691561222EA78A00FDEE7F /* Project object */;
370
+ }
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:TEMPLATE_Example.xcodeproj">
6
+ </FileRef>
7
+ </Workspace>
@@ -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>
@@ -0,0 +1,22 @@
1
+ //
2
+ // AppDelegate.swift
3
+ // TEMPLATE_Example
4
+ //
5
+ // Created by Gaétan Zanella on 05/03/2019.
6
+ // Copyright © 2019 Fabernovel. All rights reserved.
7
+ //
8
+
9
+ import UIKit
10
+
11
+ @UIApplicationMain
12
+ class AppDelegate: UIResponder, UIApplicationDelegate {
13
+
14
+ var window: UIWindow?
15
+
16
+ func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
17
+ window = UIWindow(frame: UIScreen.main.bounds)
18
+ window?.rootViewController = ViewController()
19
+ window?.makeKeyAndVisible()
20
+ return true
21
+ }
22
+ }