Re: Subclassing NSDocumentController
Re: Subclassing NSDocumentController
- Subject: Re: Subclassing NSDocumentController
- From: Adam Knight <email@hidden>
- Date: Fri, 19 Sep 2003 14:50:42 -0500
Perhaps I'm missing a larger problem you're running into, but in
Project Builder, under your Target, where you set your document types,
just tell it to open MyDocument (or whatever) for each type you list.
That should do it.
On Friday, September 19, 2003, at 10:19 AM, Tom Gray wrote:
Hello,
Does anyone have any thoughts on subclassing NSDocumentController?
I wish for my application to always create instances of my NSDocument
subclass no matter what type of "file" is read from disk. I can't seem
to accomplish this with subclassing NSDocumentController.
In other words, no matter what type of document my application reads I
wish to open my NSDocument subclass (it has converter code inside it
for several data formats) the only way I can think to accomplish this
is by subclassing NSDocumentController.
Tom Gray
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
--
Adam
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.