소스 검색

updated readme

ibireme 9 년 전
부모
커밋
f2317cc62d
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  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:...");
     }