iOS equivalent to MacOS NSAttributedString initWithRTF
Posted
by
trekme
on Stack Overflow
See other posts from Stack Overflow
or by trekme
Published on 2012-06-06T19:16:22Z
Indexed on
2013/06/27
22:21 UTC
Read the original article
Hit count: 264
What is an iOS equivalent to MacOS NSAttributedString initWithRTF ?
The Application Kit extends Foundation’s NSAttributedString class by adding support for RTF, RTFD, and HTML (with or without attachments), graphics attributes (including font and ruler attributes), methods for drawing attributed strings, and methods for calculating significant linguistic units.
- (id)initWithRTF:(NSData *)rtfData documentAttributes:(NSDictionary **)docAttributes
I need to process a short stream of RTF data in an iOS application. Thank you!
© Stack Overflow or respective owner