[翻译] DTCoreText 从HTML文档中创建富文本
2014-05-03 07:34
357 查看
DTCoreText 从HTML文档中创建富文本
https://github.com/Cocoanetics/DTCoreText
注意哦亲,DTRichTextEditor 这个组件是收费的,不贵,才650美元而已^_^。
DTCoreText
This project aims to duplicate the methods present on Mac OSX which allow creation of
这个项目旨在复制 Mac OSX 中允许直接从 HTML 的代码中创建富文本功能,让其能在 iOS 上使用。
The project covers two broad areas:
这个项目覆盖了两个方面:
Layouting - Interfacing with CoreText, generating attributed strings from HTML code Layouting - CoreText 的接口,用来从 HTML 代码中生成富文本布局
User Interface - UI-related classes render these objects, specifically
This is useful for drawing simple rich text like any HTML document without having to use a
对于从 HTML 文档中绘制简单的富文本而不使用 UIWebView 将非常有用。对于需要选择或者高亮(如果你需要一个编辑器或者阅读器),这有一个商业化的组件 DTRichTextEditor 可以使用,你可以在 Cocoanetics Parts Store 中购买。
Documentation
Documentation can be browsed online or installed in your Xcode Organizer via the Atom Feed URL.
你可以直接在网络上看文档或者是安装到 Xcode 上。
A Q&A answers some frequently asked questions.
在这里你可以看到经常被问到的问题。
Changelog: GitHub Releases
更改日志的地方
There is also a Programming Guide with a set of solutions to common problems.
这里你可以找到通用问题中的一系列解决方案。
https://github.com/Cocoanetics/DTCoreText
注意哦亲,DTRichTextEditor 这个组件是收费的,不贵,才650美元而已^_^。
DTCoreText
This project aims to duplicate the methods present on Mac OSX which allow creation of
NSAttributedStringfrom HTML code on iOS.
这个项目旨在复制 Mac OSX 中允许直接从 HTML 的代码中创建富文本功能,让其能在 iOS 上使用。
The project covers two broad areas:
这个项目覆盖了两个方面:
Layouting - Interfacing with CoreText, generating attributed strings from HTML code Layouting - CoreText 的接口,用来从 HTML 代码中生成富文本布局
User Interface - UI-related classes render these objects, specifically
DTAttributedTextView,
DTAttributedLabeland
DTAttributedTextCell. UI - UI 相关的类用来渲染这些对象,尤其是
DTAttributedTextView,
DTAttributedLabel和
DTAttributedTextCell.
This is useful for drawing simple rich text like any HTML document without having to use a
UIWebView. For text selection and highlighting (as you might need for an Editor or Reader) there is the commercial DTRichTextEditor component which can be purchased in the Cocoanetics Parts Store.
对于从 HTML 文档中绘制简单的富文本而不使用 UIWebView 将非常有用。对于需要选择或者高亮(如果你需要一个编辑器或者阅读器),这有一个商业化的组件 DTRichTextEditor 可以使用,你可以在 Cocoanetics Parts Store 中购买。
Documentation
Documentation can be browsed online or installed in your Xcode Organizer via the Atom Feed URL.
你可以直接在网络上看文档或者是安装到 Xcode 上。
A Q&A answers some frequently asked questions.
在这里你可以看到经常被问到的问题。
Changelog: GitHub Releases
更改日志的地方
There is also a Programming Guide with a set of solutions to common problems.
这里你可以找到通用问题中的一系列解决方案。
相关文章推荐
- DTCoreText html解析处理分析(1)
- HTML-Like DTCoreText
- MAC 字体创建和储存(来自于CoreText翻译 Font Creation and Storage)(一)
- MAC OSX 字体创建和储存(来自于CoreText翻译 Font Creation and Storage)(二)
- 如何使用 CoreText 创建一个简单的杂志应用
- ASP.NET Core 中文文档 第二章 指南(2)用 Visual Studio 和 ASP.NET Core MVC 创建首个 Web API
- (转)[翻译] ASP.NET MVC Tip #1 - 使用扩展方法创建新的HTML Helper
- ABP官方文档翻译 9.2 Entity Framework Core
- dtcoretext概要
- DOM操作HTML文档;js创建表格;清除空文本节点
- NHibernate翻译文档提供下载(chm和html格式)
- iOS开发】 CoreText 使用教程:以创建一个简单的杂志应用为例
- DTCoreText
- Storm官方文档翻译之创建Storm项目
- Dojo1.11官方教程文档翻译(5.8)创建基于模板的widget
- Android中/system/core/init/readme.txt的双语对照翻译文档
- Dojo1.11官方教程文档翻译(5.9)创建自定义widget
- 创建可编辑的xml文档(之四) 删除、改名、插入操作 YAOTIEBING [翻译]
- iOS开发】 CoreText 使用教程:以创建一个简单的杂志应用为例
- quartus时序分析文档理解与翻译(3) ——创建时钟和时钟约束