Skip to content

Commit 4ef0f95

Browse files
committed
Finished design.
1 parent b4ff066 commit 4ef0f95

File tree

379 files changed

+26014
-6
lines changed

Some content is hidden

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

379 files changed

+26014
-6
lines changed

AXAttributedLabel.podspec

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
2+
Pod::Spec.new do |s|
3+
4+
s.name = "AXAttributedLabel"
5+
s.version = "0.1.1"
6+
s.summary = "`AXAttributedLabel` is an iOS customizable attributed label that displays attributed text."
7+
8+
s.description = <<-DESC
9+
`AXAttributedLabel` is an iOS customizable attributed label that displays attributed link text and image attachment and the exclusion views.
10+
DESC
11+
s.homepage = "https://github.com/devedbox/AXAttributedLabel"
12+
# s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
13+
# s.license = "MIT"
14+
s.license = { :type => "MIT", :file => "LICENSE" }
15+
s.author = { "艾星" => "862099730@qq.com" }
16+
# Or just: s.author = "aiXing"
17+
# s.authors = { "aiXing" => "862099730@qq.com" }
18+
# s.social_media_url = "http://twitter.com/aiXing"
19+
# s.platform = :ios
20+
s.platform = :ios, "7.0"
21+
# s.ios.deployment_target = “7.0”
22+
# s.osx.deployment_target = "10.7"
23+
# s.watchos.deployment_target = "2.0"
24+
s.source = { :git => "https://github.com/devedbox/AXAttributedLabel.git", :tag => "0.1.1" }
25+
s.source_files = "AXAttributedLabel/AXAttributedLabel/*.{h,m}"
26+
#s.exclude_files = "Classes/Exclude"
27+
# s.public_header_files = "Classes/**/*.h"
28+
# s.resource = "AXAttributedLabel/AXAttributedLabel/AXAttributedLabel.bundle"
29+
# s.resources = "Resources/*.png"
30+
# s.preserve_paths = "FilesToSave", "MoreFilesToSave"
31+
# s.framework = "SomeFramework"
32+
s.frameworks = "UIKit", "Foundation"
33+
# s.library = "iconv"
34+
# s.libraries = "iconv", "xml2"
35+
s.requires_arc = true
36+
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
37+
# s.dependency 'AGGeometryKit+POP'
38+
# s.dependency 'pop', '~> 1.0.4'
39+
# s.dependency 'AGGeometryKit', '~> 1.0'
40+
41+
end

AXAttributedLabel.xcodeproj/project.pbxproj

+98
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
0189A1B41CDC465100D0F0D8 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0189A1B21CDC465100D0F0D8 /* LaunchScreen.storyboard */; };
1616
0189A1BF1CDC465200D0F0D8 /* AXAttributedLabelTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0189A1BE1CDC465200D0F0D8 /* AXAttributedLabelTests.m */; };
1717
0189A1CA1CDC465200D0F0D8 /* AXAttributedLabelUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 0189A1C91CDC465200D0F0D8 /* AXAttributedLabelUITests.m */; };
18+
0189A1D91CDC662000D0F0D8 /* AXAttributedLabel.m in Sources */ = {isa = PBXBuildFile; fileRef = 0189A1D81CDC662000D0F0D8 /* AXAttributedLabel.m */; };
19+
0189A1EA1CE1E78300D0F0D8 /* avatar.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0189A1E91CE1E78200D0F0D8 /* avatar.jpg */; };
20+
E67108E5D6BD816BF39386E9 /* libPods-AXAttributedLabel.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7A68999C00B65E506BF1E4C3 /* libPods-AXAttributedLabel.a */; };
1821
/* End PBXBuildFile section */
1922

2023
/* Begin PBXContainerItemProxy section */
@@ -51,13 +54,20 @@
5154
0189A1C51CDC465200D0F0D8 /* AXAttributedLabelUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AXAttributedLabelUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
5255
0189A1C91CDC465200D0F0D8 /* AXAttributedLabelUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AXAttributedLabelUITests.m; sourceTree = "<group>"; };
5356
0189A1CB1CDC465200D0F0D8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
57+
0189A1D71CDC662000D0F0D8 /* AXAttributedLabel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AXAttributedLabel.h; path = AXAttributedLabel/AXAttributedLabel.h; sourceTree = "<group>"; };
58+
0189A1D81CDC662000D0F0D8 /* AXAttributedLabel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AXAttributedLabel.m; path = AXAttributedLabel/AXAttributedLabel.m; sourceTree = "<group>"; };
59+
0189A1E91CE1E78200D0F0D8 /* avatar.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = avatar.jpg; sourceTree = "<group>"; };
60+
7A68999C00B65E506BF1E4C3 /* libPods-AXAttributedLabel.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AXAttributedLabel.a"; sourceTree = BUILT_PRODUCTS_DIR; };
61+
B4F07CA6E9515DBB9753D9C2 /* Pods-AXAttributedLabel.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AXAttributedLabel.release.xcconfig"; path = "Pods/Target Support Files/Pods-AXAttributedLabel/Pods-AXAttributedLabel.release.xcconfig"; sourceTree = "<group>"; };
62+
FCA2CF1D4D938F3BBC706D28 /* Pods-AXAttributedLabel.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AXAttributedLabel.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AXAttributedLabel/Pods-AXAttributedLabel.debug.xcconfig"; sourceTree = "<group>"; };
5463
/* End PBXFileReference section */
5564

5665
/* Begin PBXFrameworksBuildPhase section */
5766
0189A19E1CDC465100D0F0D8 /* Frameworks */ = {
5867
isa = PBXFrameworksBuildPhase;
5968
buildActionMask = 2147483647;
6069
files = (
70+
E67108E5D6BD816BF39386E9 /* libPods-AXAttributedLabel.a in Frameworks */,
6171
);
6272
runOnlyForDeploymentPostprocessing = 0;
6373
};
@@ -85,6 +95,8 @@
8595
0189A1BD1CDC465200D0F0D8 /* AXAttributedLabelTests */,
8696
0189A1C81CDC465200D0F0D8 /* AXAttributedLabelUITests */,
8797
0189A1A21CDC465100D0F0D8 /* Products */,
98+
C4B8AE05DF119E8D24905B78 /* Pods */,
99+
A9FDD975D07B6990C99150AE /* Frameworks */,
88100
);
89101
sourceTree = "<group>";
90102
};
@@ -105,8 +117,10 @@
105117
0189A1A81CDC465100D0F0D8 /* AppDelegate.m */,
106118
0189A1AA1CDC465100D0F0D8 /* ViewController.h */,
107119
0189A1AB1CDC465100D0F0D8 /* ViewController.m */,
120+
0189A1DA1CDC662400D0F0D8 /* AXAttributedLabel */,
108121
0189A1AD1CDC465100D0F0D8 /* Main.storyboard */,
109122
0189A1B01CDC465100D0F0D8 /* Assets.xcassets */,
123+
0189A1E91CE1E78200D0F0D8 /* avatar.jpg */,
110124
0189A1B21CDC465100D0F0D8 /* LaunchScreen.storyboard */,
111125
0189A1B51CDC465100D0F0D8 /* Info.plist */,
112126
0189A1A41CDC465100D0F0D8 /* Supporting Files */,
@@ -140,16 +154,45 @@
140154
path = AXAttributedLabelUITests;
141155
sourceTree = "<group>";
142156
};
157+
0189A1DA1CDC662400D0F0D8 /* AXAttributedLabel */ = {
158+
isa = PBXGroup;
159+
children = (
160+
0189A1D71CDC662000D0F0D8 /* AXAttributedLabel.h */,
161+
0189A1D81CDC662000D0F0D8 /* AXAttributedLabel.m */,
162+
);
163+
name = AXAttributedLabel;
164+
sourceTree = "<group>";
165+
};
166+
A9FDD975D07B6990C99150AE /* Frameworks */ = {
167+
isa = PBXGroup;
168+
children = (
169+
7A68999C00B65E506BF1E4C3 /* libPods-AXAttributedLabel.a */,
170+
);
171+
name = Frameworks;
172+
sourceTree = "<group>";
173+
};
174+
C4B8AE05DF119E8D24905B78 /* Pods */ = {
175+
isa = PBXGroup;
176+
children = (
177+
FCA2CF1D4D938F3BBC706D28 /* Pods-AXAttributedLabel.debug.xcconfig */,
178+
B4F07CA6E9515DBB9753D9C2 /* Pods-AXAttributedLabel.release.xcconfig */,
179+
);
180+
name = Pods;
181+
sourceTree = "<group>";
182+
};
143183
/* End PBXGroup section */
144184

145185
/* Begin PBXNativeTarget section */
146186
0189A1A01CDC465100D0F0D8 /* AXAttributedLabel */ = {
147187
isa = PBXNativeTarget;
148188
buildConfigurationList = 0189A1CE1CDC465200D0F0D8 /* Build configuration list for PBXNativeTarget "AXAttributedLabel" */;
149189
buildPhases = (
190+
48A3F656A14ADCCC62B7153D /* 📦 Check Pods Manifest.lock */,
150191
0189A19D1CDC465100D0F0D8 /* Sources */,
151192
0189A19E1CDC465100D0F0D8 /* Frameworks */,
152193
0189A19F1CDC465100D0F0D8 /* Resources */,
194+
10B79308C92710A357CF2310 /* 📦 Embed Pods Frameworks */,
195+
6CF1E06123D6F092A985B393 /* 📦 Copy Pods Resources */,
153196
);
154197
buildRules = (
155198
);
@@ -244,6 +287,7 @@
244287
buildActionMask = 2147483647;
245288
files = (
246289
0189A1B41CDC465100D0F0D8 /* LaunchScreen.storyboard in Resources */,
290+
0189A1EA1CE1E78300D0F0D8 /* avatar.jpg in Resources */,
247291
0189A1B11CDC465100D0F0D8 /* Assets.xcassets in Resources */,
248292
0189A1AF1CDC465100D0F0D8 /* Main.storyboard in Resources */,
249293
);
@@ -265,6 +309,54 @@
265309
};
266310
/* End PBXResourcesBuildPhase section */
267311

312+
/* Begin PBXShellScriptBuildPhase section */
313+
10B79308C92710A357CF2310 /* 📦 Embed Pods Frameworks */ = {
314+
isa = PBXShellScriptBuildPhase;
315+
buildActionMask = 2147483647;
316+
files = (
317+
);
318+
inputPaths = (
319+
);
320+
name = "📦 Embed Pods Frameworks";
321+
outputPaths = (
322+
);
323+
runOnlyForDeploymentPostprocessing = 0;
324+
shellPath = /bin/sh;
325+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AXAttributedLabel/Pods-AXAttributedLabel-frameworks.sh\"\n";
326+
showEnvVarsInLog = 0;
327+
};
328+
48A3F656A14ADCCC62B7153D /* 📦 Check Pods Manifest.lock */ = {
329+
isa = PBXShellScriptBuildPhase;
330+
buildActionMask = 2147483647;
331+
files = (
332+
);
333+
inputPaths = (
334+
);
335+
name = "📦 Check Pods Manifest.lock";
336+
outputPaths = (
337+
);
338+
runOnlyForDeploymentPostprocessing = 0;
339+
shellPath = /bin/sh;
340+
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
341+
showEnvVarsInLog = 0;
342+
};
343+
6CF1E06123D6F092A985B393 /* 📦 Copy Pods Resources */ = {
344+
isa = PBXShellScriptBuildPhase;
345+
buildActionMask = 2147483647;
346+
files = (
347+
);
348+
inputPaths = (
349+
);
350+
name = "📦 Copy Pods Resources";
351+
outputPaths = (
352+
);
353+
runOnlyForDeploymentPostprocessing = 0;
354+
shellPath = /bin/sh;
355+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AXAttributedLabel/Pods-AXAttributedLabel-resources.sh\"\n";
356+
showEnvVarsInLog = 0;
357+
};
358+
/* End PBXShellScriptBuildPhase section */
359+
268360
/* Begin PBXSourcesBuildPhase section */
269361
0189A19D1CDC465100D0F0D8 /* Sources */ = {
270362
isa = PBXSourcesBuildPhase;
@@ -273,6 +365,7 @@
273365
0189A1AC1CDC465100D0F0D8 /* ViewController.m in Sources */,
274366
0189A1A91CDC465100D0F0D8 /* AppDelegate.m in Sources */,
275367
0189A1A61CDC465100D0F0D8 /* main.m in Sources */,
368+
0189A1D91CDC662000D0F0D8 /* AXAttributedLabel.m in Sources */,
276369
);
277370
runOnlyForDeploymentPostprocessing = 0;
278371
};
@@ -411,6 +504,7 @@
411504
};
412505
0189A1CF1CDC465200D0F0D8 /* Debug */ = {
413506
isa = XCBuildConfiguration;
507+
baseConfigurationReference = FCA2CF1D4D938F3BBC706D28 /* Pods-AXAttributedLabel.debug.xcconfig */;
414508
buildSettings = {
415509
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
416510
INFOPLIST_FILE = AXAttributedLabel/Info.plist;
@@ -422,6 +516,7 @@
422516
};
423517
0189A1D01CDC465200D0F0D8 /* Release */ = {
424518
isa = XCBuildConfiguration;
519+
baseConfigurationReference = B4F07CA6E9515DBB9753D9C2 /* Pods-AXAttributedLabel.release.xcconfig */;
425520
buildSettings = {
426521
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
427522
INFOPLIST_FILE = AXAttributedLabel/Info.plist;
@@ -496,6 +591,7 @@
496591
0189A1D01CDC465200D0F0D8 /* Release */,
497592
);
498593
defaultConfigurationIsVisible = 0;
594+
defaultConfigurationName = Release;
499595
};
500596
0189A1D11CDC465200D0F0D8 /* Build configuration list for PBXNativeTarget "AXAttributedLabelTests" */ = {
501597
isa = XCConfigurationList;
@@ -504,6 +600,7 @@
504600
0189A1D31CDC465200D0F0D8 /* Release */,
505601
);
506602
defaultConfigurationIsVisible = 0;
603+
defaultConfigurationName = Release;
507604
};
508605
0189A1D41CDC465200D0F0D8 /* Build configuration list for PBXNativeTarget "AXAttributedLabelUITests" */ = {
509606
isa = XCConfigurationList;
@@ -512,6 +609,7 @@
512609
0189A1D61CDC465200D0F0D8 /* Release */,
513610
);
514611
defaultConfigurationIsVisible = 0;
612+
defaultConfigurationName = Release;
515613
};
516614
/* End XCConfigurationList section */
517615
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Bucket
3+
type = "1"
4+
version = "2.0">
5+
<Breakpoints>
6+
<BreakpointProxy
7+
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
8+
<BreakpointContent
9+
shouldBeEnabled = "No"
10+
ignoreCount = "0"
11+
continueAfterRunningActions = "No"
12+
scope = "0"
13+
stopOnStyle = "0">
14+
</BreakpointContent>
15+
</BreakpointProxy>
16+
</Breakpoints>
17+
</Bucket>

AXAttributedLabel.xcworkspace/contents.xcworkspacedata

+10
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,5 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Bucket
3+
type = "0"
4+
version = "2.0">
5+
</Bucket>

0 commit comments

Comments
 (0)