Hopefully someone will be able to help me with this.
I am creating a document based Cocoa application. I have things set up pretty much as Apple gives them to you. I've filled in some document types that my program is supposed to take, etc.. The problem is, though, that my program is not supposed to create new documents, only read in existing ones. Alas, I can't seem to stop my program from creating a new one when I run it.
I tried making my application a viewer of all the types I read (which is fine, because I don't write output via the default methods in my NSDocument subclass), but it still opens a new document on start up. :-/
Any ideas?
I am creating a document based Cocoa application. I have things set up pretty much as Apple gives them to you. I've filled in some document types that my program is supposed to take, etc.. The problem is, though, that my program is not supposed to create new documents, only read in existing ones. Alas, I can't seem to stop my program from creating a new one when I run it.
I tried making my application a viewer of all the types I read (which is fine, because I don't write output via the default methods in my NSDocument subclass), but it still opens a new document on start up. :-/
Any ideas?