David, you do understand properly as that was my question. how do i reassemble the NSAttributedString from a NSData where it was stored.
On 2010-08-05, at 12:22 PM, David Duncan wrote: > On Aug 5, 2010, at 9:00 AM, Kyle Sluder wrote: > >> On Thu, Aug 5, 2010 at 8:16 AM, Sandro Noël <apple.li...@gestosoft.com> >> wrote: >>> NSMutableDictionary *dict = [NSMutableDictionary >>> dictionaryWithObject:NSRTFDTextDocumentType >>> forKey:NSDocumentTypeDocumentAttribute]; >> >> iOS has no RTF support. You'll need to use HTML (but I have no idea if >> NSAttributedString on iOS will read HTML, either). > > > It won't. iOS doesn't provide any parsers that generate an NSAttributedString > from a file. > > My recommendation to Sandro (assuming I understand his situation) would be to > store a representation of the NSAttributedString (probably as strings with > matching attribute dictionaries) and reassemble the NSAttributedString from > that at runtime. > -- > David Duncan > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com