mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-24 03:45:58 +08:00
s/richTextNode/textNode/g.
ASTextNode's delegate methods are all prefixed with "richTextNode". Rename these to "textNode" for consistency.
This commit is contained in:
@@ -24,13 +24,13 @@
|
||||
|
||||
@implementation ASTextNodeTestDelegate
|
||||
|
||||
- (void)richTextNode:(ASTextNode *)richTextNode tappedLinkAttribute:(NSString *)attribute value:(id)value atPoint:(CGPoint)point textRange:(NSRange)textRange
|
||||
- (void)textNode:(ASTextNode *)textNode tappedLinkAttribute:(NSString *)attribute value:(id)value atPoint:(CGPoint)point textRange:(NSRange)textRange
|
||||
{
|
||||
_tappedLinkAttribute = attribute;
|
||||
_tappedLinkValue = value;
|
||||
}
|
||||
|
||||
- (BOOL)richTextNode:(ASTextNode *)richTextNode shouldHighlightLinkAttribute:(NSString *)attribute value:(id)value
|
||||
- (BOOL)textNode:(ASTextNode *)textNode shouldHighlightLinkAttribute:(NSString *)attribute value:(id)value
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user