• Stars
    star
    110
  • Rank 316,770 (Top 7 %)
  • Language
    Objective-C
  • Created about 14 years ago
  • Updated almost 14 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A rich text view for iOS with basic HTML rendering
Parses a tiny subset* of HTML into a drawable data structure. Because UIWebView is way too slow, and you can't "draw" NSAttributedStrings the same way as NSStrings (drawInPoint: drawInRect: etc), and NSAttributedStrings lack useful things such as links and image rendering.

* Supported tags/attributes:
- b
- a
- i
- br

Todo:
- trim adjacent spaces in the same manner as HTML renderers
- delegate link callbacks
- images
-- delegate image callbacks
- blockquote
- underline
- strikethrough

Nice to have:
- font tags, with attributes such as font size, color
- image align attribute