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 NSAttributedString from HTML code on iOS.

这个项目旨在复制 Mac OSX 中允许直接从 HTML 的代码中创建富文本功能,让其能在 iOS 上使用。

The project covers two broad areas:

这个项目覆盖了两个方面:

  1. Layouting - Interfacing with CoreText, generating attributed strings from HTML code Layouting - CoreText 的接口,用来从 HTML 代码中生成富文本布局
  2. User Interface - UI-related classes render these objects, specifically DTAttributedTextView,DTAttributedLabel and 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 上。

Q&A answers some frequently asked questions.

在这里你可以看到经常被问到的问题。

Changelog: GitHub Releases

更改日志的地方

There is also a Programming Guide with a set of solutions to common problems.

这里你可以找到通用问题中的一系列解决方案。

最新文章

  1. 401 - 未授权:由于凭据无效,访问被拒绝”在iis的解决办法
  2. No plugin found for prefix 'mybatis-generator' in the current project
  3. Linux常用命令学习2---(文件搜索命令locate find、命令搜索命令whereis which、字符串搜索命令grep、帮助命令man)
  4. C#窗体 WinForm 文件操作
  5. HP ILO2 使用详细教程
  6. Spring JdbcTemplate的queryForList(String sql , Class<T> elementType)易错使用--转载
  7. Delphi webservice 定义 转
  8. ubuntu enable all Ubuntu software (main universe restricted multiverse) repositories use
  9. Javascript调用 ActiveXObject导出excel文档。
  10. PAT乙1002
  11. Vue 表单验证插件
  12. U盘文件系统格式
  13. IntelliJIdea 2016.2 使用 tomcat 8.5 调试spring的web项目时,bean被实例化两次导致timer和thread被启动了两遍的问题的解决
  14. Effective Java 第三版——56. 为所有已公开的API元素编写文档注释
  15. js实现cookie跨域功能
  16. chrome插件 - Manifest文件中的 background
  17. postgresql----COPY之表与文件之间的拷贝
  18. (第十周)评论Beta发布
  19. Javascript一(变量,数据类型,正则表达式,数据,语句)
  20. (1)FluidMoveBehavior 之 ListBox 中详细内容项飞出来

热门文章

  1. beego学习笔记(2)
  2. 三十分钟理解计算图上的微积分:Backpropagation,反向微分
  3. IEEEXtreme 10.0 - Full Adder
  4. AC日记——#2054. 「TJOI / HEOI2016」树
  5. centos7 修改时区
  6. win7下docker环境centos容器中安装mysql5.7
  7. mongoDB学习第二天之常用方法
  8. Unity 2D游戏开发教程之摄像头追踪功能
  9. 解释Crypto模块怎么就这么"皮"?No module named "Crypto"
  10. ubuntu16.04.2安装完后重启报错[sda] Assuming drive cache: write through