Skip to content

Commit 9310ad8

Browse files
authored
Merge pull request #72 from swift-server/move-samples
move samples into a subdirectory
2 parents 1d96372 + e97f05e commit 9310ad8

File tree

42 files changed

+1886
-7
lines changed

Some content is hidden

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

42 files changed

+1886
-7
lines changed

.gitignore

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
.DS_Store
2-
/.build
3-
/Packages
4-
/*.xcodeproj
5-
Package.pins
2+
*.build
3+
/.xcodeproj
64
*.pem
7-
/docs
8-
Package.resolved
95
.podspecs
106
.swiftpm
117
.swift-version
8+
xcuserdata
9+
Package.resolved

Examples/EndToEndDebugging/EndToEndExample.xcworkspace/contents.xcworkspacedata

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>PreviewsEnabled</key>
6+
<false/>
7+
</dict>
8+
</plist>
Lines changed: 345 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,345 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 50;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
F7B6C1FE246121E800607A89 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7B6C1FD246121E800607A89 /* AppDelegate.swift */; };
11+
F7B6C200246121E800607A89 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7B6C1FF246121E800607A89 /* SceneDelegate.swift */; };
12+
F7B6C202246121E800607A89 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7B6C201246121E800607A89 /* ContentView.swift */; };
13+
F7B6C204246121E900607A89 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F7B6C203246121E900607A89 /* Assets.xcassets */; };
14+
F7B6C207246121E900607A89 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F7B6C206246121E900607A89 /* Preview Assets.xcassets */; };
15+
F7B6C20A246121E900607A89 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F7B6C208246121E900607A89 /* LaunchScreen.storyboard */; };
16+
/* End PBXBuildFile section */
17+
18+
/* Begin PBXFileReference section */
19+
F7B6C1FA246121E800607A89 /* MyApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MyApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
20+
F7B6C1FD246121E800607A89 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
21+
F7B6C1FF246121E800607A89 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
22+
F7B6C201246121E800607A89 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
23+
F7B6C203246121E900607A89 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
24+
F7B6C206246121E900607A89 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
25+
F7B6C209246121E900607A89 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
26+
F7B6C20B246121E900607A89 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
27+
/* End PBXFileReference section */
28+
29+
/* Begin PBXFrameworksBuildPhase section */
30+
F7B6C1F7246121E800607A89 /* Frameworks */ = {
31+
isa = PBXFrameworksBuildPhase;
32+
buildActionMask = 2147483647;
33+
files = (
34+
);
35+
runOnlyForDeploymentPostprocessing = 0;
36+
};
37+
/* End PBXFrameworksBuildPhase section */
38+
39+
/* Begin PBXGroup section */
40+
F7B6C1F1246121E800607A89 = {
41+
isa = PBXGroup;
42+
children = (
43+
F7B6C1FC246121E800607A89 /* MyApp */,
44+
F7B6C1FB246121E800607A89 /* Products */,
45+
);
46+
sourceTree = "<group>";
47+
};
48+
F7B6C1FB246121E800607A89 /* Products */ = {
49+
isa = PBXGroup;
50+
children = (
51+
F7B6C1FA246121E800607A89 /* MyApp.app */,
52+
);
53+
name = Products;
54+
sourceTree = "<group>";
55+
};
56+
F7B6C1FC246121E800607A89 /* MyApp */ = {
57+
isa = PBXGroup;
58+
children = (
59+
F7B6C1FD246121E800607A89 /* AppDelegate.swift */,
60+
F7B6C1FF246121E800607A89 /* SceneDelegate.swift */,
61+
F7B6C201246121E800607A89 /* ContentView.swift */,
62+
F7B6C203246121E900607A89 /* Assets.xcassets */,
63+
F7B6C208246121E900607A89 /* LaunchScreen.storyboard */,
64+
F7B6C20B246121E900607A89 /* Info.plist */,
65+
F7B6C205246121E900607A89 /* Preview Content */,
66+
);
67+
path = MyApp;
68+
sourceTree = "<group>";
69+
};
70+
F7B6C205246121E900607A89 /* Preview Content */ = {
71+
isa = PBXGroup;
72+
children = (
73+
F7B6C206246121E900607A89 /* Preview Assets.xcassets */,
74+
);
75+
path = "Preview Content";
76+
sourceTree = "<group>";
77+
};
78+
/* End PBXGroup section */
79+
80+
/* Begin PBXNativeTarget section */
81+
F7B6C1F9246121E800607A89 /* MyApp */ = {
82+
isa = PBXNativeTarget;
83+
buildConfigurationList = F7B6C20E246121E900607A89 /* Build configuration list for PBXNativeTarget "MyApp" */;
84+
buildPhases = (
85+
F7B6C1F6246121E800607A89 /* Sources */,
86+
F7B6C1F7246121E800607A89 /* Frameworks */,
87+
F7B6C1F8246121E800607A89 /* Resources */,
88+
);
89+
buildRules = (
90+
);
91+
dependencies = (
92+
);
93+
name = MyApp;
94+
productName = MyApp;
95+
productReference = F7B6C1FA246121E800607A89 /* MyApp.app */;
96+
productType = "com.apple.product-type.application";
97+
};
98+
/* End PBXNativeTarget section */
99+
100+
/* Begin PBXProject section */
101+
F7B6C1F2246121E800607A89 /* Project object */ = {
102+
isa = PBXProject;
103+
attributes = {
104+
LastSwiftUpdateCheck = 1140;
105+
LastUpgradeCheck = 1140;
106+
ORGANIZATIONNAME = "Tom Doron";
107+
TargetAttributes = {
108+
F7B6C1F9246121E800607A89 = {
109+
CreatedOnToolsVersion = 11.4.1;
110+
};
111+
};
112+
};
113+
buildConfigurationList = F7B6C1F5246121E800607A89 /* Build configuration list for PBXProject "MyApp" */;
114+
compatibilityVersion = "Xcode 9.3";
115+
developmentRegion = en;
116+
hasScannedForEncodings = 0;
117+
knownRegions = (
118+
en,
119+
Base,
120+
);
121+
mainGroup = F7B6C1F1246121E800607A89;
122+
productRefGroup = F7B6C1FB246121E800607A89 /* Products */;
123+
projectDirPath = "";
124+
projectRoot = "";
125+
targets = (
126+
F7B6C1F9246121E800607A89 /* MyApp */,
127+
);
128+
};
129+
/* End PBXProject section */
130+
131+
/* Begin PBXResourcesBuildPhase section */
132+
F7B6C1F8246121E800607A89 /* Resources */ = {
133+
isa = PBXResourcesBuildPhase;
134+
buildActionMask = 2147483647;
135+
files = (
136+
F7B6C20A246121E900607A89 /* LaunchScreen.storyboard in Resources */,
137+
F7B6C207246121E900607A89 /* Preview Assets.xcassets in Resources */,
138+
F7B6C204246121E900607A89 /* Assets.xcassets in Resources */,
139+
);
140+
runOnlyForDeploymentPostprocessing = 0;
141+
};
142+
/* End PBXResourcesBuildPhase section */
143+
144+
/* Begin PBXSourcesBuildPhase section */
145+
F7B6C1F6246121E800607A89 /* Sources */ = {
146+
isa = PBXSourcesBuildPhase;
147+
buildActionMask = 2147483647;
148+
files = (
149+
F7B6C1FE246121E800607A89 /* AppDelegate.swift in Sources */,
150+
F7B6C200246121E800607A89 /* SceneDelegate.swift in Sources */,
151+
F7B6C202246121E800607A89 /* ContentView.swift in Sources */,
152+
);
153+
runOnlyForDeploymentPostprocessing = 0;
154+
};
155+
/* End PBXSourcesBuildPhase section */
156+
157+
/* Begin PBXVariantGroup section */
158+
F7B6C208246121E900607A89 /* LaunchScreen.storyboard */ = {
159+
isa = PBXVariantGroup;
160+
children = (
161+
F7B6C209246121E900607A89 /* Base */,
162+
);
163+
name = LaunchScreen.storyboard;
164+
sourceTree = "<group>";
165+
};
166+
/* End PBXVariantGroup section */
167+
168+
/* Begin XCBuildConfiguration section */
169+
F7B6C20C246121E900607A89 /* 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.4;
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+
F7B6C20D246121E900607A89 /* 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.4;
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+
F7B6C20F246121E900607A89 /* Debug */ = {
284+
isa = XCBuildConfiguration;
285+
buildSettings = {
286+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
287+
CODE_SIGN_STYLE = Automatic;
288+
DEVELOPMENT_ASSET_PATHS = "\"MyApp/Preview Content\"";
289+
ENABLE_PREVIEWS = YES;
290+
INFOPLIST_FILE = MyApp/Info.plist;
291+
LD_RUNPATH_SEARCH_PATHS = (
292+
"$(inherited)",
293+
"@executable_path/Frameworks",
294+
);
295+
PRODUCT_BUNDLE_IDENTIFIER = com.apple.swift.MyApp;
296+
PRODUCT_NAME = "$(TARGET_NAME)";
297+
SWIFT_VERSION = 5.0;
298+
TARGETED_DEVICE_FAMILY = "1,2";
299+
};
300+
name = Debug;
301+
};
302+
F7B6C210246121E900607A89 /* Release */ = {
303+
isa = XCBuildConfiguration;
304+
buildSettings = {
305+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
306+
CODE_SIGN_STYLE = Automatic;
307+
DEVELOPMENT_ASSET_PATHS = "\"MyApp/Preview Content\"";
308+
ENABLE_PREVIEWS = YES;
309+
INFOPLIST_FILE = MyApp/Info.plist;
310+
LD_RUNPATH_SEARCH_PATHS = (
311+
"$(inherited)",
312+
"@executable_path/Frameworks",
313+
);
314+
PRODUCT_BUNDLE_IDENTIFIER = com.apple.swift.MyApp;
315+
PRODUCT_NAME = "$(TARGET_NAME)";
316+
SWIFT_VERSION = 5.0;
317+
TARGETED_DEVICE_FAMILY = "1,2";
318+
};
319+
name = Release;
320+
};
321+
/* End XCBuildConfiguration section */
322+
323+
/* Begin XCConfigurationList section */
324+
F7B6C1F5246121E800607A89 /* Build configuration list for PBXProject "MyApp" */ = {
325+
isa = XCConfigurationList;
326+
buildConfigurations = (
327+
F7B6C20C246121E900607A89 /* Debug */,
328+
F7B6C20D246121E900607A89 /* Release */,
329+
);
330+
defaultConfigurationIsVisible = 0;
331+
defaultConfigurationName = Release;
332+
};
333+
F7B6C20E246121E900607A89 /* Build configuration list for PBXNativeTarget "MyApp" */ = {
334+
isa = XCConfigurationList;
335+
buildConfigurations = (
336+
F7B6C20F246121E900607A89 /* Debug */,
337+
F7B6C210246121E900607A89 /* Release */,
338+
);
339+
defaultConfigurationIsVisible = 0;
340+
defaultConfigurationName = Release;
341+
};
342+
/* End XCConfigurationList section */
343+
};
344+
rootObject = F7B6C1F2246121E800607A89 /* Project object */;
345+
}

0 commit comments

Comments
 (0)