Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Cocoanetics/DTCoreText
Methods to allow using HTML code with CoreText
https://github.com/Cocoanetics/DTCoreText
Last synced: 6 days ago
JSON representation
Methods to allow using HTML code with CoreText
- Host: GitHub
- URL: https://github.com/Cocoanetics/DTCoreText
- Owner: Cocoanetics
- License: bsd-2-clause
- Created: 2011-01-10T15:02:13.000Z (almost 14 years ago)
- Default Branch: develop
- Last Pushed: 2024-11-15T08:49:20.000Z (27 days ago)
- Last Synced: 2024-11-30T17:02:00.713Z (12 days ago)
- Language: Objective-C
- Homepage:
- Size: 5.91 MB
- Stars: 6,348
- Watchers: 209
- Forks: 1,182
- Open Issues: 39
-
Metadata Files:
- Readme: Readme.markdown
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - DTCoreText
- awesome-ios-star - DTCoreText - Methods to allow using HTML code with CoreText. (Text / Other Testing)
- awesome-ios - DTCoreText - Methods to allow using HTML code with CoreText. (Text / Other Testing)
- awesome - DTCoreText - Methods to allow using HTML code with CoreText (etc)
- awesome - DTCoreText - Methods to allow using HTML code with CoreText (etc)
README
DTCoreText
==========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:
1. **Layouting** - Interfacing with CoreText, generating attributed strings from HTML code
2. **User Interface** - UI-related classes render these objects, specifically `DTAttributedTextView`, `DTAttributedLabel` and `DTAttributedTextCell`.This is useful for drawing simple rich text like any HTML document without having to use a web view. 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](http://www.cocoanetics.com/parts/dtrichtexteditor/).
Documentation
-------------Documentation can be [browsed online](https://docs.cocoanetics.com/DTCoreText) or installed in your Xcode Organizer via the [Atom Feed URL](https://docs.cocoanetics.com/DTCoreText/DTCoreText.atom).
A [Q&A](http://www.cocoanetics.com/2011/08/nsattributedstringhtml-qa/) answers some frequently asked questions.
Changelog: [GitHub Releases](https://github.com/Cocoanetics/DTCoreText/releases)
There is also a [Programming Guide](Documentation/Programming%20Guide-template.markdown) with a set of solutions to common problems.
Follow [@cocoanetics](http://twitter.com/cocoanetics) on Twitter or subscribe to the [Cocoanetics Blog](http://www.cocoanetics.com) for news and updates.
License
-------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](https://www.cocoanetics.com/order/?product_id=DTCoreText) 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](mailto:[email protected]?subject=DTCoreText) for inquiries.