Lincoln,
I'd refactor this so that you can take advantage of NSTextView's -
readRTFDFromFile: method. It appears that you just want to get the
NSTextView populated with some text. You don't seem to be saving the
RTF data for any other purpose.
Compiled in Mail.app:
NSString *filePath =
Hi, I am using loadFileWrapperRepresentation to implement a RTF/RTFD
reader. My code for RTF and RTFD support works, but I can't figure out
how to load in .txt files. the basic flow of the reader is, determine
the file type, set a NSAttributedString to a certain value depending
on the file