File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22
33s . name = "AttributedString"
4- s . version = "3.3.1 "
4+ s . version = "3.3.2 "
55s . summary = "基于Swift字符串插值快速构建你想要的富文本, 支持点击按住等事件获取, 支持多种类型过滤"
66
77s . homepage = "https://github.com/lixiang1994/AttributedString"
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ extension ASAttributedString {
5353
5454 public typealias Style = Attachment . Style
5555
56- let style : Style
56+ public let style : Style
5757
5858 public static func image( _ image: Image , _ style: Style = . original( ) ) -> ImageAttachment {
5959 return . init( image, style)
@@ -109,8 +109,8 @@ extension ASAttributedString {
109109
110110 public static var Loader : AsyncImageAttachmentLoader . Type = AsyncImageAttachmentURLSessionLoader . self
111111
112- let url : URL ?
113- let placeholder : Image ?
112+ public let url : URL ?
113+ public let placeholder : Image ?
114114
115115 private weak var textContainer : NSTextContainer ?
116116
@@ -172,8 +172,8 @@ extension ASAttributedString {
172172
173173 public typealias Style = Attachment . Style
174174
175- let view : UIView
176- let style : Style
175+ public let view : UIView
176+ public let style : Style
177177
178178 /// Custom View (Only support UITextView)
179179 /// - Parameter view: 视图
You can’t perform that action at this time.
0 commit comments