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: Mark Lively <email@hidden>
- Date: Sat, 18 Jun 2005 01:06:55 -0400
On Jun 18, 2005, at 12:54 AM, Rick Hoge wrote:
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!
They demo'd it on "Sketch". Multiple documents in one window is
further against Cocoas concepts and is therefore harder to
implement. There is a "Sketch" available from Apple's developer site
as a code demo. I don't know if its the same one.
-Mark
Who saw that one and was rather impressed.
_______________________________________________
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