Skip to content

Commit a3d7fee

Browse files
yifanyifan
authored andcommitted
工厂方法、模板方法
1 parent 8bd1e2d commit a3d7fee

92 files changed

Lines changed: 3652 additions & 2 deletions

File tree

Some content is hidden

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

.DS_Store

0 Bytes
Binary file not shown.

1简单工厂模式/.DS_Store

0 Bytes
Binary file not shown.
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0640"
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 = "4D89487E1B78C792008DDDD4"
18+
BuildableName = "1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;.app"
19+
BlueprintName = "1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;"
20+
ReferencedContainer = "container:1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
<BuildActionEntry
24+
buildForTesting = "YES"
25+
buildForRunning = "YES"
26+
buildForProfiling = "NO"
27+
buildForArchiving = "NO"
28+
buildForAnalyzing = "YES">
29+
<BuildableReference
30+
BuildableIdentifier = "primary"
31+
BlueprintIdentifier = "4D8948971B78C792008DDDD4"
32+
BuildableName = "1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;Tests.xctest"
33+
BlueprintName = "1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;Tests"
34+
ReferencedContainer = "container:1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;.xcodeproj">
35+
</BuildableReference>
36+
</BuildActionEntry>
37+
</BuildActionEntries>
38+
</BuildAction>
39+
<TestAction
40+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
41+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
42+
shouldUseLaunchSchemeArgsEnv = "YES"
43+
buildConfiguration = "Debug">
44+
<Testables>
45+
<TestableReference
46+
skipped = "NO">
47+
<BuildableReference
48+
BuildableIdentifier = "primary"
49+
BlueprintIdentifier = "4D8948971B78C792008DDDD4"
50+
BuildableName = "1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;Tests.xctest"
51+
BlueprintName = "1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;Tests"
52+
ReferencedContainer = "container:1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;.xcodeproj">
53+
</BuildableReference>
54+
</TestableReference>
55+
</Testables>
56+
<MacroExpansion>
57+
<BuildableReference
58+
BuildableIdentifier = "primary"
59+
BlueprintIdentifier = "4D89487E1B78C792008DDDD4"
60+
BuildableName = "1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;.app"
61+
BlueprintName = "1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;"
62+
ReferencedContainer = "container:1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;.xcodeproj">
63+
</BuildableReference>
64+
</MacroExpansion>
65+
</TestAction>
66+
<LaunchAction
67+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
68+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
69+
launchStyle = "0"
70+
useCustomWorkingDirectory = "NO"
71+
buildConfiguration = "Debug"
72+
ignoresPersistentStateOnLaunch = "NO"
73+
debugDocumentVersioning = "YES"
74+
allowLocationSimulation = "YES">
75+
<BuildableProductRunnable
76+
runnableDebuggingMode = "0">
77+
<BuildableReference
78+
BuildableIdentifier = "primary"
79+
BlueprintIdentifier = "4D89487E1B78C792008DDDD4"
80+
BuildableName = "1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;.app"
81+
BlueprintName = "1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;"
82+
ReferencedContainer = "container:1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;.xcodeproj">
83+
</BuildableReference>
84+
</BuildableProductRunnable>
85+
<AdditionalOptions>
86+
</AdditionalOptions>
87+
</LaunchAction>
88+
<ProfileAction
89+
shouldUseLaunchSchemeArgsEnv = "YES"
90+
savedToolIdentifier = ""
91+
useCustomWorkingDirectory = "NO"
92+
buildConfiguration = "Release"
93+
debugDocumentVersioning = "YES">
94+
<BuildableProductRunnable
95+
runnableDebuggingMode = "0">
96+
<BuildableReference
97+
BuildableIdentifier = "primary"
98+
BlueprintIdentifier = "4D89487E1B78C792008DDDD4"
99+
BuildableName = "1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;.app"
100+
BlueprintName = "1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;"
101+
ReferencedContainer = "container:1&#x7b80;&#x5355;&#x5de5;&#x5382;&#x6a21;&#x5f0f;.xcodeproj">
102+
</BuildableReference>
103+
</BuildableProductRunnable>
104+
</ProfileAction>
105+
<AnalyzeAction
106+
buildConfiguration = "Debug">
107+
</AnalyzeAction>
108+
<ArchiveAction
109+
buildConfiguration = "Release"
110+
revealArchiveInOrganizer = "YES">
111+
</ArchiveAction>
112+
</Scheme>
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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>1简单工厂模式.xcscheme</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
</dict>
13+
<key>SuppressBuildableAutocreation</key>
14+
<dict>
15+
<key>4D89487E1B78C792008DDDD4</key>
16+
<dict>
17+
<key>primary</key>
18+
<true/>
19+
</dict>
20+
<key>4D8948971B78C792008DDDD4</key>
21+
<dict>
22+
<key>primary</key>
23+
<true/>
24+
</dict>
25+
</dict>
26+
</dict>
27+
</plist>

3装饰模式/.DS_Store

6 KB
Binary file not shown.

3装饰模式/3装饰模式.xcodeproj/project.xcworkspace/xcshareddata/3装饰模式.xccheckout

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
<key>IDESourceControlProjectIdentifier</key>
88
<string>2A62BDD2-F1FC-4FFF-9EA1-0D28352EB952</string>
99
<key>IDESourceControlProjectName</key>
10-
<string>project</string>
10+
<string>3装饰模式</string>
1111
<key>IDESourceControlProjectOriginsDictionary</key>
1212
<dict>
1313
<key>97B4AD1D63A96A3E6D01F6FF529543E2092CC1C1</key>
1414
<string>https://github.com/huang303513/Design-Pattern-For-iOS.git</string>
1515
</dict>
1616
<key>IDESourceControlProjectPath</key>
17-
<string>3装饰模式/3装饰模式.xcodeproj/project.xcworkspace</string>
17+
<string>3装饰模式/3装饰模式.xcodeproj</string>
1818
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
1919
<dict>
2020
<key>97B4AD1D63A96A3E6D01F6FF529543E2092CC1C1</key>

0 commit comments

Comments
 (0)