|
@@ -856,6 +856,13 @@ static dispatch_queue_t YYLabelGetReleaseQueue() {
|
|
return _innerLayout;
|
|
return _innerLayout;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+- (void)setDisplaysAsynchronously:(BOOL)displaysAsynchronously {
|
|
|
|
+ _displaysAsynchronously = displaysAsynchronously;
|
|
|
|
+ ((YYTextAsyncLayer *)self.layer).displaysAsynchronously = displaysAsynchronously;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+#pragma mark - YYTextDebugTarget
|
|
|
|
+
|
|
- (void)setDebugOption:(YYTextDebugOption *)debugOption {
|
|
- (void)setDebugOption:(YYTextDebugOption *)debugOption {
|
|
BOOL needDraw = _debugOption.needDrawDebug;
|
|
BOOL needDraw = _debugOption.needDrawDebug;
|
|
_debugOption = debugOption.copy;
|
|
_debugOption = debugOption.copy;
|
|
@@ -864,11 +871,6 @@ static dispatch_queue_t YYLabelGetReleaseQueue() {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-- (void)setDisplaysAsynchronously:(BOOL)displaysAsynchronously {
|
|
|
|
- _displaysAsynchronously = displaysAsynchronously;
|
|
|
|
- ((YYTextAsyncLayer *)self.layer).displaysAsynchronously = displaysAsynchronously;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
#pragma mark - YYTextAsyncLayerDelegate
|
|
#pragma mark - YYTextAsyncLayerDelegate
|
|
|
|
|
|
- (YYTextAsyncLayerDisplayTask *)newAsyncDisplayTask {
|
|
- (YYTextAsyncLayerDisplayTask *)newAsyncDisplayTask {
|