浏览代码

updated readme

ibireme 9 年之前
父节点
当前提交
b13c554f90
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -276,7 +276,7 @@ Usage
     
     YYTextView *textView = [YYTextiew new];
     textView.frame = ...
-    label.attributedString = text;
+    textView.attributedString = text;
     
 ### Text highlight
     
@@ -742,7 +742,7 @@ YYText 和 TextKit 架构对比
     
     YYTextView *textView = [YYTextiew new];
     textView.frame = ...
-    label.attributedString = text;
+    textView.attributedString = text;
     
 ### 文本高亮