Skip to content

Commit 0e3368c

Browse files
committed
init
1 parent b3304b8 commit 0e3368c

File tree

18 files changed

+1128
-0
lines changed

18 files changed

+1128
-0
lines changed

AttributedString.podspec

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Pod::Spec.new do |s|
2+
3+
s.name = "AttributedString"
4+
s.version = "0.0.0"
5+
s.summary = ""
6+
7+
s.homepage = "https://github.com/lixiang1994/AttributedString"
8+
9+
s.license = { :type => "MIT", :file => "LICENSE" }
10+
11+
s.author = { "LEE" => "[email protected]" }
12+
13+
s.platform = :ios, "9.0"
14+
15+
s.source = { :git => "https://github.com/lixiang1994/AttributedString.git", :tag => s.version }
16+
17+
s.source_files = "Sources/**/*.swift"
18+
19+
s.requires_arc = true
20+
21+
s.frameworks = "UIKit", "Foundation"
22+
23+
s.swift_versions = ["5.0"]
24+
25+
end
+342
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,342 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 50;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
9B6E895123823C40009EBEBE /* AttributedString.h in Headers */ = {isa = PBXBuildFile; fileRef = 9B6E894F23823C40009EBEBE /* AttributedString.h */; settings = {ATTRIBUTES = (Public, ); }; };
11+
9B6E899E23823FFD009EBEBE /* AttributedString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B6E899D23823FFD009EBEBE /* AttributedString.swift */; };
12+
/* End PBXBuildFile section */
13+
14+
/* Begin PBXFileReference section */
15+
9B6E894C23823C40009EBEBE /* AttributedString.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AttributedString.framework; sourceTree = BUILT_PRODUCTS_DIR; };
16+
9B6E894F23823C40009EBEBE /* AttributedString.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AttributedString.h; sourceTree = "<group>"; };
17+
9B6E895023823C40009EBEBE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
18+
9B6E899D23823FFD009EBEBE /* AttributedString.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AttributedString.swift; sourceTree = "<group>"; };
19+
/* End PBXFileReference section */
20+
21+
/* Begin PBXFrameworksBuildPhase section */
22+
9B6E894923823C40009EBEBE /* Frameworks */ = {
23+
isa = PBXFrameworksBuildPhase;
24+
buildActionMask = 2147483647;
25+
files = (
26+
);
27+
runOnlyForDeploymentPostprocessing = 0;
28+
};
29+
/* End PBXFrameworksBuildPhase section */
30+
31+
/* Begin PBXGroup section */
32+
9B6E894223823C40009EBEBE = {
33+
isa = PBXGroup;
34+
children = (
35+
9B6E894E23823C40009EBEBE /* Sources */,
36+
9B6E894D23823C40009EBEBE /* Products */,
37+
);
38+
sourceTree = "<group>";
39+
};
40+
9B6E894D23823C40009EBEBE /* Products */ = {
41+
isa = PBXGroup;
42+
children = (
43+
9B6E894C23823C40009EBEBE /* AttributedString.framework */,
44+
);
45+
name = Products;
46+
sourceTree = "<group>";
47+
};
48+
9B6E894E23823C40009EBEBE /* Sources */ = {
49+
isa = PBXGroup;
50+
children = (
51+
9B6E894F23823C40009EBEBE /* AttributedString.h */,
52+
9B6E895023823C40009EBEBE /* Info.plist */,
53+
9B6E899D23823FFD009EBEBE /* AttributedString.swift */,
54+
);
55+
path = Sources;
56+
sourceTree = "<group>";
57+
};
58+
/* End PBXGroup section */
59+
60+
/* Begin PBXHeadersBuildPhase section */
61+
9B6E894723823C40009EBEBE /* Headers */ = {
62+
isa = PBXHeadersBuildPhase;
63+
buildActionMask = 2147483647;
64+
files = (
65+
9B6E895123823C40009EBEBE /* AttributedString.h in Headers */,
66+
);
67+
runOnlyForDeploymentPostprocessing = 0;
68+
};
69+
/* End PBXHeadersBuildPhase section */
70+
71+
/* Begin PBXNativeTarget section */
72+
9B6E894B23823C40009EBEBE /* AttributedString */ = {
73+
isa = PBXNativeTarget;
74+
buildConfigurationList = 9B6E895423823C40009EBEBE /* Build configuration list for PBXNativeTarget "AttributedString" */;
75+
buildPhases = (
76+
9B6E894723823C40009EBEBE /* Headers */,
77+
9B6E894823823C40009EBEBE /* Sources */,
78+
9B6E894923823C40009EBEBE /* Frameworks */,
79+
9B6E894A23823C40009EBEBE /* Resources */,
80+
);
81+
buildRules = (
82+
);
83+
dependencies = (
84+
);
85+
name = AttributedString;
86+
productName = AttributedString;
87+
productReference = 9B6E894C23823C40009EBEBE /* AttributedString.framework */;
88+
productType = "com.apple.product-type.framework";
89+
};
90+
/* End PBXNativeTarget section */
91+
92+
/* Begin PBXProject section */
93+
9B6E894323823C40009EBEBE /* Project object */ = {
94+
isa = PBXProject;
95+
attributes = {
96+
LastUpgradeCheck = 1110;
97+
ORGANIZATIONNAME = LEE;
98+
TargetAttributes = {
99+
9B6E894B23823C40009EBEBE = {
100+
CreatedOnToolsVersion = 11.1;
101+
LastSwiftMigration = 1110;
102+
};
103+
};
104+
};
105+
buildConfigurationList = 9B6E894623823C40009EBEBE /* Build configuration list for PBXProject "AttributedString" */;
106+
compatibilityVersion = "Xcode 9.3";
107+
developmentRegion = en;
108+
hasScannedForEncodings = 0;
109+
knownRegions = (
110+
en,
111+
Base,
112+
);
113+
mainGroup = 9B6E894223823C40009EBEBE;
114+
productRefGroup = 9B6E894D23823C40009EBEBE /* Products */;
115+
projectDirPath = "";
116+
projectRoot = "";
117+
targets = (
118+
9B6E894B23823C40009EBEBE /* AttributedString */,
119+
);
120+
};
121+
/* End PBXProject section */
122+
123+
/* Begin PBXResourcesBuildPhase section */
124+
9B6E894A23823C40009EBEBE /* Resources */ = {
125+
isa = PBXResourcesBuildPhase;
126+
buildActionMask = 2147483647;
127+
files = (
128+
);
129+
runOnlyForDeploymentPostprocessing = 0;
130+
};
131+
/* End PBXResourcesBuildPhase section */
132+
133+
/* Begin PBXSourcesBuildPhase section */
134+
9B6E894823823C40009EBEBE /* Sources */ = {
135+
isa = PBXSourcesBuildPhase;
136+
buildActionMask = 2147483647;
137+
files = (
138+
9B6E899E23823FFD009EBEBE /* AttributedString.swift in Sources */,
139+
);
140+
runOnlyForDeploymentPostprocessing = 0;
141+
};
142+
/* End PBXSourcesBuildPhase section */
143+
144+
/* Begin XCBuildConfiguration section */
145+
9B6E895223823C40009EBEBE /* Debug */ = {
146+
isa = XCBuildConfiguration;
147+
buildSettings = {
148+
ALWAYS_SEARCH_USER_PATHS = NO;
149+
CLANG_ANALYZER_NONNULL = YES;
150+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
151+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
152+
CLANG_CXX_LIBRARY = "libc++";
153+
CLANG_ENABLE_MODULES = YES;
154+
CLANG_ENABLE_OBJC_ARC = YES;
155+
CLANG_ENABLE_OBJC_WEAK = YES;
156+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
157+
CLANG_WARN_BOOL_CONVERSION = YES;
158+
CLANG_WARN_COMMA = YES;
159+
CLANG_WARN_CONSTANT_CONVERSION = YES;
160+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
161+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
162+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
163+
CLANG_WARN_EMPTY_BODY = YES;
164+
CLANG_WARN_ENUM_CONVERSION = YES;
165+
CLANG_WARN_INFINITE_RECURSION = YES;
166+
CLANG_WARN_INT_CONVERSION = YES;
167+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
168+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
169+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
170+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
171+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
172+
CLANG_WARN_STRICT_PROTOTYPES = YES;
173+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
174+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
175+
CLANG_WARN_UNREACHABLE_CODE = YES;
176+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
177+
COPY_PHASE_STRIP = NO;
178+
CURRENT_PROJECT_VERSION = 1;
179+
DEBUG_INFORMATION_FORMAT = dwarf;
180+
ENABLE_STRICT_OBJC_MSGSEND = YES;
181+
ENABLE_TESTABILITY = YES;
182+
GCC_C_LANGUAGE_STANDARD = gnu11;
183+
GCC_DYNAMIC_NO_PIC = NO;
184+
GCC_NO_COMMON_BLOCKS = YES;
185+
GCC_OPTIMIZATION_LEVEL = 0;
186+
GCC_PREPROCESSOR_DEFINITIONS = (
187+
"DEBUG=1",
188+
"$(inherited)",
189+
);
190+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
191+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
192+
GCC_WARN_UNDECLARED_SELECTOR = YES;
193+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
194+
GCC_WARN_UNUSED_FUNCTION = YES;
195+
GCC_WARN_UNUSED_VARIABLE = YES;
196+
IPHONEOS_DEPLOYMENT_TARGET = 13.1;
197+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
198+
MTL_FAST_MATH = YES;
199+
ONLY_ACTIVE_ARCH = YES;
200+
SDKROOT = iphoneos;
201+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
202+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
203+
VERSIONING_SYSTEM = "apple-generic";
204+
VERSION_INFO_PREFIX = "";
205+
};
206+
name = Debug;
207+
};
208+
9B6E895323823C40009EBEBE /* Release */ = {
209+
isa = XCBuildConfiguration;
210+
buildSettings = {
211+
ALWAYS_SEARCH_USER_PATHS = NO;
212+
CLANG_ANALYZER_NONNULL = YES;
213+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
214+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
215+
CLANG_CXX_LIBRARY = "libc++";
216+
CLANG_ENABLE_MODULES = YES;
217+
CLANG_ENABLE_OBJC_ARC = YES;
218+
CLANG_ENABLE_OBJC_WEAK = YES;
219+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
220+
CLANG_WARN_BOOL_CONVERSION = YES;
221+
CLANG_WARN_COMMA = YES;
222+
CLANG_WARN_CONSTANT_CONVERSION = YES;
223+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
224+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
225+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
226+
CLANG_WARN_EMPTY_BODY = YES;
227+
CLANG_WARN_ENUM_CONVERSION = YES;
228+
CLANG_WARN_INFINITE_RECURSION = YES;
229+
CLANG_WARN_INT_CONVERSION = YES;
230+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
231+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
232+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
233+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
234+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
235+
CLANG_WARN_STRICT_PROTOTYPES = YES;
236+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
237+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
238+
CLANG_WARN_UNREACHABLE_CODE = YES;
239+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
240+
COPY_PHASE_STRIP = NO;
241+
CURRENT_PROJECT_VERSION = 1;
242+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
243+
ENABLE_NS_ASSERTIONS = NO;
244+
ENABLE_STRICT_OBJC_MSGSEND = YES;
245+
GCC_C_LANGUAGE_STANDARD = gnu11;
246+
GCC_NO_COMMON_BLOCKS = YES;
247+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
248+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
249+
GCC_WARN_UNDECLARED_SELECTOR = YES;
250+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
251+
GCC_WARN_UNUSED_FUNCTION = YES;
252+
GCC_WARN_UNUSED_VARIABLE = YES;
253+
IPHONEOS_DEPLOYMENT_TARGET = 13.1;
254+
MTL_ENABLE_DEBUG_INFO = NO;
255+
MTL_FAST_MATH = YES;
256+
SDKROOT = iphoneos;
257+
SWIFT_COMPILATION_MODE = wholemodule;
258+
SWIFT_OPTIMIZATION_LEVEL = "-O";
259+
VALIDATE_PRODUCT = YES;
260+
VERSIONING_SYSTEM = "apple-generic";
261+
VERSION_INFO_PREFIX = "";
262+
};
263+
name = Release;
264+
};
265+
9B6E895523823C40009EBEBE /* Debug */ = {
266+
isa = XCBuildConfiguration;
267+
buildSettings = {
268+
CLANG_ENABLE_MODULES = YES;
269+
CODE_SIGN_STYLE = Automatic;
270+
DEFINES_MODULE = YES;
271+
DEVELOPMENT_TEAM = B9D8DJR5J5;
272+
DYLIB_COMPATIBILITY_VERSION = 1;
273+
DYLIB_CURRENT_VERSION = 1;
274+
DYLIB_INSTALL_NAME_BASE = "@rpath";
275+
INFOPLIST_FILE = Sources/Info.plist;
276+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
277+
LD_RUNPATH_SEARCH_PATHS = (
278+
"$(inherited)",
279+
"@executable_path/Frameworks",
280+
"@loader_path/Frameworks",
281+
);
282+
MARKETING_VERSION = 0.0.0;
283+
PRODUCT_BUNDLE_IDENTIFIER = com.lee.attributedstring;
284+
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
285+
SKIP_INSTALL = YES;
286+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
287+
SWIFT_VERSION = 5.0;
288+
TARGETED_DEVICE_FAMILY = "1,2";
289+
};
290+
name = Debug;
291+
};
292+
9B6E895623823C40009EBEBE /* Release */ = {
293+
isa = XCBuildConfiguration;
294+
buildSettings = {
295+
CLANG_ENABLE_MODULES = YES;
296+
CODE_SIGN_STYLE = Automatic;
297+
DEFINES_MODULE = YES;
298+
DEVELOPMENT_TEAM = B9D8DJR5J5;
299+
DYLIB_COMPATIBILITY_VERSION = 1;
300+
DYLIB_CURRENT_VERSION = 1;
301+
DYLIB_INSTALL_NAME_BASE = "@rpath";
302+
INFOPLIST_FILE = Sources/Info.plist;
303+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
304+
LD_RUNPATH_SEARCH_PATHS = (
305+
"$(inherited)",
306+
"@executable_path/Frameworks",
307+
"@loader_path/Frameworks",
308+
);
309+
MARKETING_VERSION = 0.0.0;
310+
PRODUCT_BUNDLE_IDENTIFIER = com.lee.attributedstring;
311+
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
312+
SKIP_INSTALL = YES;
313+
SWIFT_VERSION = 5.0;
314+
TARGETED_DEVICE_FAMILY = "1,2";
315+
};
316+
name = Release;
317+
};
318+
/* End XCBuildConfiguration section */
319+
320+
/* Begin XCConfigurationList section */
321+
9B6E894623823C40009EBEBE /* Build configuration list for PBXProject "AttributedString" */ = {
322+
isa = XCConfigurationList;
323+
buildConfigurations = (
324+
9B6E895223823C40009EBEBE /* Debug */,
325+
9B6E895323823C40009EBEBE /* Release */,
326+
);
327+
defaultConfigurationIsVisible = 0;
328+
defaultConfigurationName = Release;
329+
};
330+
9B6E895423823C40009EBEBE /* Build configuration list for PBXNativeTarget "AttributedString" */ = {
331+
isa = XCConfigurationList;
332+
buildConfigurations = (
333+
9B6E895523823C40009EBEBE /* Debug */,
334+
9B6E895623823C40009EBEBE /* Release */,
335+
);
336+
defaultConfigurationIsVisible = 0;
337+
defaultConfigurationName = Release;
338+
};
339+
/* End XCConfigurationList section */
340+
};
341+
rootObject = 9B6E894323823C40009EBEBE /* Project object */;
342+
}

AttributedString.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+7
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>

AttributedString.xcworkspace/contents.xcworkspacedata

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)