Skip to content

Commit c41a2b1

Browse files
author
DaoLQ
committed
4. LifeCycle NavigationController
1 parent e56d3c7 commit c41a2b1

File tree

13 files changed

+821
-0
lines changed

13 files changed

+821
-0
lines changed
Lines changed: 333 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,333 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 48;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
BF013A1B204E7506009058DE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = BF013A1A204E7506009058DE /* AppDelegate.swift */; };
11+
BF013A1D204E7506009058DE /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BF013A1C204E7506009058DE /* ViewController.swift */; };
12+
BF013A20204E7506009058DE /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BF013A1E204E7506009058DE /* Main.storyboard */; };
13+
BF013A22204E7506009058DE /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = BF013A21204E7506009058DE /* Assets.xcassets */; };
14+
BF013A25204E7506009058DE /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BF013A23204E7506009058DE /* LaunchScreen.storyboard */; };
15+
BF013A2D204E791E009058DE /* BlueViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BF013A2C204E791E009058DE /* BlueViewController.swift */; };
16+
BF036C40204ED5B2004BA70A /* RedViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BF036C3F204ED5B2004BA70A /* RedViewController.swift */; };
17+
/* End PBXBuildFile section */
18+
19+
/* Begin PBXFileReference section */
20+
BF013A17204E7506009058DE /* 4.Lifecycle_Naviagation_Controller.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = 4.Lifecycle_Naviagation_Controller.app; sourceTree = BUILT_PRODUCTS_DIR; };
21+
BF013A1A204E7506009058DE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
22+
BF013A1C204E7506009058DE /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
23+
BF013A1F204E7506009058DE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
24+
BF013A21204E7506009058DE /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
25+
BF013A24204E7506009058DE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
26+
BF013A26204E7506009058DE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
27+
BF013A2C204E791E009058DE /* BlueViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BlueViewController.swift; sourceTree = "<group>"; };
28+
BF036C3F204ED5B2004BA70A /* RedViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RedViewController.swift; sourceTree = "<group>"; };
29+
/* End PBXFileReference section */
30+
31+
/* Begin PBXFrameworksBuildPhase section */
32+
BF013A14204E7506009058DE /* Frameworks */ = {
33+
isa = PBXFrameworksBuildPhase;
34+
buildActionMask = 2147483647;
35+
files = (
36+
);
37+
runOnlyForDeploymentPostprocessing = 0;
38+
};
39+
/* End PBXFrameworksBuildPhase section */
40+
41+
/* Begin PBXGroup section */
42+
BF013A0E204E7506009058DE = {
43+
isa = PBXGroup;
44+
children = (
45+
BF013A19204E7506009058DE /* 4.Lifecycle_Naviagation_Controller */,
46+
BF013A18204E7506009058DE /* Products */,
47+
);
48+
sourceTree = "<group>";
49+
};
50+
BF013A18204E7506009058DE /* Products */ = {
51+
isa = PBXGroup;
52+
children = (
53+
BF013A17204E7506009058DE /* 4.Lifecycle_Naviagation_Controller.app */,
54+
);
55+
name = Products;
56+
sourceTree = "<group>";
57+
};
58+
BF013A19204E7506009058DE /* 4.Lifecycle_Naviagation_Controller */ = {
59+
isa = PBXGroup;
60+
children = (
61+
BF013A26204E7506009058DE /* Info.plist */,
62+
BF013A1A204E7506009058DE /* AppDelegate.swift */,
63+
BF013A2C204E791E009058DE /* BlueViewController.swift */,
64+
BF036C3F204ED5B2004BA70A /* RedViewController.swift */,
65+
BF013A1C204E7506009058DE /* ViewController.swift */,
66+
BF013A21204E7506009058DE /* Assets.xcassets */,
67+
BF013A23204E7506009058DE /* LaunchScreen.storyboard */,
68+
BF013A1E204E7506009058DE /* Main.storyboard */,
69+
);
70+
path = 4.Lifecycle_Naviagation_Controller;
71+
sourceTree = "<group>";
72+
};
73+
/* End PBXGroup section */
74+
75+
/* Begin PBXNativeTarget section */
76+
BF013A16204E7506009058DE /* 4.Lifecycle_Naviagation_Controller */ = {
77+
isa = PBXNativeTarget;
78+
buildConfigurationList = BF013A29204E7506009058DE /* Build configuration list for PBXNativeTarget "4.Lifecycle_Naviagation_Controller" */;
79+
buildPhases = (
80+
BF013A13204E7506009058DE /* Sources */,
81+
BF013A14204E7506009058DE /* Frameworks */,
82+
BF013A15204E7506009058DE /* Resources */,
83+
);
84+
buildRules = (
85+
);
86+
dependencies = (
87+
);
88+
name = 4.Lifecycle_Naviagation_Controller;
89+
productName = 3.Lifecycle_Naviagation_Controller;
90+
productReference = BF013A17204E7506009058DE /* 4.Lifecycle_Naviagation_Controller.app */;
91+
productType = "com.apple.product-type.application";
92+
};
93+
/* End PBXNativeTarget section */
94+
95+
/* Begin PBXProject section */
96+
BF013A0F204E7506009058DE /* Project object */ = {
97+
isa = PBXProject;
98+
attributes = {
99+
LastSwiftUpdateCheck = 0920;
100+
LastUpgradeCheck = 0920;
101+
ORGANIZATIONNAME = DaoLQ;
102+
TargetAttributes = {
103+
BF013A16204E7506009058DE = {
104+
CreatedOnToolsVersion = 9.2;
105+
ProvisioningStyle = Automatic;
106+
};
107+
};
108+
};
109+
buildConfigurationList = BF013A12204E7506009058DE /* Build configuration list for PBXProject "4.Lifecycle_Naviagation_Controller" */;
110+
compatibilityVersion = "Xcode 8.0";
111+
developmentRegion = en;
112+
hasScannedForEncodings = 0;
113+
knownRegions = (
114+
en,
115+
Base,
116+
);
117+
mainGroup = BF013A0E204E7506009058DE;
118+
productRefGroup = BF013A18204E7506009058DE /* Products */;
119+
projectDirPath = "";
120+
projectRoot = "";
121+
targets = (
122+
BF013A16204E7506009058DE /* 4.Lifecycle_Naviagation_Controller */,
123+
);
124+
};
125+
/* End PBXProject section */
126+
127+
/* Begin PBXResourcesBuildPhase section */
128+
BF013A15204E7506009058DE /* Resources */ = {
129+
isa = PBXResourcesBuildPhase;
130+
buildActionMask = 2147483647;
131+
files = (
132+
BF013A25204E7506009058DE /* LaunchScreen.storyboard in Resources */,
133+
BF013A22204E7506009058DE /* Assets.xcassets in Resources */,
134+
BF013A20204E7506009058DE /* Main.storyboard in Resources */,
135+
);
136+
runOnlyForDeploymentPostprocessing = 0;
137+
};
138+
/* End PBXResourcesBuildPhase section */
139+
140+
/* Begin PBXSourcesBuildPhase section */
141+
BF013A13204E7506009058DE /* Sources */ = {
142+
isa = PBXSourcesBuildPhase;
143+
buildActionMask = 2147483647;
144+
files = (
145+
BF036C40204ED5B2004BA70A /* RedViewController.swift in Sources */,
146+
BF013A1D204E7506009058DE /* ViewController.swift in Sources */,
147+
BF013A2D204E791E009058DE /* BlueViewController.swift in Sources */,
148+
BF013A1B204E7506009058DE /* AppDelegate.swift in Sources */,
149+
);
150+
runOnlyForDeploymentPostprocessing = 0;
151+
};
152+
/* End PBXSourcesBuildPhase section */
153+
154+
/* Begin PBXVariantGroup section */
155+
BF013A1E204E7506009058DE /* Main.storyboard */ = {
156+
isa = PBXVariantGroup;
157+
children = (
158+
BF013A1F204E7506009058DE /* Base */,
159+
);
160+
name = Main.storyboard;
161+
sourceTree = "<group>";
162+
};
163+
BF013A23204E7506009058DE /* LaunchScreen.storyboard */ = {
164+
isa = PBXVariantGroup;
165+
children = (
166+
BF013A24204E7506009058DE /* Base */,
167+
);
168+
name = LaunchScreen.storyboard;
169+
sourceTree = "<group>";
170+
};
171+
/* End PBXVariantGroup section */
172+
173+
/* Begin XCBuildConfiguration section */
174+
BF013A27204E7506009058DE /* Debug */ = {
175+
isa = XCBuildConfiguration;
176+
buildSettings = {
177+
ALWAYS_SEARCH_USER_PATHS = NO;
178+
CLANG_ANALYZER_NONNULL = YES;
179+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
180+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
181+
CLANG_CXX_LIBRARY = "libc++";
182+
CLANG_ENABLE_MODULES = YES;
183+
CLANG_ENABLE_OBJC_ARC = YES;
184+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
185+
CLANG_WARN_BOOL_CONVERSION = YES;
186+
CLANG_WARN_COMMA = YES;
187+
CLANG_WARN_CONSTANT_CONVERSION = YES;
188+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
189+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
190+
CLANG_WARN_EMPTY_BODY = YES;
191+
CLANG_WARN_ENUM_CONVERSION = YES;
192+
CLANG_WARN_INFINITE_RECURSION = YES;
193+
CLANG_WARN_INT_CONVERSION = YES;
194+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
195+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
196+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
197+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
198+
CLANG_WARN_STRICT_PROTOTYPES = YES;
199+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
200+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
201+
CLANG_WARN_UNREACHABLE_CODE = YES;
202+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
203+
CODE_SIGN_IDENTITY = "iPhone Developer";
204+
COPY_PHASE_STRIP = NO;
205+
DEBUG_INFORMATION_FORMAT = dwarf;
206+
ENABLE_STRICT_OBJC_MSGSEND = YES;
207+
ENABLE_TESTABILITY = YES;
208+
GCC_C_LANGUAGE_STANDARD = gnu11;
209+
GCC_DYNAMIC_NO_PIC = NO;
210+
GCC_NO_COMMON_BLOCKS = YES;
211+
GCC_OPTIMIZATION_LEVEL = 0;
212+
GCC_PREPROCESSOR_DEFINITIONS = (
213+
"DEBUG=1",
214+
"$(inherited)",
215+
);
216+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
217+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
218+
GCC_WARN_UNDECLARED_SELECTOR = YES;
219+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
220+
GCC_WARN_UNUSED_FUNCTION = YES;
221+
GCC_WARN_UNUSED_VARIABLE = YES;
222+
IPHONEOS_DEPLOYMENT_TARGET = 11.2;
223+
MTL_ENABLE_DEBUG_INFO = YES;
224+
ONLY_ACTIVE_ARCH = YES;
225+
SDKROOT = iphoneos;
226+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
227+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
228+
};
229+
name = Debug;
230+
};
231+
BF013A28204E7506009058DE /* Release */ = {
232+
isa = XCBuildConfiguration;
233+
buildSettings = {
234+
ALWAYS_SEARCH_USER_PATHS = NO;
235+
CLANG_ANALYZER_NONNULL = YES;
236+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
237+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
238+
CLANG_CXX_LIBRARY = "libc++";
239+
CLANG_ENABLE_MODULES = YES;
240+
CLANG_ENABLE_OBJC_ARC = YES;
241+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
242+
CLANG_WARN_BOOL_CONVERSION = YES;
243+
CLANG_WARN_COMMA = YES;
244+
CLANG_WARN_CONSTANT_CONVERSION = 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_LITERAL_CONVERSION = YES;
253+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
254+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
255+
CLANG_WARN_STRICT_PROTOTYPES = YES;
256+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
257+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
258+
CLANG_WARN_UNREACHABLE_CODE = YES;
259+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
260+
CODE_SIGN_IDENTITY = "iPhone Developer";
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 = 11.2;
274+
MTL_ENABLE_DEBUG_INFO = NO;
275+
SDKROOT = iphoneos;
276+
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
277+
VALIDATE_PRODUCT = YES;
278+
};
279+
name = Release;
280+
};
281+
BF013A2A204E7506009058DE /* Debug */ = {
282+
isa = XCBuildConfiguration;
283+
buildSettings = {
284+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
285+
CODE_SIGN_STYLE = Automatic;
286+
INFOPLIST_FILE = 3.Lifecycle_Naviagation_Controller/Info.plist;
287+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
288+
PRODUCT_BUNDLE_IDENTIFIER = "com.fstyle.--Lifecycle-Naviagation-Controller";
289+
PRODUCT_NAME = "$(TARGET_NAME)";
290+
SWIFT_VERSION = 4.0;
291+
TARGETED_DEVICE_FAMILY = "1,2";
292+
};
293+
name = Debug;
294+
};
295+
BF013A2B204E7506009058DE /* Release */ = {
296+
isa = XCBuildConfiguration;
297+
buildSettings = {
298+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
299+
CODE_SIGN_STYLE = Automatic;
300+
INFOPLIST_FILE = 3.Lifecycle_Naviagation_Controller/Info.plist;
301+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
302+
PRODUCT_BUNDLE_IDENTIFIER = "com.fstyle.--Lifecycle-Naviagation-Controller";
303+
PRODUCT_NAME = "$(TARGET_NAME)";
304+
SWIFT_VERSION = 4.0;
305+
TARGETED_DEVICE_FAMILY = "1,2";
306+
};
307+
name = Release;
308+
};
309+
/* End XCBuildConfiguration section */
310+
311+
/* Begin XCConfigurationList section */
312+
BF013A12204E7506009058DE /* Build configuration list for PBXProject "4.Lifecycle_Naviagation_Controller" */ = {
313+
isa = XCConfigurationList;
314+
buildConfigurations = (
315+
BF013A27204E7506009058DE /* Debug */,
316+
BF013A28204E7506009058DE /* Release */,
317+
);
318+
defaultConfigurationIsVisible = 0;
319+
defaultConfigurationName = Release;
320+
};
321+
BF013A29204E7506009058DE /* Build configuration list for PBXNativeTarget "4.Lifecycle_Naviagation_Controller" */ = {
322+
isa = XCConfigurationList;
323+
buildConfigurations = (
324+
BF013A2A204E7506009058DE /* Debug */,
325+
BF013A2B204E7506009058DE /* Release */,
326+
);
327+
defaultConfigurationIsVisible = 0;
328+
defaultConfigurationName = Release;
329+
};
330+
/* End XCConfigurationList section */
331+
};
332+
rootObject = BF013A0F204E7506009058DE /* Project object */;
333+
}

4.Lifecycle_Naviagation_Controller/4.Lifecycle_Naviagation_Controller.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.
Original file line numberDiff line numberDiff line change
@@ -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>3.Lifecycle_Naviagation_Controller.xcscheme</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
</dict>
13+
</dict>
14+
</plist>

0 commit comments

Comments
 (0)