Re: / rtf files /
Re: / rtf files /
- Subject: Re: / rtf files /
- From: Clark Cox <email@hidden>
- Date: Thu, 10 Jun 2004 11:22:14 -0400
On Jun 10, 2004, at 10:43, TM Systems::Luis Pojan wrote:
>
Does anyone know an easy way to handle RTF files? Like getting the
>
plain text and stuff... NSAttributedString seems to help but the info
>
I've found is kinda confusing.
NSAttributedString *richTextString = [[[NSAttributedString alloc]
initWithPath: @"/path/to/rtf/file" documentAttributes:NULL]
autorelease];
NSString *plainTextString = [richTextString string];
--
Clark S. Cox III
email@hidden
http://homepage.mac.com/clarkcox3/
http://www.livejournal.com/users/clarkcox3/
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >/ rtf files / (From: "TM Systems::Luis Poján" <email@hidden>) |