(no subject)
(no subject)
- Subject: (no subject)
- From: Ian was here <email@hidden>
- Date: Mon, 18 Jul 2005 12:35:10 -0700 (PDT)
Does anyone know how to get RTF formatting text into
an NSString? The string method in NSTextView strips
the formatting away. I found a workaround, but it's
ugly. I'm writing rich text out to disk, then loading
plain text back in, showing all the RTF formatting
(which is what I want).
[data writeRTFDToFile:@"/Users/Ian/Desktop/test.rtf"
atomically:YES];
NSString *testString = [[[NSString alloc]
initWithContentsOfFile:@"/Users/Ian/Desktop/test.rtf/TXT.rtf"] autorelease];
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden