Re: multiple documents, single window
Re: multiple documents, single window
- Subject: Re: multiple documents, single window
- From: Brendan Younger <email@hidden>
- Date: Fri, 8 Oct 2004 11:33:02 -0500
Essentially, you'll need to override -makeWindowControllers in your NSDocument and somehow find the correct window controller for your document. You'll probably also have to override -setDocument in NSWindowController, probably making it a no-op, otherwise the document architecture will get confused. Other than that, though, it should be doable.
As for those who think this is "highly unusual", I personally think it's a travesty that the document architecture doesn't make it easier to do this.
Brendan
On Oct 8, 2004, at 6:04 AM,
����崧 a.k.a. James Chen wrote:
On Oct 8, 2004, at 2:15 PM, Jacob Lukas wrote:
I am designing a document-based application, and I wish for the user to be able to have more than one document in a single window. I really don't know where to start. Is there a good tutorial on this sort of thing?
Thanks for any sort of kick in the right direction
Jacob
_______________________________________________
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