4 ms·
The rich text situation is somewhat different on the iPhone than it is on OSX/Cocoa. There is no NSTextView, for instance. The only "easy" rich text solution on
by BigZaphod 17y ago
The rich text situation is somewhat different on the iPhone than it is on OSX/Cocoa. There is no NSTextView, for instance. The only "easy" rich text solution on iPhoneOS is a UIWebView - which isn't exactly cheap in terms of CPU utilization. Ironically, a visual effect such as a page curl is likely far cheaper due to the GPU support than reflowing a bunch of rich text.
- pieter 17y agoI think that's changing in the iPad SDK
- DLWormwood 17y agoJust to clarify the above comment, there is a UITextView, but it's one typeface/size only.
- BigZaphod 17y agoMy comment was referring to NSTextView which is present in OSX/Cocoa. NSTextView is extremely powerful and feature-rich. UITextView is.... not so much, of course. :)
- GHFigs 17y agoThe only "easy" rich text solution on iPhoneOS is a UIWebView The ePub format is based on XHTML, so it stands to reason that it will use something more like this.