@@ -485,7 +485,7 @@ Installation
485
485
486
486
### CocoaPods
487
487
488
- 1 . Add ` pod " YYText" ` to your Podfile.
488
+ 1 . Add ` pod ' YYText' ` to your Podfile.
489
489
2 . Run ` pod install ` or ` pod update ` .
490
490
3 . Import \< YYText/YYText.h\>
491
491
@@ -520,9 +520,10 @@ Documentation
520
520
Full API documentation is available on [ CocoaDocs] ( http://cocoadocs.org/docsets/YYText/ ) .<br />
521
521
You can also install documentation locally using [ appledoc] ( https://github.com/tomaz/appledoc ) .
522
522
523
+
523
524
Requirements
524
525
==============
525
- This library requires a deployment target of iOS 6.0 or greater .
526
+ This library requires ` iOS 6.0+ ` and ` Xcode 7.0+ ` .
526
527
527
528
528
529
License
@@ -1018,7 +1019,7 @@ YYText 和 TextKit 架构对比
1018
1019
1019
1020
### CocoaPods
1020
1021
1021
- 1 . 在 Podfile 中添加 ` pod " YYText" ` 。
1022
+ 1 . 在 Podfile 中添加 ` pod ' YYText' ` 。
1022
1023
2 . 执行 ` pod install ` 或 ` pod update ` 。
1023
1024
3 . 导入 \< YYText/YYText.h\> 。
1024
1025
@@ -1055,16 +1056,18 @@ YYText 和 TextKit 架构对比
1055
1056
1056
1057
系统要求
1057
1058
==============
1058
- 该项目最低支持 iOS 6.0。
1059
+ 该项目最低支持 ` iOS 6.0 ` 和 ` Xcode 7.0 ` 。
1059
1060
1060
1061
1061
1062
已知问题
1062
1063
==============
1063
1064
* YYText 并不能支持所有 CoreText/TextKit 的属性,比如 NSBackgroundColor、NSStrikethrough、NSUnderline、NSAttachment、NSLink 等,但 YYText 中基本都有对应属性作为替代。详情见上方表格。
1064
1065
* YYTextView 未实现局部刷新,所以在输入和编辑大量的文本(比如超过大概五千个汉字、或大概一万个英文字符)时会出现较明显的卡顿现象。
1065
1066
* 竖排版时,添加 exclusionPaths 在少数情况下可能会导致文本显示空白。
1066
- * 当添加了非矩形的 textContainerPath 时 ,并且有嵌入大于文本排版方向宽度的 RunDelegate 时,RunDelegate 后面的文字会无法显示 。这是 CoreText 的 Bug(或者说是 Feature)。
1067
+ * 当添加了非矩形的 textContainerPath,并且有嵌入大于文本排版方向宽度的 RunDelegate 时,RunDelegate 之后的文字会无法显示 。这是 CoreText 的 Bug(或者说是 Feature)。
1067
1068
1068
1069
许可证
1069
1070
==============
1070
1071
YYText 使用 MIT 许可证,详情见 LICENSE 文件。
1072
+
1073
+
0 commit comments