Hi all,
I have a document-based app. Doc opening is working well.
Now my app also needs to be able to open .foo files. However, these are
not document files, and there is no NSDocument subclass related to
them. I want to treat .foo files specially (show a special window), and
let Cocoa handle
On Dec 2, 2008, at 15:49, Sean McBride wrote:
1) Subclassing NSDocumentController and implementing
openDocumentWithContentsOfURL:display:error:. This almost works
perfectly. I can detect .foo files and do my special handling, but
when
I return nil, Cocoa 'helpfully' displays a generic error