Re: What, exactly, makes a Cocoa project document-based?
Re: What, exactly, makes a Cocoa project document-based?
- Subject: Re: What, exactly, makes a Cocoa project document-based?
- From: Rick Hoge <email@hidden>
- Date: Sat, 18 Jun 2005 00:54:39 -0400
Thanks for the quick reply!
There was a WWDC session on advanced document architecture
techniques that specifically addressed the act of creating a
document with a single window capable of handling multiple
documents. As I recall, the basic technique involved allowing
Cocoa to create an NSWindowController for each document, but then
redirecting the NSDocument object to use a single, common
NSWindowController for the shared window.
The session went into some detail about which methods of NSDocument
and NSWindowController you have to replace, or otherwise modify to
get this behavior. Unfortunately, I don't have any notes from that
session but you may be able to find others that do.
I regretted missing that session due to a timing conflict - will have
to check out the DVDs when they come out!
_______________________________________________
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