Skip to content

Commit 3acb991

Browse files
committed
Init project.
1 parent 2d11fda commit 3acb991

File tree

20 files changed

+1566
-10
lines changed

20 files changed

+1566
-10
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ DerivedData/
66
.swiftpm/configuration/registries.json
77
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
88
.netrc
9+
10+
Sources/CodeMirror/html/node_modules
11+
Sources/CodeMirror/html/package-lock.json
Lines changed: 349 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,349 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 77;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
E0B219522E4A3A5600A77FA4 /* CodeMirror in Frameworks */ = {isa = PBXBuildFile; productRef = E0B219512E4A3A5600A77FA4 /* CodeMirror */; };
11+
/* End PBXBuildFile section */
12+
13+
/* Begin PBXFileReference section */
14+
E0B219412E4A3A2300A77FA4 /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
15+
/* End PBXFileReference section */
16+
17+
/* Begin PBXFileSystemSynchronizedRootGroup section */
18+
E0B219432E4A3A2300A77FA4 /* Example */ = {
19+
isa = PBXFileSystemSynchronizedRootGroup;
20+
path = Example;
21+
sourceTree = "<group>";
22+
};
23+
/* End PBXFileSystemSynchronizedRootGroup section */
24+
25+
/* Begin PBXFrameworksBuildPhase section */
26+
E0B2193E2E4A3A2300A77FA4 /* Frameworks */ = {
27+
isa = PBXFrameworksBuildPhase;
28+
buildActionMask = 2147483647;
29+
files = (
30+
E0B219522E4A3A5600A77FA4 /* CodeMirror in Frameworks */,
31+
);
32+
runOnlyForDeploymentPostprocessing = 0;
33+
};
34+
/* End PBXFrameworksBuildPhase section */
35+
36+
/* Begin PBXGroup section */
37+
E0B219382E4A3A2300A77FA4 = {
38+
isa = PBXGroup;
39+
children = (
40+
E0B219432E4A3A2300A77FA4 /* Example */,
41+
E0B219422E4A3A2300A77FA4 /* Products */,
42+
);
43+
sourceTree = "<group>";
44+
};
45+
E0B219422E4A3A2300A77FA4 /* Products */ = {
46+
isa = PBXGroup;
47+
children = (
48+
E0B219412E4A3A2300A77FA4 /* Example.app */,
49+
);
50+
name = Products;
51+
sourceTree = "<group>";
52+
};
53+
/* End PBXGroup section */
54+
55+
/* Begin PBXNativeTarget section */
56+
E0B219402E4A3A2300A77FA4 /* Example */ = {
57+
isa = PBXNativeTarget;
58+
buildConfigurationList = E0B2194D2E4A3A2500A77FA4 /* Build configuration list for PBXNativeTarget "Example" */;
59+
buildPhases = (
60+
E0B2193D2E4A3A2300A77FA4 /* Sources */,
61+
E0B2193E2E4A3A2300A77FA4 /* Frameworks */,
62+
E0B2193F2E4A3A2300A77FA4 /* Resources */,
63+
);
64+
buildRules = (
65+
);
66+
dependencies = (
67+
);
68+
fileSystemSynchronizedGroups = (
69+
E0B219432E4A3A2300A77FA4 /* Example */,
70+
);
71+
name = Example;
72+
packageProductDependencies = (
73+
E0B219512E4A3A5600A77FA4 /* CodeMirror */,
74+
);
75+
productName = Example;
76+
productReference = E0B219412E4A3A2300A77FA4 /* Example.app */;
77+
productType = "com.apple.product-type.application";
78+
};
79+
/* End PBXNativeTarget section */
80+
81+
/* Begin PBXProject section */
82+
E0B219392E4A3A2300A77FA4 /* Project object */ = {
83+
isa = PBXProject;
84+
attributes = {
85+
BuildIndependentTargetsInParallel = 1;
86+
LastSwiftUpdateCheck = 1640;
87+
LastUpgradeCheck = 1640;
88+
TargetAttributes = {
89+
E0B219402E4A3A2300A77FA4 = {
90+
CreatedOnToolsVersion = 16.4;
91+
};
92+
};
93+
};
94+
buildConfigurationList = E0B2193C2E4A3A2300A77FA4 /* Build configuration list for PBXProject "Example" */;
95+
developmentRegion = en;
96+
hasScannedForEncodings = 0;
97+
knownRegions = (
98+
en,
99+
Base,
100+
);
101+
mainGroup = E0B219382E4A3A2300A77FA4;
102+
minimizedProjectReferenceProxies = 1;
103+
packageReferences = (
104+
E0B219502E4A3A5600A77FA4 /* XCLocalSwiftPackageReference "../../swiftui-codemirror" */,
105+
);
106+
preferredProjectObjectVersion = 77;
107+
productRefGroup = E0B219422E4A3A2300A77FA4 /* Products */;
108+
projectDirPath = "";
109+
projectRoot = "";
110+
targets = (
111+
E0B219402E4A3A2300A77FA4 /* Example */,
112+
);
113+
};
114+
/* End PBXProject section */
115+
116+
/* Begin PBXResourcesBuildPhase section */
117+
E0B2193F2E4A3A2300A77FA4 /* Resources */ = {
118+
isa = PBXResourcesBuildPhase;
119+
buildActionMask = 2147483647;
120+
files = (
121+
);
122+
runOnlyForDeploymentPostprocessing = 0;
123+
};
124+
/* End PBXResourcesBuildPhase section */
125+
126+
/* Begin PBXSourcesBuildPhase section */
127+
E0B2193D2E4A3A2300A77FA4 /* Sources */ = {
128+
isa = PBXSourcesBuildPhase;
129+
buildActionMask = 2147483647;
130+
files = (
131+
);
132+
runOnlyForDeploymentPostprocessing = 0;
133+
};
134+
/* End PBXSourcesBuildPhase section */
135+
136+
/* Begin XCBuildConfiguration section */
137+
E0B2194B2E4A3A2500A77FA4 /* Debug */ = {
138+
isa = XCBuildConfiguration;
139+
buildSettings = {
140+
ALWAYS_SEARCH_USER_PATHS = NO;
141+
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
142+
CLANG_ANALYZER_NONNULL = YES;
143+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
144+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
145+
CLANG_ENABLE_MODULES = YES;
146+
CLANG_ENABLE_OBJC_ARC = YES;
147+
CLANG_ENABLE_OBJC_WEAK = YES;
148+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
149+
CLANG_WARN_BOOL_CONVERSION = YES;
150+
CLANG_WARN_COMMA = YES;
151+
CLANG_WARN_CONSTANT_CONVERSION = YES;
152+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
153+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
154+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
155+
CLANG_WARN_EMPTY_BODY = YES;
156+
CLANG_WARN_ENUM_CONVERSION = YES;
157+
CLANG_WARN_INFINITE_RECURSION = YES;
158+
CLANG_WARN_INT_CONVERSION = YES;
159+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
160+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
161+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
162+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
163+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
164+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
165+
CLANG_WARN_STRICT_PROTOTYPES = YES;
166+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
167+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
168+
CLANG_WARN_UNREACHABLE_CODE = YES;
169+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
170+
COPY_PHASE_STRIP = NO;
171+
DEBUG_INFORMATION_FORMAT = dwarf;
172+
DEVELOPMENT_TEAM = GR99S2ZJZQ;
173+
ENABLE_STRICT_OBJC_MSGSEND = YES;
174+
ENABLE_TESTABILITY = YES;
175+
ENABLE_USER_SCRIPT_SANDBOXING = YES;
176+
GCC_C_LANGUAGE_STANDARD = gnu17;
177+
GCC_DYNAMIC_NO_PIC = NO;
178+
GCC_NO_COMMON_BLOCKS = YES;
179+
GCC_OPTIMIZATION_LEVEL = 0;
180+
GCC_PREPROCESSOR_DEFINITIONS = (
181+
"DEBUG=1",
182+
"$(inherited)",
183+
);
184+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
185+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
186+
GCC_WARN_UNDECLARED_SELECTOR = YES;
187+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
188+
GCC_WARN_UNUSED_FUNCTION = YES;
189+
GCC_WARN_UNUSED_VARIABLE = YES;
190+
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
191+
MACOSX_DEPLOYMENT_TARGET = 15.5;
192+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
193+
MTL_FAST_MATH = YES;
194+
ONLY_ACTIVE_ARCH = YES;
195+
SDKROOT = macosx;
196+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
197+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
198+
};
199+
name = Debug;
200+
};
201+
E0B2194C2E4A3A2500A77FA4 /* Release */ = {
202+
isa = XCBuildConfiguration;
203+
buildSettings = {
204+
ALWAYS_SEARCH_USER_PATHS = NO;
205+
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
206+
CLANG_ANALYZER_NONNULL = YES;
207+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
208+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
209+
CLANG_ENABLE_MODULES = YES;
210+
CLANG_ENABLE_OBJC_ARC = YES;
211+
CLANG_ENABLE_OBJC_WEAK = YES;
212+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
213+
CLANG_WARN_BOOL_CONVERSION = YES;
214+
CLANG_WARN_COMMA = YES;
215+
CLANG_WARN_CONSTANT_CONVERSION = YES;
216+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
217+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
218+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
219+
CLANG_WARN_EMPTY_BODY = YES;
220+
CLANG_WARN_ENUM_CONVERSION = YES;
221+
CLANG_WARN_INFINITE_RECURSION = YES;
222+
CLANG_WARN_INT_CONVERSION = YES;
223+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
224+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
225+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
226+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
227+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
228+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
229+
CLANG_WARN_STRICT_PROTOTYPES = YES;
230+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
231+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
232+
CLANG_WARN_UNREACHABLE_CODE = YES;
233+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
234+
COPY_PHASE_STRIP = NO;
235+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
236+
DEVELOPMENT_TEAM = GR99S2ZJZQ;
237+
ENABLE_NS_ASSERTIONS = NO;
238+
ENABLE_STRICT_OBJC_MSGSEND = YES;
239+
ENABLE_USER_SCRIPT_SANDBOXING = YES;
240+
GCC_C_LANGUAGE_STANDARD = gnu17;
241+
GCC_NO_COMMON_BLOCKS = YES;
242+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
243+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
244+
GCC_WARN_UNDECLARED_SELECTOR = YES;
245+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
246+
GCC_WARN_UNUSED_FUNCTION = YES;
247+
GCC_WARN_UNUSED_VARIABLE = YES;
248+
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
249+
MACOSX_DEPLOYMENT_TARGET = 15.5;
250+
MTL_ENABLE_DEBUG_INFO = NO;
251+
MTL_FAST_MATH = YES;
252+
SDKROOT = macosx;
253+
SWIFT_COMPILATION_MODE = wholemodule;
254+
};
255+
name = Release;
256+
};
257+
E0B2194E2E4A3A2500A77FA4 /* Debug */ = {
258+
isa = XCBuildConfiguration;
259+
buildSettings = {
260+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
261+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
262+
CODE_SIGN_ENTITLEMENTS = Example/Example.entitlements;
263+
CODE_SIGN_STYLE = Automatic;
264+
COMBINE_HIDPI_IMAGES = YES;
265+
CURRENT_PROJECT_VERSION = 1;
266+
DEVELOPMENT_TEAM = GR99S2ZJZQ;
267+
ENABLE_HARDENED_RUNTIME = YES;
268+
ENABLE_PREVIEWS = YES;
269+
GENERATE_INFOPLIST_FILE = YES;
270+
INFOPLIST_KEY_NSHumanReadableCopyright = "";
271+
LD_RUNPATH_SEARCH_PATHS = (
272+
"$(inherited)",
273+
"@executable_path/../Frameworks",
274+
);
275+
MARKETING_VERSION = 1.0;
276+
PRODUCT_BUNDLE_IDENTIFIER = com.wangchujiang.Example;
277+
PRODUCT_NAME = "$(TARGET_NAME)";
278+
REGISTER_APP_GROUPS = YES;
279+
SWIFT_EMIT_LOC_STRINGS = YES;
280+
SWIFT_VERSION = 5.0;
281+
};
282+
name = Debug;
283+
};
284+
E0B2194F2E4A3A2500A77FA4 /* Release */ = {
285+
isa = XCBuildConfiguration;
286+
buildSettings = {
287+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
288+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
289+
CODE_SIGN_ENTITLEMENTS = Example/Example.entitlements;
290+
CODE_SIGN_STYLE = Automatic;
291+
COMBINE_HIDPI_IMAGES = YES;
292+
CURRENT_PROJECT_VERSION = 1;
293+
DEVELOPMENT_TEAM = GR99S2ZJZQ;
294+
ENABLE_HARDENED_RUNTIME = YES;
295+
ENABLE_PREVIEWS = YES;
296+
GENERATE_INFOPLIST_FILE = YES;
297+
INFOPLIST_KEY_NSHumanReadableCopyright = "";
298+
LD_RUNPATH_SEARCH_PATHS = (
299+
"$(inherited)",
300+
"@executable_path/../Frameworks",
301+
);
302+
MARKETING_VERSION = 1.0;
303+
PRODUCT_BUNDLE_IDENTIFIER = com.wangchujiang.Example;
304+
PRODUCT_NAME = "$(TARGET_NAME)";
305+
REGISTER_APP_GROUPS = YES;
306+
SWIFT_EMIT_LOC_STRINGS = YES;
307+
SWIFT_VERSION = 5.0;
308+
};
309+
name = Release;
310+
};
311+
/* End XCBuildConfiguration section */
312+
313+
/* Begin XCConfigurationList section */
314+
E0B2193C2E4A3A2300A77FA4 /* Build configuration list for PBXProject "Example" */ = {
315+
isa = XCConfigurationList;
316+
buildConfigurations = (
317+
E0B2194B2E4A3A2500A77FA4 /* Debug */,
318+
E0B2194C2E4A3A2500A77FA4 /* Release */,
319+
);
320+
defaultConfigurationIsVisible = 0;
321+
defaultConfigurationName = Release;
322+
};
323+
E0B2194D2E4A3A2500A77FA4 /* Build configuration list for PBXNativeTarget "Example" */ = {
324+
isa = XCConfigurationList;
325+
buildConfigurations = (
326+
E0B2194E2E4A3A2500A77FA4 /* Debug */,
327+
E0B2194F2E4A3A2500A77FA4 /* Release */,
328+
);
329+
defaultConfigurationIsVisible = 0;
330+
defaultConfigurationName = Release;
331+
};
332+
/* End XCConfigurationList section */
333+
334+
/* Begin XCLocalSwiftPackageReference section */
335+
E0B219502E4A3A5600A77FA4 /* XCLocalSwiftPackageReference "../../swiftui-codemirror" */ = {
336+
isa = XCLocalSwiftPackageReference;
337+
relativePath = "../../swiftui-codemirror";
338+
};
339+
/* End XCLocalSwiftPackageReference section */
340+
341+
/* Begin XCSwiftPackageProductDependency section */
342+
E0B219512E4A3A5600A77FA4 /* CodeMirror */ = {
343+
isa = XCSwiftPackageProductDependency;
344+
productName = CodeMirror;
345+
};
346+
/* End XCSwiftPackageProductDependency section */
347+
};
348+
rootObject = E0B219392E4A3A2300A77FA4 /* Project object */;
349+
}

Example/Example.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: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"colors" : [
3+
{
4+
"idiom" : "universal"
5+
}
6+
],
7+
"info" : {
8+
"author" : "xcode",
9+
"version" : 1
10+
}
11+
}

0 commit comments

Comments
 (0)