I am creating an application using NSDocument. MyDocument.xib just has an NSTextView in an NSScrollView. When I do a ⌘S to save it, I get an error message ( ‘The document “Untitled” could not be saved as “Untitled.rubytext”. ‘). How can I make my application save it as an RTF file? I mean using NSDocument (I guess dataRepresentationOfType but I am not sure?)
Thanks in advance.
Apple answered this for you a very long time ago.