This project aims to duplicate the methods present on Mac OSX which allow creation of
NSAttributedString from HTML code on iOS.
The project covers two broad areas:
- Layouting - Interfacing with CoreText, generating attributed strings from HTML code
- 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
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.
A Q&A answers some frequently asked questions.
There is also a [Programming Guide](Documentation/Programming Guide-template.markdown) with a set of solutions to common problems.
- Version 1.6.9
- Version 1.6.8
- Version 1.6.7
- Version 1.6.6
- Version 1.6.5
- Version 1.6.4
- Version 1.6.3
- Version 1.6.2
- Version 1.6.1
- Version 1.6.0
- Version 1.5.3
- Version 1.5.2
- Version 1.5
- Version 1.4.x
- Version 1.4
- Version 1.2
- Version 1.1
- Version 1.0.1
- Version 1.0
It is open source and covered by a standard 2-clause BSD license. That means you have to mention Cocoanetics as the original author of this code and reproduce the LICENSE text inside your app.
You can purchase a Non-Attribution-License for 75 Euros for not having to include the LICENSE text.
We also accept sponsorship for specific enhancements which you might need. Please contact us via email for inquiries.