The way I got the application to accept any file drop was to add
another document type to the plist, which simply had "*" for the
extension and "****" for the OS type. That works, except when I
use NSDocumentController to open a specified file (which is a
supporting RTF document and not my main document), it opens with
that "fake" document instead of the rtf class I have.
I believe you can just move the RTF type ahead of the generic type
in the plist. (Or is it already?) The first match for a file is the
one that will be used.
Hmmm... Tried that and I still get the same error I was getting
before. What happens is I get an error at runtime saying:
"loadDataRepresentation:ofType: is a subclass responsibility but has
not been overridden."
The "catch-all" document type is dead last in the list.
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