Browse Source

updated readme

ibireme 9 năm trước cách đây
mục cha
commit
f2317cc62d
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      README.md

+ 4 - 4
README.md

@@ -274,7 +274,7 @@ Usage
     label.frame = ...
     label.attributedString = text;
     
-    YYTextView *textView = [YYTextiew new];
+    YYTextView *textView = [YYTextView new];
     textView.frame = ...
     textView.attributedString = text;
     
@@ -313,7 +313,7 @@ Usage
     - (void)textView:(YYTextView *)textView didTapHighlight:(YYTextHighlight *)highlight inRange:(NSRange)characterRange rect:(CGRect)rect {
         NSLog(@"tap text range:...");
     }
-    - (void)textView:(YYTextView *)textView didLongPoressHighlight:(YYTextHighlight *)highlight inRange:(NSRange)characterRange rect:(CGRect)rect {
+    - (void)textView:(YYTextView *)textView didLongPressHighlight:(YYTextHighlight *)highlight inRange:(NSRange)characterRange rect:(CGRect)rect {
         NSLog(@"long press text range:...");
     }
 
@@ -791,7 +791,7 @@ YYText 和 TextKit 架构对比
     label.frame = ...
     label.attributedString = text;
     
-    YYTextView *textView = [YYTextiew new];
+    YYTextView *textView = [YYTextView new];
     textView.frame = ...
     textView.attributedString = text;
     
@@ -831,7 +831,7 @@ YYText 和 TextKit 架构对比
     - (void)textView:(YYTextView *)textView didTapHighlight:(YYTextHighlight *)highlight inRange:(NSRange)characterRange rect:(CGRect)rect {
         NSLog(@"tap text range:...");
     }
-    - (void)textView:(YYTextView *)textView didLongPoressHighlight:(YYTextHighlight *)highlight inRange:(NSRange)characterRange rect:(CGRect)rect {
+    - (void)textView:(YYTextView *)textView didLongPressHighlight:(YYTextHighlight *)highlight inRange:(NSRange)characterRange rect:(CGRect)rect {
         NSLog(@"long press text range:...");
     }