Skip to content

Commit bff77aa

Browse files
committed
version 3.2.0, 添加AsyncImageAttachment支持
1 parent a24cf9e commit bff77aa

File tree

15 files changed

+337
-26
lines changed

15 files changed

+337
-26
lines changed

AttributedString.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "AttributedString"
4-
s.version = "3.1.0"
4+
s.version = "3.2.0"
55
s.summary = "基于Swift字符串插值快速构建你想要的富文本, 支持点击按住等事件获取, 支持多种类型过滤"
66

77
s.homepage = "https://github.com/lixiang1994/AttributedString"

AttributedString.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -987,6 +987,7 @@
987987
9B34BD3C243DBC8100932E6C /* Debug */ = {
988988
isa = XCBuildConfiguration;
989989
buildSettings = {
990+
CODE_SIGN_IDENTITY = "Apple Development";
990991
CODE_SIGN_STYLE = Automatic;
991992
COMBINE_HIDPI_IMAGES = YES;
992993
DEFINES_MODULE = YES;
@@ -1014,6 +1015,7 @@
10141015
9B34BD3D243DBC8100932E6C /* Release */ = {
10151016
isa = XCBuildConfiguration;
10161017
buildSettings = {
1018+
CODE_SIGN_IDENTITY = "Apple Development";
10171019
CODE_SIGN_STYLE = Automatic;
10181020
COMBINE_HIDPI_IMAGES = YES;
10191021
DEFINES_MODULE = YES;

Demo-Mac/Demo-Mac.xcodeproj/project.pbxproj

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@
99
/* Begin PBXBuildFile section */
1010
9B34BD6B243F16EE00932E6C /* TableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B34BD6A243F16EE00932E6C /* TableViewCell.swift */; };
1111
9B34BD6D243F172E00932E6C /* AllViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B34BD6C243F172E00932E6C /* AllViewController.swift */; };
12+
9B53DFEC28153DB300ACE7B5 /* AttributedString.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9B34BD58243DC2F900932E6C /* AttributedString.framework */; };
13+
9B53DFED28153DB300ACE7B5 /* AttributedString.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9B34BD58243DC2F900932E6C /* AttributedString.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1214
9B6E89C123827C48009EBEBE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B6E89C023827C48009EBEBE /* AppDelegate.swift */; };
1315
9B6E89C323827C48009EBEBE /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B6E89C223827C48009EBEBE /* ViewController.swift */; };
1416
9B6E89C523827C49009EBEBE /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9B6E89C423827C49009EBEBE /* Assets.xcassets */; };
1517
9B6E89C823827C49009EBEBE /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9B6E89C623827C49009EBEBE /* Main.storyboard */; };
16-
9BF2B27C27DA1B6900CE59D9 /* AttributedString.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9B34BD58243DC2F900932E6C /* AttributedString.framework */; };
17-
9BF2B27D27DA1B6900CE59D9 /* AttributedString.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9B34BD58243DC2F900932E6C /* AttributedString.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1818
/* End PBXBuildFile section */
1919

2020
/* Begin PBXCopyFilesBuildPhase section */
21-
9BF2B27E27DA1B6A00CE59D9 /* Embed Frameworks */ = {
21+
9B53DFEE28153DB300ACE7B5 /* Embed Frameworks */ = {
2222
isa = PBXCopyFilesBuildPhase;
2323
buildActionMask = 2147483647;
2424
dstPath = "";
2525
dstSubfolderSpec = 10;
2626
files = (
27-
9BF2B27D27DA1B6900CE59D9 /* AttributedString.framework in Embed Frameworks */,
27+
9B53DFED28153DB300ACE7B5 /* AttributedString.framework in Embed Frameworks */,
2828
);
2929
name = "Embed Frameworks";
3030
runOnlyForDeploymentPostprocessing = 0;
@@ -49,7 +49,7 @@
4949
isa = PBXFrameworksBuildPhase;
5050
buildActionMask = 2147483647;
5151
files = (
52-
9BF2B27C27DA1B6900CE59D9 /* AttributedString.framework in Frameworks */,
52+
9B53DFEC28153DB300ACE7B5 /* AttributedString.framework in Frameworks */,
5353
);
5454
runOnlyForDeploymentPostprocessing = 0;
5555
};
@@ -114,7 +114,7 @@
114114
9B6E89B923827C48009EBEBE /* Sources */,
115115
9B6E89BA23827C48009EBEBE /* Frameworks */,
116116
9B6E89BB23827C48009EBEBE /* Resources */,
117-
9BF2B27E27DA1B6A00CE59D9 /* Embed Frameworks */,
117+
9B53DFEE28153DB300ACE7B5 /* Embed Frameworks */,
118118
);
119119
buildRules = (
120120
);
@@ -314,10 +314,10 @@
314314
buildSettings = {
315315
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
316316
CODE_SIGN_ENTITLEMENTS = "Demo-Mac/Demo_Mac.entitlements";
317-
CODE_SIGN_IDENTITY = "-";
317+
CODE_SIGN_IDENTITY = "Apple Development";
318318
CODE_SIGN_STYLE = Automatic;
319319
COMBINE_HIDPI_IMAGES = YES;
320-
DEVELOPMENT_TEAM = "";
320+
DEVELOPMENT_TEAM = 8G74YECJ4Z;
321321
ENABLE_HARDENED_RUNTIME = YES;
322322
INFOPLIST_FILE = "Demo-Mac/Info.plist";
323323
LD_RUNPATH_SEARCH_PATHS = (
@@ -336,10 +336,10 @@
336336
buildSettings = {
337337
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
338338
CODE_SIGN_ENTITLEMENTS = "Demo-Mac/Demo_Mac.entitlements";
339-
CODE_SIGN_IDENTITY = "-";
339+
CODE_SIGN_IDENTITY = "Apple Development";
340340
CODE_SIGN_STYLE = Automatic;
341341
COMBINE_HIDPI_IMAGES = YES;
342-
DEVELOPMENT_TEAM = "";
342+
DEVELOPMENT_TEAM = 8G74YECJ4Z;
343343
ENABLE_HARDENED_RUNTIME = YES;
344344
INFOPLIST_FILE = "Demo-Mac/Info.plist";
345345
LD_RUNPATH_SEARCH_PATHS = (
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"info" : {
3-
"version" : 1,
4-
"author" : "xcode"
3+
"author" : "xcode",
4+
"version" : 1
55
}
6-
}
6+
}

Demo-Mac/Demo-Mac/Base.lproj/Main.storyboard

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="16097" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="20037" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
33
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="16097"/>
4+
<deployment identifier="macosx"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="20037"/>
56
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
67
</dependencies>
78
<scenes>
@@ -814,7 +815,7 @@
814815
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
815816
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
816817
<tableColumns>
817-
<tableColumn width="195" minWidth="40" maxWidth="1000" id="0qa-uw-dST">
818+
<tableColumn width="186" minWidth="40" maxWidth="1000" id="0qa-uw-dST">
818819
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border">
819820
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
820821
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>

Demo-Mac/Demo-Mac/Demo_Mac.entitlements

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>com.apple.security.app-sandbox</key>
6-
<true/>
7-
<key>com.apple.security.files.user-selected.read-only</key>
8-
<true/>
5+
<key>com.apple.security.app-sandbox</key>
6+
<true/>
7+
<key>com.apple.security.files.user-selected.read-only</key>
8+
<true/>
9+
<key>com.apple.security.network.client</key>
10+
<true/>
11+
<key>com.apple.security.network.server</key>
12+
<true/>
913
</dict>
1014
</plist>

Demo-Mac/Demo-Mac/Info.plist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,10 @@
3434
<true/>
3535
<key>UIUserInterfaceStyle</key>
3636
<string>Light</string>
37+
<key>NSAppTransportSecurity</key>
38+
<dict>
39+
<key>NSAllowsArbitraryLoads</key>
40+
<true/>
41+
</dict>
3742
</dict>
3843
</plist>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"info" : {
3-
"version" : 1,
4-
"author" : "xcode"
3+
"author" : "xcode",
4+
"version" : 1
55
}
6-
}
6+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "placeholder.png",
5+
"idiom" : "universal"
6+
}
7+
],
8+
"info" : {
9+
"author" : "xcode",
10+
"version" : 1
11+
}
12+
}
Loading

0 commit comments

Comments
 (0)