12207480 / TYAttributedLabel

TYAttributedLabel 简单,强大的属性文本控件(无需了解CoreText),支持图文混排显示,支持添加链接,image和UIView控件,支持自定义排版显示
MIT License
2.89k stars 570 forks source link

Incompatible block pointer types sending 'void (^__strong)(__strong id<TYLinkStorageProtocol>)' to parameter of type 'void (^)(__strong id<TYTextStorageProtocol>)' #163

Closed c253369865 closed 3 years ago

c253369865 commented 3 years ago

xcode 12.0 编译报错。 报错方法:- (BOOL)enumerateLinkRectContainPoint:(CGPoint)point viewHeight:(CGFloat)viewHeight successBlock:(void (^)(id textStorage))successBlock

报错信息:Incompatible block pointer types sending 'void (^strong)(strong id)' to parameter of type 'void (^)(__strong id)'

就在上次提交的上一个函数

ShiQiangMu commented 3 years ago
12207480 commented 3 years ago

CocoaPods已经更新到 2.6.9