Skip to content

Commit 4a96bd3

Browse files
author
YILING
committed
Initial Commit
0 parents  commit 4a96bd3

File tree

5 files changed

+388
-0
lines changed

5 files changed

+388
-0
lines changed

LeetCode.xcodeproj/project.pbxproj

Lines changed: 253 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,253 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
6DEF8F5F1E75A0EC0028351C /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6DEF8F5E1E75A0EC0028351C /* main.cpp */; };
11+
/* End PBXBuildFile section */
12+
13+
/* Begin PBXCopyFilesBuildPhase section */
14+
6DEF8F591E75A0EC0028351C /* CopyFiles */ = {
15+
isa = PBXCopyFilesBuildPhase;
16+
buildActionMask = 2147483647;
17+
dstPath = /usr/share/man/man1/;
18+
dstSubfolderSpec = 0;
19+
files = (
20+
);
21+
runOnlyForDeploymentPostprocessing = 1;
22+
};
23+
/* End PBXCopyFilesBuildPhase section */
24+
25+
/* Begin PBXFileReference section */
26+
6DEF8F5B1E75A0EC0028351C /* LeetCode */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = LeetCode; sourceTree = BUILT_PRODUCTS_DIR; };
27+
6DEF8F5E1E75A0EC0028351C /* main.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = "<group>"; };
28+
/* End PBXFileReference section */
29+
30+
/* Begin PBXFrameworksBuildPhase section */
31+
6DEF8F581E75A0EC0028351C /* Frameworks */ = {
32+
isa = PBXFrameworksBuildPhase;
33+
buildActionMask = 2147483647;
34+
files = (
35+
);
36+
runOnlyForDeploymentPostprocessing = 0;
37+
};
38+
/* End PBXFrameworksBuildPhase section */
39+
40+
/* Begin PBXGroup section */
41+
6DEF8F521E75A0EB0028351C = {
42+
isa = PBXGroup;
43+
children = (
44+
6DEF8F5D1E75A0EC0028351C /* LeetCode */,
45+
6DEF8F5C1E75A0EC0028351C /* Products */,
46+
);
47+
sourceTree = "<group>";
48+
};
49+
6DEF8F5C1E75A0EC0028351C /* Products */ = {
50+
isa = PBXGroup;
51+
children = (
52+
6DEF8F5B1E75A0EC0028351C /* LeetCode */,
53+
);
54+
name = Products;
55+
sourceTree = "<group>";
56+
};
57+
6DEF8F5D1E75A0EC0028351C /* LeetCode */ = {
58+
isa = PBXGroup;
59+
children = (
60+
6DEF8F5E1E75A0EC0028351C /* main.cpp */,
61+
);
62+
path = LeetCode;
63+
sourceTree = "<group>";
64+
};
65+
/* End PBXGroup section */
66+
67+
/* Begin PBXNativeTarget section */
68+
6DEF8F5A1E75A0EC0028351C /* LeetCode */ = {
69+
isa = PBXNativeTarget;
70+
buildConfigurationList = 6DEF8F621E75A0EC0028351C /* Build configuration list for PBXNativeTarget "LeetCode" */;
71+
buildPhases = (
72+
6DEF8F571E75A0EC0028351C /* Sources */,
73+
6DEF8F581E75A0EC0028351C /* Frameworks */,
74+
6DEF8F591E75A0EC0028351C /* CopyFiles */,
75+
);
76+
buildRules = (
77+
);
78+
dependencies = (
79+
);
80+
name = LeetCode;
81+
productName = LeetCode;
82+
productReference = 6DEF8F5B1E75A0EC0028351C /* LeetCode */;
83+
productType = "com.apple.product-type.tool";
84+
};
85+
/* End PBXNativeTarget section */
86+
87+
/* Begin PBXProject section */
88+
6DEF8F531E75A0EB0028351C /* Project object */ = {
89+
isa = PBXProject;
90+
attributes = {
91+
LastUpgradeCheck = 0820;
92+
ORGANIZATIONNAME = YILING;
93+
TargetAttributes = {
94+
6DEF8F5A1E75A0EC0028351C = {
95+
CreatedOnToolsVersion = 8.2.1;
96+
ProvisioningStyle = Automatic;
97+
};
98+
};
99+
};
100+
buildConfigurationList = 6DEF8F561E75A0EC0028351C /* Build configuration list for PBXProject "LeetCode" */;
101+
compatibilityVersion = "Xcode 3.2";
102+
developmentRegion = English;
103+
hasScannedForEncodings = 0;
104+
knownRegions = (
105+
en,
106+
);
107+
mainGroup = 6DEF8F521E75A0EB0028351C;
108+
productRefGroup = 6DEF8F5C1E75A0EC0028351C /* Products */;
109+
projectDirPath = "";
110+
projectRoot = "";
111+
targets = (
112+
6DEF8F5A1E75A0EC0028351C /* LeetCode */,
113+
);
114+
};
115+
/* End PBXProject section */
116+
117+
/* Begin PBXSourcesBuildPhase section */
118+
6DEF8F571E75A0EC0028351C /* Sources */ = {
119+
isa = PBXSourcesBuildPhase;
120+
buildActionMask = 2147483647;
121+
files = (
122+
6DEF8F5F1E75A0EC0028351C /* main.cpp in Sources */,
123+
);
124+
runOnlyForDeploymentPostprocessing = 0;
125+
};
126+
/* End PBXSourcesBuildPhase section */
127+
128+
/* Begin XCBuildConfiguration section */
129+
6DEF8F601E75A0EC0028351C /* Debug */ = {
130+
isa = XCBuildConfiguration;
131+
buildSettings = {
132+
ALWAYS_SEARCH_USER_PATHS = NO;
133+
CLANG_ANALYZER_NONNULL = YES;
134+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
135+
CLANG_CXX_LIBRARY = "libc++";
136+
CLANG_ENABLE_MODULES = YES;
137+
CLANG_ENABLE_OBJC_ARC = YES;
138+
CLANG_WARN_BOOL_CONVERSION = YES;
139+
CLANG_WARN_CONSTANT_CONVERSION = YES;
140+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
141+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
142+
CLANG_WARN_EMPTY_BODY = YES;
143+
CLANG_WARN_ENUM_CONVERSION = YES;
144+
CLANG_WARN_INFINITE_RECURSION = YES;
145+
CLANG_WARN_INT_CONVERSION = YES;
146+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
147+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
148+
CLANG_WARN_UNREACHABLE_CODE = YES;
149+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
150+
CODE_SIGN_IDENTITY = "-";
151+
COPY_PHASE_STRIP = NO;
152+
DEBUG_INFORMATION_FORMAT = dwarf;
153+
ENABLE_STRICT_OBJC_MSGSEND = YES;
154+
ENABLE_TESTABILITY = YES;
155+
GCC_C_LANGUAGE_STANDARD = gnu99;
156+
GCC_DYNAMIC_NO_PIC = NO;
157+
GCC_NO_COMMON_BLOCKS = YES;
158+
GCC_OPTIMIZATION_LEVEL = 0;
159+
GCC_PREPROCESSOR_DEFINITIONS = (
160+
"DEBUG=1",
161+
"$(inherited)",
162+
);
163+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
164+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
165+
GCC_WARN_UNDECLARED_SELECTOR = YES;
166+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
167+
GCC_WARN_UNUSED_FUNCTION = YES;
168+
GCC_WARN_UNUSED_VARIABLE = YES;
169+
MACOSX_DEPLOYMENT_TARGET = 10.12;
170+
MTL_ENABLE_DEBUG_INFO = YES;
171+
ONLY_ACTIVE_ARCH = YES;
172+
SDKROOT = macosx;
173+
};
174+
name = Debug;
175+
};
176+
6DEF8F611E75A0EC0028351C /* Release */ = {
177+
isa = XCBuildConfiguration;
178+
buildSettings = {
179+
ALWAYS_SEARCH_USER_PATHS = NO;
180+
CLANG_ANALYZER_NONNULL = YES;
181+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
182+
CLANG_CXX_LIBRARY = "libc++";
183+
CLANG_ENABLE_MODULES = YES;
184+
CLANG_ENABLE_OBJC_ARC = YES;
185+
CLANG_WARN_BOOL_CONVERSION = YES;
186+
CLANG_WARN_CONSTANT_CONVERSION = YES;
187+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
188+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
189+
CLANG_WARN_EMPTY_BODY = YES;
190+
CLANG_WARN_ENUM_CONVERSION = YES;
191+
CLANG_WARN_INFINITE_RECURSION = YES;
192+
CLANG_WARN_INT_CONVERSION = YES;
193+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
194+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
195+
CLANG_WARN_UNREACHABLE_CODE = YES;
196+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
197+
CODE_SIGN_IDENTITY = "-";
198+
COPY_PHASE_STRIP = NO;
199+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
200+
ENABLE_NS_ASSERTIONS = NO;
201+
ENABLE_STRICT_OBJC_MSGSEND = YES;
202+
GCC_C_LANGUAGE_STANDARD = gnu99;
203+
GCC_NO_COMMON_BLOCKS = YES;
204+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
205+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
206+
GCC_WARN_UNDECLARED_SELECTOR = YES;
207+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
208+
GCC_WARN_UNUSED_FUNCTION = YES;
209+
GCC_WARN_UNUSED_VARIABLE = YES;
210+
MACOSX_DEPLOYMENT_TARGET = 10.12;
211+
MTL_ENABLE_DEBUG_INFO = NO;
212+
SDKROOT = macosx;
213+
};
214+
name = Release;
215+
};
216+
6DEF8F631E75A0EC0028351C /* Debug */ = {
217+
isa = XCBuildConfiguration;
218+
buildSettings = {
219+
PRODUCT_NAME = "$(TARGET_NAME)";
220+
};
221+
name = Debug;
222+
};
223+
6DEF8F641E75A0EC0028351C /* Release */ = {
224+
isa = XCBuildConfiguration;
225+
buildSettings = {
226+
PRODUCT_NAME = "$(TARGET_NAME)";
227+
};
228+
name = Release;
229+
};
230+
/* End XCBuildConfiguration section */
231+
232+
/* Begin XCConfigurationList section */
233+
6DEF8F561E75A0EC0028351C /* Build configuration list for PBXProject "LeetCode" */ = {
234+
isa = XCConfigurationList;
235+
buildConfigurations = (
236+
6DEF8F601E75A0EC0028351C /* Debug */,
237+
6DEF8F611E75A0EC0028351C /* Release */,
238+
);
239+
defaultConfigurationIsVisible = 0;
240+
defaultConfigurationName = Release;
241+
};
242+
6DEF8F621E75A0EC0028351C /* Build configuration list for PBXNativeTarget "LeetCode" */ = {
243+
isa = XCConfigurationList;
244+
buildConfigurations = (
245+
6DEF8F631E75A0EC0028351C /* Debug */,
246+
6DEF8F641E75A0EC0028351C /* Release */,
247+
);
248+
defaultConfigurationIsVisible = 0;
249+
};
250+
/* End XCConfigurationList section */
251+
};
252+
rootObject = 6DEF8F531E75A0EB0028351C /* Project object */;
253+
}

LeetCode.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: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0820"
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 = "6DEF8F5A1E75A0EC0028351C"
18+
BuildableName = "LeetCode"
19+
BlueprintName = "LeetCode"
20+
ReferencedContainer = "container:LeetCode.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+
<MacroExpansion>
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "6DEF8F5A1E75A0EC0028351C"
36+
BuildableName = "LeetCode"
37+
BlueprintName = "LeetCode"
38+
ReferencedContainer = "container:LeetCode.xcodeproj">
39+
</BuildableReference>
40+
</MacroExpansion>
41+
<AdditionalOptions>
42+
</AdditionalOptions>
43+
</TestAction>
44+
<LaunchAction
45+
buildConfiguration = "Debug"
46+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
47+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
48+
launchStyle = "0"
49+
useCustomWorkingDirectory = "NO"
50+
ignoresPersistentStateOnLaunch = "NO"
51+
debugDocumentVersioning = "YES"
52+
debugServiceExtension = "internal"
53+
allowLocationSimulation = "YES">
54+
<BuildableProductRunnable
55+
runnableDebuggingMode = "0">
56+
<BuildableReference
57+
BuildableIdentifier = "primary"
58+
BlueprintIdentifier = "6DEF8F5A1E75A0EC0028351C"
59+
BuildableName = "LeetCode"
60+
BlueprintName = "LeetCode"
61+
ReferencedContainer = "container:LeetCode.xcodeproj">
62+
</BuildableReference>
63+
</BuildableProductRunnable>
64+
<AdditionalOptions>
65+
</AdditionalOptions>
66+
</LaunchAction>
67+
<ProfileAction
68+
buildConfiguration = "Release"
69+
shouldUseLaunchSchemeArgsEnv = "YES"
70+
savedToolIdentifier = ""
71+
useCustomWorkingDirectory = "NO"
72+
debugDocumentVersioning = "YES">
73+
<BuildableProductRunnable
74+
runnableDebuggingMode = "0">
75+
<BuildableReference
76+
BuildableIdentifier = "primary"
77+
BlueprintIdentifier = "6DEF8F5A1E75A0EC0028351C"
78+
BuildableName = "LeetCode"
79+
BlueprintName = "LeetCode"
80+
ReferencedContainer = "container:LeetCode.xcodeproj">
81+
</BuildableReference>
82+
</BuildableProductRunnable>
83+
</ProfileAction>
84+
<AnalyzeAction
85+
buildConfiguration = "Debug">
86+
</AnalyzeAction>
87+
<ArchiveAction
88+
buildConfiguration = "Release"
89+
revealArchiveInOrganizer = "YES">
90+
</ArchiveAction>
91+
</Scheme>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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>LeetCode.xcscheme</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
</dict>
13+
<key>SuppressBuildableAutocreation</key>
14+
<dict>
15+
<key>6DEF8F5A1E75A0EC0028351C</key>
16+
<dict>
17+
<key>primary</key>
18+
<true/>
19+
</dict>
20+
</dict>
21+
</dict>
22+
</plist>

LeetCode/main.cpp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//
2+
// main.cpp
3+
// LeetCode
4+
//
5+
// Created by Yi-Ling Wu on 12/03/2017.
6+
// Copyright © 2017 YILING. All rights reserved.
7+
//
8+
9+
#include <iostream>
10+
11+
int main(int argc, const char * argv[]) {
12+
// insert code here...
13+
std::cout << "Hello, World!\n";
14+
return 0;
15+
}

0 commit comments

Comments
 (0)