Skip to content

Commit

Permalink
1.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
ibireme committed Feb 27, 2016
1 parent d82174c commit 86f7263
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Framework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.9.19</string>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ Installation

### CocoaPods

1. Add `pod "YYText"` to your Podfile.
1. Add `pod 'YYText'` to your Podfile.
2. Run `pod install` or `pod update`.
3. Import \<YYText/YYText.h\>

Expand Down Expand Up @@ -520,9 +520,10 @@ Documentation
Full API documentation is available on [CocoaDocs](http://cocoadocs.org/docsets/YYText/).<br/>
You can also install documentation locally using [appledoc](https://github.com/tomaz/appledoc).


Requirements
==============
This library requires a deployment target of iOS 6.0 or greater.
This library requires `iOS 6.0+` and `Xcode 7.0+`.


License
Expand Down Expand Up @@ -1018,7 +1019,7 @@ YYText 和 TextKit 架构对比

### CocoaPods

1. 在 Podfile 中添加 `pod "YYText"`
1. 在 Podfile 中添加 `pod 'YYText'`
2. 执行 `pod install``pod update`
3. 导入 \<YYText/YYText.h\>

Expand Down Expand Up @@ -1055,16 +1056,18 @@ YYText 和 TextKit 架构对比

系统要求
==============
该项目最低支持 iOS 6.0。
该项目最低支持 `iOS 6.0``Xcode 7.0`


已知问题
==============
* YYText 并不能支持所有 CoreText/TextKit 的属性,比如 NSBackgroundColor、NSStrikethrough、NSUnderline、NSAttachment、NSLink 等,但 YYText 中基本都有对应属性作为替代。详情见上方表格。
* YYTextView 未实现局部刷新,所以在输入和编辑大量的文本(比如超过大概五千个汉字、或大概一万个英文字符)时会出现较明显的卡顿现象。
* 竖排版时,添加 exclusionPaths 在少数情况下可能会导致文本显示空白。
* 当添加了非矩形的 textContainerPath,并且有嵌入大于文本排版方向宽度的 RunDelegate 时,RunDelegate 后面的文字会无法显示。这是 CoreText 的 Bug(或者说是 Feature)。
* 当添加了非矩形的 textContainerPath,并且有嵌入大于文本排版方向宽度的 RunDelegate 时,RunDelegate 之后的文字会无法显示。这是 CoreText 的 Bug(或者说是 Feature)。

许可证
==============
YYText 使用 MIT 许可证,详情见 LICENSE 文件。


2 changes: 1 addition & 1 deletion YYText.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = 'YYText'
s.summary = 'Powerful text framework for iOS to display and edit rich text.'
s.version = '0.9.19'
s.version = '1.0'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.authors = { 'ibireme' => 'ibireme@gmail.com' }
s.social_media_url = 'http://blog.ibireme.com'
Expand Down

0 comments on commit 86f7263

Please sign in to comment.