Skip to content

Commit 6592e1c

Browse files
committed
book 2 chapter 1 examples
1 parent d4c84b6 commit 6592e1c

File tree

75 files changed

+2872
-111
lines changed

Some content is hidden

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

75 files changed

+2872
-111
lines changed

bk2ch01p004appWithoutStoryboard/bk2ch01p004appWithoutStoryboard.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
buildSettings = {
234234
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
235235
INFOPLIST_FILE = bk2ch01p004appWithoutStoryboard/Info.plist;
236-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
236+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
237237
LD_RUNPATH_SEARCH_PATHS = (
238238
"$(inherited)",
239239
"@executable_path/Frameworks",
@@ -249,7 +249,7 @@
249249
buildSettings = {
250250
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
251251
INFOPLIST_FILE = bk2ch01p004appWithoutStoryboard/Info.plist;
252-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
252+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
253253
LD_RUNPATH_SEARCH_PATHS = (
254254
"$(inherited)",
255255
"@executable_path/Frameworks",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1300"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "322A6E9B1BAE17B900A2F306"
18+
BuildableName = "bk2ch01p004appWithoutStoryboard.app"
19+
BlueprintName = "bk2ch01p004appWithoutStoryboard"
20+
ReferencedContainer = "container:bk2ch01p004appWithoutStoryboard.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
</TestAction>
33+
<LaunchAction
34+
buildConfiguration = "Debug"
35+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
36+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
37+
launchStyle = "0"
38+
useCustomWorkingDirectory = "NO"
39+
ignoresPersistentStateOnLaunch = "NO"
40+
debugDocumentVersioning = "YES"
41+
debugServiceExtension = "internal"
42+
allowLocationSimulation = "YES">
43+
<BuildableProductRunnable
44+
runnableDebuggingMode = "0">
45+
<BuildableReference
46+
BuildableIdentifier = "primary"
47+
BlueprintIdentifier = "322A6E9B1BAE17B900A2F306"
48+
BuildableName = "bk2ch01p004appWithoutStoryboard.app"
49+
BlueprintName = "bk2ch01p004appWithoutStoryboard"
50+
ReferencedContainer = "container:bk2ch01p004appWithoutStoryboard.xcodeproj">
51+
</BuildableReference>
52+
</BuildableProductRunnable>
53+
</LaunchAction>
54+
<ProfileAction
55+
buildConfiguration = "Release"
56+
shouldUseLaunchSchemeArgsEnv = "YES"
57+
savedToolIdentifier = ""
58+
useCustomWorkingDirectory = "NO"
59+
debugDocumentVersioning = "YES">
60+
<BuildableProductRunnable
61+
runnableDebuggingMode = "0">
62+
<BuildableReference
63+
BuildableIdentifier = "primary"
64+
BlueprintIdentifier = "322A6E9B1BAE17B900A2F306"
65+
BuildableName = "bk2ch01p004appWithoutStoryboard.app"
66+
BlueprintName = "bk2ch01p004appWithoutStoryboard"
67+
ReferencedContainer = "container:bk2ch01p004appWithoutStoryboard.xcodeproj">
68+
</BuildableReference>
69+
</BuildableProductRunnable>
70+
</ProfileAction>
71+
<AnalyzeAction
72+
buildConfiguration = "Debug">
73+
</AnalyzeAction>
74+
<ArchiveAction
75+
buildConfiguration = "Release"
76+
revealArchiveInOrganizer = "YES">
77+
</ArchiveAction>
78+
</Scheme>

bk2ch01p004appWithoutStoryboard2/bk2ch01p004appWithoutStoryboard.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@
241241
buildSettings = {
242242
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
243243
INFOPLIST_FILE = bk2ch01p004appWithoutStoryboard/Info.plist;
244-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
244+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
245245
LD_RUNPATH_SEARCH_PATHS = (
246246
"$(inherited)",
247247
"@executable_path/Frameworks",
@@ -258,7 +258,7 @@
258258
buildSettings = {
259259
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
260260
INFOPLIST_FILE = bk2ch01p004appWithoutStoryboard/Info.plist;
261-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
261+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
262262
LD_RUNPATH_SEARCH_PATHS = (
263263
"$(inherited)",
264264
"@executable_path/Frameworks",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1300"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "322A6E9B1BAE17B900A2F306"
18+
BuildableName = "bk2ch01p004appWithoutStoryboard.app"
19+
BlueprintName = "bk2ch01p004appWithoutStoryboard"
20+
ReferencedContainer = "container:bk2ch01p004appWithoutStoryboard.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
</TestAction>
33+
<LaunchAction
34+
buildConfiguration = "Debug"
35+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
36+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
37+
launchStyle = "0"
38+
useCustomWorkingDirectory = "NO"
39+
ignoresPersistentStateOnLaunch = "NO"
40+
debugDocumentVersioning = "YES"
41+
debugServiceExtension = "internal"
42+
allowLocationSimulation = "YES">
43+
<BuildableProductRunnable
44+
runnableDebuggingMode = "0">
45+
<BuildableReference
46+
BuildableIdentifier = "primary"
47+
BlueprintIdentifier = "322A6E9B1BAE17B900A2F306"
48+
BuildableName = "bk2ch01p004appWithoutStoryboard.app"
49+
BlueprintName = "bk2ch01p004appWithoutStoryboard"
50+
ReferencedContainer = "container:bk2ch01p004appWithoutStoryboard.xcodeproj">
51+
</BuildableReference>
52+
</BuildableProductRunnable>
53+
</LaunchAction>
54+
<ProfileAction
55+
buildConfiguration = "Release"
56+
shouldUseLaunchSchemeArgsEnv = "YES"
57+
savedToolIdentifier = ""
58+
useCustomWorkingDirectory = "NO"
59+
debugDocumentVersioning = "YES">
60+
<BuildableProductRunnable
61+
runnableDebuggingMode = "0">
62+
<BuildableReference
63+
BuildableIdentifier = "primary"
64+
BlueprintIdentifier = "322A6E9B1BAE17B900A2F306"
65+
BuildableName = "bk2ch01p004appWithoutStoryboard.app"
66+
BlueprintName = "bk2ch01p004appWithoutStoryboard"
67+
ReferencedContainer = "container:bk2ch01p004appWithoutStoryboard.xcodeproj">
68+
</BuildableReference>
69+
</BuildableProductRunnable>
70+
</ProfileAction>
71+
<AnalyzeAction
72+
buildConfiguration = "Debug">
73+
</AnalyzeAction>
74+
<ArchiveAction
75+
buildConfiguration = "Release"
76+
revealArchiveInOrganizer = "YES">
77+
</ArchiveAction>
78+
</Scheme>

bk2ch01p005LoginScreen/LoginScreen.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@
287287
CODE_SIGN_STYLE = Automatic;
288288
DEVELOPMENT_TEAM = W3LHX5RGV2;
289289
INFOPLIST_FILE = LoginScreen/Info.plist;
290-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
290+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
291291
LD_RUNPATH_SEARCH_PATHS = (
292292
"$(inherited)",
293293
"@executable_path/Frameworks",
@@ -306,7 +306,7 @@
306306
CODE_SIGN_STYLE = Automatic;
307307
DEVELOPMENT_TEAM = W3LHX5RGV2;
308308
INFOPLIST_FILE = LoginScreen/Info.plist;
309-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
309+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
310310
LD_RUNPATH_SEARCH_PATHS = (
311311
"$(inherited)",
312312
"@executable_path/Frameworks",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1300"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "8134AE6322E3456500E9A558"
18+
BuildableName = "LoginScreen.app"
19+
BlueprintName = "LoginScreen"
20+
ReferencedContainer = "container:LoginScreen.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
</TestAction>
33+
<LaunchAction
34+
buildConfiguration = "Debug"
35+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
36+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
37+
launchStyle = "0"
38+
useCustomWorkingDirectory = "NO"
39+
ignoresPersistentStateOnLaunch = "NO"
40+
debugDocumentVersioning = "YES"
41+
debugServiceExtension = "internal"
42+
allowLocationSimulation = "YES">
43+
<BuildableProductRunnable
44+
runnableDebuggingMode = "0">
45+
<BuildableReference
46+
BuildableIdentifier = "primary"
47+
BlueprintIdentifier = "8134AE6322E3456500E9A558"
48+
BuildableName = "LoginScreen.app"
49+
BlueprintName = "LoginScreen"
50+
ReferencedContainer = "container:LoginScreen.xcodeproj">
51+
</BuildableReference>
52+
</BuildableProductRunnable>
53+
</LaunchAction>
54+
<ProfileAction
55+
buildConfiguration = "Release"
56+
shouldUseLaunchSchemeArgsEnv = "YES"
57+
savedToolIdentifier = ""
58+
useCustomWorkingDirectory = "NO"
59+
debugDocumentVersioning = "YES">
60+
<BuildableProductRunnable
61+
runnableDebuggingMode = "0">
62+
<BuildableReference
63+
BuildableIdentifier = "primary"
64+
BlueprintIdentifier = "8134AE6322E3456500E9A558"
65+
BuildableName = "LoginScreen.app"
66+
BlueprintName = "LoginScreen"
67+
ReferencedContainer = "container:LoginScreen.xcodeproj">
68+
</BuildableReference>
69+
</BuildableProductRunnable>
70+
</ProfileAction>
71+
<AnalyzeAction
72+
buildConfiguration = "Debug">
73+
</AnalyzeAction>
74+
<ArchiveAction
75+
buildConfiguration = "Release"
76+
revealArchiveInOrganizer = "YES">
77+
</ArchiveAction>
78+
</Scheme>

bk2ch01p006customWindowInStoryboardApp/ch14p366customWindowInStoryboardApp.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
GCC_PRECOMPILE_PREFIX_HEADER = YES;
268268
GCC_PREFIX_HEADER = "ch14p366customWindowInStoryboardApp/ch14p366customWindowInStoryboardApp-Prefix.pch";
269269
INFOPLIST_FILE = "ch14p366customWindowInStoryboardApp/ch14p366customWindowInStoryboardApp-Info.plist";
270-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
270+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
271271
LD_RUNPATH_SEARCH_PATHS = (
272272
"$(inherited)",
273273
"@executable_path/Frameworks",
@@ -291,7 +291,7 @@
291291
GCC_PRECOMPILE_PREFIX_HEADER = YES;
292292
GCC_PREFIX_HEADER = "ch14p366customWindowInStoryboardApp/ch14p366customWindowInStoryboardApp-Prefix.pch";
293293
INFOPLIST_FILE = "ch14p366customWindowInStoryboardApp/ch14p366customWindowInStoryboardApp-Info.plist";
294-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
294+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
295295
LD_RUNPATH_SEARCH_PATHS = (
296296
"$(inherited)",
297297
"@executable_path/Frameworks",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1300"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "C910761517A82CD30074C87B"
18+
BuildableName = "ch14p366customWindowInStoryboardApp.app"
19+
BlueprintName = "ch14p366customWindowInStoryboardApp"
20+
ReferencedContainer = "container:ch14p366customWindowInStoryboardApp.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
</TestAction>
33+
<LaunchAction
34+
buildConfiguration = "Debug"
35+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
36+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
37+
launchStyle = "0"
38+
useCustomWorkingDirectory = "NO"
39+
ignoresPersistentStateOnLaunch = "NO"
40+
debugDocumentVersioning = "YES"
41+
debugServiceExtension = "internal"
42+
allowLocationSimulation = "YES">
43+
<BuildableProductRunnable
44+
runnableDebuggingMode = "0">
45+
<BuildableReference
46+
BuildableIdentifier = "primary"
47+
BlueprintIdentifier = "C910761517A82CD30074C87B"
48+
BuildableName = "ch14p366customWindowInStoryboardApp.app"
49+
BlueprintName = "ch14p366customWindowInStoryboardApp"
50+
ReferencedContainer = "container:ch14p366customWindowInStoryboardApp.xcodeproj">
51+
</BuildableReference>
52+
</BuildableProductRunnable>
53+
</LaunchAction>
54+
<ProfileAction
55+
buildConfiguration = "Release"
56+
shouldUseLaunchSchemeArgsEnv = "YES"
57+
savedToolIdentifier = ""
58+
useCustomWorkingDirectory = "NO"
59+
debugDocumentVersioning = "YES">
60+
<BuildableProductRunnable
61+
runnableDebuggingMode = "0">
62+
<BuildableReference
63+
BuildableIdentifier = "primary"
64+
BlueprintIdentifier = "C910761517A82CD30074C87B"
65+
BuildableName = "ch14p366customWindowInStoryboardApp.app"
66+
BlueprintName = "ch14p366customWindowInStoryboardApp"
67+
ReferencedContainer = "container:ch14p366customWindowInStoryboardApp.xcodeproj">
68+
</BuildableReference>
69+
</BuildableProductRunnable>
70+
</ProfileAction>
71+
<AnalyzeAction
72+
buildConfiguration = "Debug">
73+
</AnalyzeAction>
74+
<ArchiveAction
75+
buildConfiguration = "Release"
76+
revealArchiveInOrganizer = "YES">
77+
</ArchiveAction>
78+
</Scheme>

0 commit comments

Comments
 (0)