Skip to content

Commit bfcc1cf

Browse files
author
penghe
committed
Stack_ValidParenttheses 代码提交
1 parent 36b7879 commit bfcc1cf

File tree

16 files changed

+906
-0
lines changed

16 files changed

+906
-0
lines changed
Lines changed: 348 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,348 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 50;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
C0C5FBC52242312D00A7ABCE /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C0C5FBC42242312D00A7ABCE /* AppDelegate.m */; };
11+
C0C5FBC82242312D00A7ABCE /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C0C5FBC72242312D00A7ABCE /* ViewController.m */; };
12+
C0C5FBCB2242312D00A7ABCE /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C0C5FBC92242312D00A7ABCE /* Main.storyboard */; };
13+
C0C5FBCD2242312F00A7ABCE /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C0C5FBCC2242312F00A7ABCE /* Assets.xcassets */; };
14+
C0C5FBD02242312F00A7ABCE /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C0C5FBCE2242312F00A7ABCE /* LaunchScreen.storyboard */; };
15+
C0C5FBD32242312F00A7ABCE /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C0C5FBD22242312F00A7ABCE /* main.m */; };
16+
C0C5FBDB2242315900A7ABCE /* DSStack.m in Sources */ = {isa = PBXBuildFile; fileRef = C0C5FBD92242315900A7ABCE /* DSStack.m */; };
17+
/* End PBXBuildFile section */
18+
19+
/* Begin PBXFileReference section */
20+
C0C5FBC02242312D00A7ABCE /* Stack_ValidParentheses.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Stack_ValidParentheses.app; sourceTree = BUILT_PRODUCTS_DIR; };
21+
C0C5FBC32242312D00A7ABCE /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
22+
C0C5FBC42242312D00A7ABCE /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
23+
C0C5FBC62242312D00A7ABCE /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
24+
C0C5FBC72242312D00A7ABCE /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
25+
C0C5FBCA2242312D00A7ABCE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
26+
C0C5FBCC2242312F00A7ABCE /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
27+
C0C5FBCF2242312F00A7ABCE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
28+
C0C5FBD12242312F00A7ABCE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
29+
C0C5FBD22242312F00A7ABCE /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
30+
C0C5FBD92242315900A7ABCE /* DSStack.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DSStack.m; sourceTree = "<group>"; };
31+
C0C5FBDA2242315900A7ABCE /* DSStack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DSStack.h; sourceTree = "<group>"; };
32+
/* End PBXFileReference section */
33+
34+
/* Begin PBXFrameworksBuildPhase section */
35+
C0C5FBBD2242312D00A7ABCE /* Frameworks */ = {
36+
isa = PBXFrameworksBuildPhase;
37+
buildActionMask = 2147483647;
38+
files = (
39+
);
40+
runOnlyForDeploymentPostprocessing = 0;
41+
};
42+
/* End PBXFrameworksBuildPhase section */
43+
44+
/* Begin PBXGroup section */
45+
C0C5FBB72242312D00A7ABCE = {
46+
isa = PBXGroup;
47+
children = (
48+
C0C5FBC22242312D00A7ABCE /* Stack_ValidParentheses */,
49+
C0C5FBC12242312D00A7ABCE /* Products */,
50+
);
51+
sourceTree = "<group>";
52+
};
53+
C0C5FBC12242312D00A7ABCE /* Products */ = {
54+
isa = PBXGroup;
55+
children = (
56+
C0C5FBC02242312D00A7ABCE /* Stack_ValidParentheses.app */,
57+
);
58+
name = Products;
59+
sourceTree = "<group>";
60+
};
61+
C0C5FBC22242312D00A7ABCE /* Stack_ValidParentheses */ = {
62+
isa = PBXGroup;
63+
children = (
64+
C0C5FBC32242312D00A7ABCE /* AppDelegate.h */,
65+
C0C5FBC42242312D00A7ABCE /* AppDelegate.m */,
66+
C0C5FBC62242312D00A7ABCE /* ViewController.h */,
67+
C0C5FBC72242312D00A7ABCE /* ViewController.m */,
68+
C0C5FBDA2242315900A7ABCE /* DSStack.h */,
69+
C0C5FBD92242315900A7ABCE /* DSStack.m */,
70+
C0C5FBC92242312D00A7ABCE /* Main.storyboard */,
71+
C0C5FBCC2242312F00A7ABCE /* Assets.xcassets */,
72+
C0C5FBCE2242312F00A7ABCE /* LaunchScreen.storyboard */,
73+
C0C5FBD12242312F00A7ABCE /* Info.plist */,
74+
C0C5FBD22242312F00A7ABCE /* main.m */,
75+
);
76+
path = Stack_ValidParentheses;
77+
sourceTree = "<group>";
78+
};
79+
/* End PBXGroup section */
80+
81+
/* Begin PBXNativeTarget section */
82+
C0C5FBBF2242312D00A7ABCE /* Stack_ValidParentheses */ = {
83+
isa = PBXNativeTarget;
84+
buildConfigurationList = C0C5FBD62242312F00A7ABCE /* Build configuration list for PBXNativeTarget "Stack_ValidParentheses" */;
85+
buildPhases = (
86+
C0C5FBBC2242312D00A7ABCE /* Sources */,
87+
C0C5FBBD2242312D00A7ABCE /* Frameworks */,
88+
C0C5FBBE2242312D00A7ABCE /* Resources */,
89+
);
90+
buildRules = (
91+
);
92+
dependencies = (
93+
);
94+
name = Stack_ValidParentheses;
95+
productName = Stack_ValidParentheses;
96+
productReference = C0C5FBC02242312D00A7ABCE /* Stack_ValidParentheses.app */;
97+
productType = "com.apple.product-type.application";
98+
};
99+
/* End PBXNativeTarget section */
100+
101+
/* Begin PBXProject section */
102+
C0C5FBB82242312D00A7ABCE /* Project object */ = {
103+
isa = PBXProject;
104+
attributes = {
105+
LastUpgradeCheck = 1000;
106+
ORGANIZATIONNAME = WondersGroup;
107+
TargetAttributes = {
108+
C0C5FBBF2242312D00A7ABCE = {
109+
CreatedOnToolsVersion = 10.0;
110+
};
111+
};
112+
};
113+
buildConfigurationList = C0C5FBBB2242312D00A7ABCE /* Build configuration list for PBXProject "Stack_ValidParentheses" */;
114+
compatibilityVersion = "Xcode 9.3";
115+
developmentRegion = en;
116+
hasScannedForEncodings = 0;
117+
knownRegions = (
118+
en,
119+
Base,
120+
);
121+
mainGroup = C0C5FBB72242312D00A7ABCE;
122+
productRefGroup = C0C5FBC12242312D00A7ABCE /* Products */;
123+
projectDirPath = "";
124+
projectRoot = "";
125+
targets = (
126+
C0C5FBBF2242312D00A7ABCE /* Stack_ValidParentheses */,
127+
);
128+
};
129+
/* End PBXProject section */
130+
131+
/* Begin PBXResourcesBuildPhase section */
132+
C0C5FBBE2242312D00A7ABCE /* Resources */ = {
133+
isa = PBXResourcesBuildPhase;
134+
buildActionMask = 2147483647;
135+
files = (
136+
C0C5FBD02242312F00A7ABCE /* LaunchScreen.storyboard in Resources */,
137+
C0C5FBCD2242312F00A7ABCE /* Assets.xcassets in Resources */,
138+
C0C5FBCB2242312D00A7ABCE /* Main.storyboard in Resources */,
139+
);
140+
runOnlyForDeploymentPostprocessing = 0;
141+
};
142+
/* End PBXResourcesBuildPhase section */
143+
144+
/* Begin PBXSourcesBuildPhase section */
145+
C0C5FBBC2242312D00A7ABCE /* Sources */ = {
146+
isa = PBXSourcesBuildPhase;
147+
buildActionMask = 2147483647;
148+
files = (
149+
C0C5FBC82242312D00A7ABCE /* ViewController.m in Sources */,
150+
C0C5FBDB2242315900A7ABCE /* DSStack.m in Sources */,
151+
C0C5FBD32242312F00A7ABCE /* main.m in Sources */,
152+
C0C5FBC52242312D00A7ABCE /* AppDelegate.m in Sources */,
153+
);
154+
runOnlyForDeploymentPostprocessing = 0;
155+
};
156+
/* End PBXSourcesBuildPhase section */
157+
158+
/* Begin PBXVariantGroup section */
159+
C0C5FBC92242312D00A7ABCE /* Main.storyboard */ = {
160+
isa = PBXVariantGroup;
161+
children = (
162+
C0C5FBCA2242312D00A7ABCE /* Base */,
163+
);
164+
name = Main.storyboard;
165+
sourceTree = "<group>";
166+
};
167+
C0C5FBCE2242312F00A7ABCE /* LaunchScreen.storyboard */ = {
168+
isa = PBXVariantGroup;
169+
children = (
170+
C0C5FBCF2242312F00A7ABCE /* Base */,
171+
);
172+
name = LaunchScreen.storyboard;
173+
sourceTree = "<group>";
174+
};
175+
/* End PBXVariantGroup section */
176+
177+
/* Begin XCBuildConfiguration section */
178+
C0C5FBD42242312F00A7ABCE /* Debug */ = {
179+
isa = XCBuildConfiguration;
180+
buildSettings = {
181+
ALWAYS_SEARCH_USER_PATHS = NO;
182+
CLANG_ANALYZER_NONNULL = YES;
183+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
184+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
185+
CLANG_CXX_LIBRARY = "libc++";
186+
CLANG_ENABLE_MODULES = YES;
187+
CLANG_ENABLE_OBJC_ARC = YES;
188+
CLANG_ENABLE_OBJC_WEAK = YES;
189+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
190+
CLANG_WARN_BOOL_CONVERSION = YES;
191+
CLANG_WARN_COMMA = YES;
192+
CLANG_WARN_CONSTANT_CONVERSION = YES;
193+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
194+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
195+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
196+
CLANG_WARN_EMPTY_BODY = YES;
197+
CLANG_WARN_ENUM_CONVERSION = YES;
198+
CLANG_WARN_INFINITE_RECURSION = YES;
199+
CLANG_WARN_INT_CONVERSION = YES;
200+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
201+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
202+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
203+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
204+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
205+
CLANG_WARN_STRICT_PROTOTYPES = YES;
206+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
207+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
208+
CLANG_WARN_UNREACHABLE_CODE = YES;
209+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
210+
CODE_SIGN_IDENTITY = "iPhone Developer";
211+
COPY_PHASE_STRIP = NO;
212+
DEBUG_INFORMATION_FORMAT = dwarf;
213+
ENABLE_STRICT_OBJC_MSGSEND = YES;
214+
ENABLE_TESTABILITY = YES;
215+
GCC_C_LANGUAGE_STANDARD = gnu11;
216+
GCC_DYNAMIC_NO_PIC = NO;
217+
GCC_NO_COMMON_BLOCKS = YES;
218+
GCC_OPTIMIZATION_LEVEL = 0;
219+
GCC_PREPROCESSOR_DEFINITIONS = (
220+
"DEBUG=1",
221+
"$(inherited)",
222+
);
223+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
224+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
225+
GCC_WARN_UNDECLARED_SELECTOR = YES;
226+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
227+
GCC_WARN_UNUSED_FUNCTION = YES;
228+
GCC_WARN_UNUSED_VARIABLE = YES;
229+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
230+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
231+
MTL_FAST_MATH = YES;
232+
ONLY_ACTIVE_ARCH = YES;
233+
SDKROOT = iphoneos;
234+
};
235+
name = Debug;
236+
};
237+
C0C5FBD52242312F00A7ABCE /* Release */ = {
238+
isa = XCBuildConfiguration;
239+
buildSettings = {
240+
ALWAYS_SEARCH_USER_PATHS = NO;
241+
CLANG_ANALYZER_NONNULL = YES;
242+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
243+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
244+
CLANG_CXX_LIBRARY = "libc++";
245+
CLANG_ENABLE_MODULES = YES;
246+
CLANG_ENABLE_OBJC_ARC = YES;
247+
CLANG_ENABLE_OBJC_WEAK = YES;
248+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
249+
CLANG_WARN_BOOL_CONVERSION = YES;
250+
CLANG_WARN_COMMA = YES;
251+
CLANG_WARN_CONSTANT_CONVERSION = YES;
252+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
253+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
254+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
255+
CLANG_WARN_EMPTY_BODY = YES;
256+
CLANG_WARN_ENUM_CONVERSION = YES;
257+
CLANG_WARN_INFINITE_RECURSION = YES;
258+
CLANG_WARN_INT_CONVERSION = YES;
259+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
260+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
261+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
262+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
263+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
264+
CLANG_WARN_STRICT_PROTOTYPES = YES;
265+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
266+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
267+
CLANG_WARN_UNREACHABLE_CODE = YES;
268+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
269+
CODE_SIGN_IDENTITY = "iPhone Developer";
270+
COPY_PHASE_STRIP = NO;
271+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
272+
ENABLE_NS_ASSERTIONS = NO;
273+
ENABLE_STRICT_OBJC_MSGSEND = YES;
274+
GCC_C_LANGUAGE_STANDARD = gnu11;
275+
GCC_NO_COMMON_BLOCKS = YES;
276+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
277+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
278+
GCC_WARN_UNDECLARED_SELECTOR = YES;
279+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
280+
GCC_WARN_UNUSED_FUNCTION = YES;
281+
GCC_WARN_UNUSED_VARIABLE = YES;
282+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
283+
MTL_ENABLE_DEBUG_INFO = NO;
284+
MTL_FAST_MATH = YES;
285+
SDKROOT = iphoneos;
286+
VALIDATE_PRODUCT = YES;
287+
};
288+
name = Release;
289+
};
290+
C0C5FBD72242312F00A7ABCE /* Debug */ = {
291+
isa = XCBuildConfiguration;
292+
buildSettings = {
293+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
294+
CODE_SIGN_STYLE = Automatic;
295+
DEVELOPMENT_TEAM = 53VJ4UQQ8H;
296+
INFOPLIST_FILE = Stack_ValidParentheses/Info.plist;
297+
LD_RUNPATH_SEARCH_PATHS = (
298+
"$(inherited)",
299+
"@executable_path/Frameworks",
300+
);
301+
PRODUCT_BUNDLE_IDENTIFIER = "com.qiqi.test.Stack-ValidParentheses";
302+
PRODUCT_NAME = "$(TARGET_NAME)";
303+
TARGETED_DEVICE_FAMILY = "1,2";
304+
};
305+
name = Debug;
306+
};
307+
C0C5FBD82242312F00A7ABCE /* Release */ = {
308+
isa = XCBuildConfiguration;
309+
buildSettings = {
310+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
311+
CODE_SIGN_STYLE = Automatic;
312+
DEVELOPMENT_TEAM = 53VJ4UQQ8H;
313+
INFOPLIST_FILE = Stack_ValidParentheses/Info.plist;
314+
LD_RUNPATH_SEARCH_PATHS = (
315+
"$(inherited)",
316+
"@executable_path/Frameworks",
317+
);
318+
PRODUCT_BUNDLE_IDENTIFIER = "com.qiqi.test.Stack-ValidParentheses";
319+
PRODUCT_NAME = "$(TARGET_NAME)";
320+
TARGETED_DEVICE_FAMILY = "1,2";
321+
};
322+
name = Release;
323+
};
324+
/* End XCBuildConfiguration section */
325+
326+
/* Begin XCConfigurationList section */
327+
C0C5FBBB2242312D00A7ABCE /* Build configuration list for PBXProject "Stack_ValidParentheses" */ = {
328+
isa = XCConfigurationList;
329+
buildConfigurations = (
330+
C0C5FBD42242312F00A7ABCE /* Debug */,
331+
C0C5FBD52242312F00A7ABCE /* Release */,
332+
);
333+
defaultConfigurationIsVisible = 0;
334+
defaultConfigurationName = Release;
335+
};
336+
C0C5FBD62242312F00A7ABCE /* Build configuration list for PBXNativeTarget "Stack_ValidParentheses" */ = {
337+
isa = XCConfigurationList;
338+
buildConfigurations = (
339+
C0C5FBD72242312F00A7ABCE /* Debug */,
340+
C0C5FBD82242312F00A7ABCE /* Release */,
341+
);
342+
defaultConfigurationIsVisible = 0;
343+
defaultConfigurationName = Release;
344+
};
345+
/* End XCConfigurationList section */
346+
};
347+
rootObject = C0C5FBB82242312D00A7ABCE /* Project object */;
348+
}

Day03/Stack_ValidParentheses/Stack_ValidParentheses.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,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>
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>Stack_ValidParentheses.xcscheme</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
</dict>
13+
</dict>
14+
</plist>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//
2+
// AppDelegate.h
3+
// Stack_ValidParentheses
4+
//
5+
// Created by penghe on 2019/3/20.
6+
// Copyright © 2019年 WondersGroup. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
@interface AppDelegate : UIResponder <UIApplicationDelegate>
12+
13+
@property (strong, nonatomic) UIWindow *window;
14+
15+
16+
@end
17+

0 commit comments

Comments
 (0)