mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-24 03:45:58 +08:00
[ASTextNode] Actually deprecate attributedString property (#2151)
This commit is contained in:
@@ -56,7 +56,7 @@ static NSString *kLinkAttributeName = @"PlaceKittenNodeLinkAttributeName";
|
||||
// generate an attributed string using the custom link attribute specified above
|
||||
NSString *blurb = @"Nic Cage courtesy of himself.";
|
||||
NSMutableAttributedString *string = [[NSMutableAttributedString alloc] initWithString:blurb];
|
||||
_textNode.attributedString = string;
|
||||
_textNode.attributedText = string;
|
||||
|
||||
// add it as a subnode, and we're done
|
||||
[self addSubnode:_textNode];
|
||||
|
||||
Reference in New Issue
Block a user