Skip to content
This repository was archived by the owner on May 18, 2021. It is now read-only.

Commit b014230

Browse files
committed
add snapkit demo
1 parent e493957 commit b014230

File tree

70 files changed

+5158
-0
lines changed

Some content is hidden

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

70 files changed

+5158
-0
lines changed
Lines changed: 382 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,382 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
3AAFC4751E10F0E5001885E5 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3AAFC4741E10F0E5001885E5 /* AppDelegate.swift */; };
11+
3AAFC4771E10F0E5001885E5 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3AAFC4761E10F0E5001885E5 /* ViewController.swift */; };
12+
3AAFC47A1E10F0E5001885E5 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3AAFC4781E10F0E5001885E5 /* Main.storyboard */; };
13+
3AAFC47C1E10F0E5001885E5 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3AAFC47B1E10F0E5001885E5 /* Assets.xcassets */; };
14+
3AAFC47F1E10F0E5001885E5 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 3AAFC47D1E10F0E5001885E5 /* LaunchScreen.storyboard */; };
15+
987B4D27DEDC54A69A5CA6C8 /* Pods_Demo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DAA12249C2268C2FABD0D23F /* Pods_Demo.framework */; };
16+
/* End PBXBuildFile section */
17+
18+
/* Begin PBXFileReference section */
19+
0435A211F965EFB912F97EF4 /* Pods-Demo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Demo.release.xcconfig"; path = "Pods/Target Support Files/Pods-Demo/Pods-Demo.release.xcconfig"; sourceTree = "<group>"; };
20+
203E2AD5416F66E949B03023 /* Pods-Demo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Demo.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Demo/Pods-Demo.debug.xcconfig"; sourceTree = "<group>"; };
21+
3AAFC4711E10F0E5001885E5 /* Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Demo.app; sourceTree = BUILT_PRODUCTS_DIR; };
22+
3AAFC4741E10F0E5001885E5 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
23+
3AAFC4761E10F0E5001885E5 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
24+
3AAFC4791E10F0E5001885E5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
25+
3AAFC47B1E10F0E5001885E5 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
26+
3AAFC47E1E10F0E5001885E5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
27+
3AAFC4801E10F0E5001885E5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
28+
DAA12249C2268C2FABD0D23F /* Pods_Demo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Demo.framework; sourceTree = BUILT_PRODUCTS_DIR; };
29+
/* End PBXFileReference section */
30+
31+
/* Begin PBXFrameworksBuildPhase section */
32+
3AAFC46E1E10F0E5001885E5 /* Frameworks */ = {
33+
isa = PBXFrameworksBuildPhase;
34+
buildActionMask = 2147483647;
35+
files = (
36+
987B4D27DEDC54A69A5CA6C8 /* Pods_Demo.framework in Frameworks */,
37+
);
38+
runOnlyForDeploymentPostprocessing = 0;
39+
};
40+
/* End PBXFrameworksBuildPhase section */
41+
42+
/* Begin PBXGroup section */
43+
3AAFC4681E10F0E5001885E5 = {
44+
isa = PBXGroup;
45+
children = (
46+
3AAFC4731E10F0E5001885E5 /* Demo */,
47+
3AAFC4721E10F0E5001885E5 /* Products */,
48+
BAB217514EF72C0D41577E78 /* Pods */,
49+
F31D0A40918347EDC378D13F /* Frameworks */,
50+
);
51+
sourceTree = "<group>";
52+
};
53+
3AAFC4721E10F0E5001885E5 /* Products */ = {
54+
isa = PBXGroup;
55+
children = (
56+
3AAFC4711E10F0E5001885E5 /* Demo.app */,
57+
);
58+
name = Products;
59+
sourceTree = "<group>";
60+
};
61+
3AAFC4731E10F0E5001885E5 /* Demo */ = {
62+
isa = PBXGroup;
63+
children = (
64+
3AAFC4741E10F0E5001885E5 /* AppDelegate.swift */,
65+
3AAFC4761E10F0E5001885E5 /* ViewController.swift */,
66+
3AAFC4781E10F0E5001885E5 /* Main.storyboard */,
67+
3AAFC47B1E10F0E5001885E5 /* Assets.xcassets */,
68+
3AAFC47D1E10F0E5001885E5 /* LaunchScreen.storyboard */,
69+
3AAFC4801E10F0E5001885E5 /* Info.plist */,
70+
);
71+
path = Demo;
72+
sourceTree = "<group>";
73+
};
74+
BAB217514EF72C0D41577E78 /* Pods */ = {
75+
isa = PBXGroup;
76+
children = (
77+
203E2AD5416F66E949B03023 /* Pods-Demo.debug.xcconfig */,
78+
0435A211F965EFB912F97EF4 /* Pods-Demo.release.xcconfig */,
79+
);
80+
name = Pods;
81+
sourceTree = "<group>";
82+
};
83+
F31D0A40918347EDC378D13F /* Frameworks */ = {
84+
isa = PBXGroup;
85+
children = (
86+
DAA12249C2268C2FABD0D23F /* Pods_Demo.framework */,
87+
);
88+
name = Frameworks;
89+
sourceTree = "<group>";
90+
};
91+
/* End PBXGroup section */
92+
93+
/* Begin PBXNativeTarget section */
94+
3AAFC4701E10F0E5001885E5 /* Demo */ = {
95+
isa = PBXNativeTarget;
96+
buildConfigurationList = 3AAFC4831E10F0E5001885E5 /* Build configuration list for PBXNativeTarget "Demo" */;
97+
buildPhases = (
98+
838583306B793AEA13217DB4 /* [CP] Check Pods Manifest.lock */,
99+
3AAFC46D1E10F0E5001885E5 /* Sources */,
100+
3AAFC46E1E10F0E5001885E5 /* Frameworks */,
101+
3AAFC46F1E10F0E5001885E5 /* Resources */,
102+
2F9393232F1284272A950091 /* [CP] Embed Pods Frameworks */,
103+
4955A8BA09FABF1FF0ED8B9B /* [CP] Copy Pods Resources */,
104+
);
105+
buildRules = (
106+
);
107+
dependencies = (
108+
);
109+
name = Demo;
110+
productName = Demo;
111+
productReference = 3AAFC4711E10F0E5001885E5 /* Demo.app */;
112+
productType = "com.apple.product-type.application";
113+
};
114+
/* End PBXNativeTarget section */
115+
116+
/* Begin PBXProject section */
117+
3AAFC4691E10F0E5001885E5 /* Project object */ = {
118+
isa = PBXProject;
119+
attributes = {
120+
LastSwiftUpdateCheck = 0820;
121+
LastUpgradeCheck = 0820;
122+
ORGANIZATIONNAME = "卓同学";
123+
TargetAttributes = {
124+
3AAFC4701E10F0E5001885E5 = {
125+
CreatedOnToolsVersion = 8.2.1;
126+
ProvisioningStyle = Automatic;
127+
};
128+
};
129+
};
130+
buildConfigurationList = 3AAFC46C1E10F0E5001885E5 /* Build configuration list for PBXProject "Demo" */;
131+
compatibilityVersion = "Xcode 3.2";
132+
developmentRegion = English;
133+
hasScannedForEncodings = 0;
134+
knownRegions = (
135+
en,
136+
Base,
137+
);
138+
mainGroup = 3AAFC4681E10F0E5001885E5;
139+
productRefGroup = 3AAFC4721E10F0E5001885E5 /* Products */;
140+
projectDirPath = "";
141+
projectRoot = "";
142+
targets = (
143+
3AAFC4701E10F0E5001885E5 /* Demo */,
144+
);
145+
};
146+
/* End PBXProject section */
147+
148+
/* Begin PBXResourcesBuildPhase section */
149+
3AAFC46F1E10F0E5001885E5 /* Resources */ = {
150+
isa = PBXResourcesBuildPhase;
151+
buildActionMask = 2147483647;
152+
files = (
153+
3AAFC47F1E10F0E5001885E5 /* LaunchScreen.storyboard in Resources */,
154+
3AAFC47C1E10F0E5001885E5 /* Assets.xcassets in Resources */,
155+
3AAFC47A1E10F0E5001885E5 /* Main.storyboard in Resources */,
156+
);
157+
runOnlyForDeploymentPostprocessing = 0;
158+
};
159+
/* End PBXResourcesBuildPhase section */
160+
161+
/* Begin PBXShellScriptBuildPhase section */
162+
2F9393232F1284272A950091 /* [CP] Embed Pods Frameworks */ = {
163+
isa = PBXShellScriptBuildPhase;
164+
buildActionMask = 2147483647;
165+
files = (
166+
);
167+
inputPaths = (
168+
);
169+
name = "[CP] Embed Pods Frameworks";
170+
outputPaths = (
171+
);
172+
runOnlyForDeploymentPostprocessing = 0;
173+
shellPath = /bin/sh;
174+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Demo/Pods-Demo-frameworks.sh\"\n";
175+
showEnvVarsInLog = 0;
176+
};
177+
4955A8BA09FABF1FF0ED8B9B /* [CP] Copy Pods Resources */ = {
178+
isa = PBXShellScriptBuildPhase;
179+
buildActionMask = 2147483647;
180+
files = (
181+
);
182+
inputPaths = (
183+
);
184+
name = "[CP] Copy Pods Resources";
185+
outputPaths = (
186+
);
187+
runOnlyForDeploymentPostprocessing = 0;
188+
shellPath = /bin/sh;
189+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Demo/Pods-Demo-resources.sh\"\n";
190+
showEnvVarsInLog = 0;
191+
};
192+
838583306B793AEA13217DB4 /* [CP] Check Pods Manifest.lock */ = {
193+
isa = PBXShellScriptBuildPhase;
194+
buildActionMask = 2147483647;
195+
files = (
196+
);
197+
inputPaths = (
198+
);
199+
name = "[CP] Check Pods Manifest.lock";
200+
outputPaths = (
201+
);
202+
runOnlyForDeploymentPostprocessing = 0;
203+
shellPath = /bin/sh;
204+
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
205+
showEnvVarsInLog = 0;
206+
};
207+
/* End PBXShellScriptBuildPhase section */
208+
209+
/* Begin PBXSourcesBuildPhase section */
210+
3AAFC46D1E10F0E5001885E5 /* Sources */ = {
211+
isa = PBXSourcesBuildPhase;
212+
buildActionMask = 2147483647;
213+
files = (
214+
3AAFC4771E10F0E5001885E5 /* ViewController.swift in Sources */,
215+
3AAFC4751E10F0E5001885E5 /* AppDelegate.swift in Sources */,
216+
);
217+
runOnlyForDeploymentPostprocessing = 0;
218+
};
219+
/* End PBXSourcesBuildPhase section */
220+
221+
/* Begin PBXVariantGroup section */
222+
3AAFC4781E10F0E5001885E5 /* Main.storyboard */ = {
223+
isa = PBXVariantGroup;
224+
children = (
225+
3AAFC4791E10F0E5001885E5 /* Base */,
226+
);
227+
name = Main.storyboard;
228+
sourceTree = "<group>";
229+
};
230+
3AAFC47D1E10F0E5001885E5 /* LaunchScreen.storyboard */ = {
231+
isa = PBXVariantGroup;
232+
children = (
233+
3AAFC47E1E10F0E5001885E5 /* Base */,
234+
);
235+
name = LaunchScreen.storyboard;
236+
sourceTree = "<group>";
237+
};
238+
/* End PBXVariantGroup section */
239+
240+
/* Begin XCBuildConfiguration section */
241+
3AAFC4811E10F0E5001885E5 /* Debug */ = {
242+
isa = XCBuildConfiguration;
243+
buildSettings = {
244+
ALWAYS_SEARCH_USER_PATHS = NO;
245+
CLANG_ANALYZER_NONNULL = YES;
246+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
247+
CLANG_CXX_LIBRARY = "libc++";
248+
CLANG_ENABLE_MODULES = YES;
249+
CLANG_ENABLE_OBJC_ARC = YES;
250+
CLANG_WARN_BOOL_CONVERSION = YES;
251+
CLANG_WARN_CONSTANT_CONVERSION = YES;
252+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
253+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
254+
CLANG_WARN_EMPTY_BODY = YES;
255+
CLANG_WARN_ENUM_CONVERSION = YES;
256+
CLANG_WARN_INFINITE_RECURSION = YES;
257+
CLANG_WARN_INT_CONVERSION = YES;
258+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
259+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
260+
CLANG_WARN_UNREACHABLE_CODE = YES;
261+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
262+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
263+
COPY_PHASE_STRIP = NO;
264+
DEBUG_INFORMATION_FORMAT = dwarf;
265+
ENABLE_STRICT_OBJC_MSGSEND = YES;
266+
ENABLE_TESTABILITY = YES;
267+
GCC_C_LANGUAGE_STANDARD = gnu99;
268+
GCC_DYNAMIC_NO_PIC = NO;
269+
GCC_NO_COMMON_BLOCKS = YES;
270+
GCC_OPTIMIZATION_LEVEL = 0;
271+
GCC_PREPROCESSOR_DEFINITIONS = (
272+
"DEBUG=1",
273+
"$(inherited)",
274+
);
275+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
276+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
277+
GCC_WARN_UNDECLARED_SELECTOR = YES;
278+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
279+
GCC_WARN_UNUSED_FUNCTION = YES;
280+
GCC_WARN_UNUSED_VARIABLE = YES;
281+
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
282+
MTL_ENABLE_DEBUG_INFO = YES;
283+
ONLY_ACTIVE_ARCH = YES;
284+
SDKROOT = iphoneos;
285+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
286+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
287+
};
288+
name = Debug;
289+
};
290+
3AAFC4821E10F0E5001885E5 /* Release */ = {
291+
isa = XCBuildConfiguration;
292+
buildSettings = {
293+
ALWAYS_SEARCH_USER_PATHS = NO;
294+
CLANG_ANALYZER_NONNULL = YES;
295+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
296+
CLANG_CXX_LIBRARY = "libc++";
297+
CLANG_ENABLE_MODULES = YES;
298+
CLANG_ENABLE_OBJC_ARC = YES;
299+
CLANG_WARN_BOOL_CONVERSION = YES;
300+
CLANG_WARN_CONSTANT_CONVERSION = YES;
301+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
302+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
303+
CLANG_WARN_EMPTY_BODY = YES;
304+
CLANG_WARN_ENUM_CONVERSION = YES;
305+
CLANG_WARN_INFINITE_RECURSION = YES;
306+
CLANG_WARN_INT_CONVERSION = YES;
307+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
308+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
309+
CLANG_WARN_UNREACHABLE_CODE = YES;
310+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
311+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
312+
COPY_PHASE_STRIP = NO;
313+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
314+
ENABLE_NS_ASSERTIONS = NO;
315+
ENABLE_STRICT_OBJC_MSGSEND = YES;
316+
GCC_C_LANGUAGE_STANDARD = gnu99;
317+
GCC_NO_COMMON_BLOCKS = YES;
318+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
319+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
320+
GCC_WARN_UNDECLARED_SELECTOR = YES;
321+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
322+
GCC_WARN_UNUSED_FUNCTION = YES;
323+
GCC_WARN_UNUSED_VARIABLE = YES;
324+
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
325+
MTL_ENABLE_DEBUG_INFO = NO;
326+
SDKROOT = iphoneos;
327+
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
328+
VALIDATE_PRODUCT = YES;
329+
};
330+
name = Release;
331+
};
332+
3AAFC4841E10F0E5001885E5 /* Debug */ = {
333+
isa = XCBuildConfiguration;
334+
baseConfigurationReference = 203E2AD5416F66E949B03023 /* Pods-Demo.debug.xcconfig */;
335+
buildSettings = {
336+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
337+
INFOPLIST_FILE = Demo/Info.plist;
338+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
339+
PRODUCT_BUNDLE_IDENTIFIER = lacklock.Demo;
340+
PRODUCT_NAME = "$(TARGET_NAME)";
341+
SWIFT_VERSION = 3.0;
342+
};
343+
name = Debug;
344+
};
345+
3AAFC4851E10F0E5001885E5 /* Release */ = {
346+
isa = XCBuildConfiguration;
347+
baseConfigurationReference = 0435A211F965EFB912F97EF4 /* Pods-Demo.release.xcconfig */;
348+
buildSettings = {
349+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
350+
INFOPLIST_FILE = Demo/Info.plist;
351+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
352+
PRODUCT_BUNDLE_IDENTIFIER = lacklock.Demo;
353+
PRODUCT_NAME = "$(TARGET_NAME)";
354+
SWIFT_VERSION = 3.0;
355+
};
356+
name = Release;
357+
};
358+
/* End XCBuildConfiguration section */
359+
360+
/* Begin XCConfigurationList section */
361+
3AAFC46C1E10F0E5001885E5 /* Build configuration list for PBXProject "Demo" */ = {
362+
isa = XCConfigurationList;
363+
buildConfigurations = (
364+
3AAFC4811E10F0E5001885E5 /* Debug */,
365+
3AAFC4821E10F0E5001885E5 /* Release */,
366+
);
367+
defaultConfigurationIsVisible = 0;
368+
defaultConfigurationName = Release;
369+
};
370+
3AAFC4831E10F0E5001885E5 /* Build configuration list for PBXNativeTarget "Demo" */ = {
371+
isa = XCConfigurationList;
372+
buildConfigurations = (
373+
3AAFC4841E10F0E5001885E5 /* Debug */,
374+
3AAFC4851E10F0E5001885E5 /* Release */,
375+
);
376+
defaultConfigurationIsVisible = 0;
377+
defaultConfigurationName = Release;
378+
};
379+
/* End XCConfigurationList section */
380+
};
381+
rootObject = 3AAFC4691E10F0E5001885E5 /* Project object */;
382+
}

Snapkit Demo/Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Bucket
3+
type = "1"
4+
version = "2.0">
5+
</Bucket>

0 commit comments

Comments
 (0)