From 563e52be426b3b59bb20a93ac092a1e3bda62f16 Mon Sep 17 00:00:00 2001 From: rain2540 Date: Wed, 16 Sep 2020 16:18:05 +0800 Subject: [PATCH] Update TYTextContainer.m Type forced transfer for a block, this will make it can build success in Xcode 12 --- TYAttributedLabelDemo/TYAttributedLabel/TYTextContainer.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TYAttributedLabelDemo/TYAttributedLabel/TYTextContainer.m b/TYAttributedLabelDemo/TYAttributedLabel/TYTextContainer.m index 24912a4..2a8e435 100755 --- a/TYAttributedLabelDemo/TYAttributedLabel/TYTextContainer.m +++ b/TYAttributedLabelDemo/TYAttributedLabel/TYTextContainer.m @@ -552,7 +552,7 @@ - (BOOL)enumerateRunRectContainPoint:(CGPoint)point viewHeight:(CGFloat)viewHeig - (BOOL)enumerateLinkRectContainPoint:(CGPoint)point viewHeight:(CGFloat)viewHeight successBlock:(void (^)(id textStorage))successBlock { - return [self enumerateRunRect:_linkRectDictionary ContainPoint:point viewHeight:viewHeight successBlock:successBlock]; + return [self enumerateRunRect:_linkRectDictionary ContainPoint:point viewHeight:viewHeight successBlock:(void (^)(id textStorage))successBlock]; } - (BOOL)enumerateRunRect:(NSDictionary *)runRectDic ContainPoint:(CGPoint)point viewHeight:(CGFloat)viewHeight successBlock:(void (^)(id textStorage))successBlock