• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What, exactly, makes a Cocoa project document-based?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What, exactly, makes a Cocoa project document-based?


  • Subject: Re: What, exactly, makes a Cocoa project document-based?
  • From: Ali Ozer <email@hidden>
  • Date: Sat, 18 Jun 2005 15:18:29 -0700

There is a "Sketch-112," which is not the Sketch you're looking for in this case. That was used for another talk.

The Sketch which demonstrates multiple documents per window will hopefully appear as "Sketch 2" on the developer website soon.

Ali





Begin forwarded message:

From: Mark Lively <email@hidden>
Date: June 17, 2005 22:06:55 PDT
To: Rick Hoge <email@hidden>
Cc: cocoa Dev <email@hidden>
Subject: Re: What, exactly, makes a Cocoa project document-based?



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


References: 
 >What, exactly, makes a Cocoa project document-based? (From: Rick Hoge <email@hidden>)
 >Re: What, exactly, makes a Cocoa project document-based? (From: Scott Thompson <email@hidden>)
 >Re: What, exactly, makes a Cocoa project document-based? (From: Rick Hoge <email@hidden>)
 >Re: What, exactly, makes a Cocoa project document-based? (From: Mark Lively <email@hidden>)

  • Prev by Date: Re: Two Core Data Questions
  • Next by Date: Re: Does NSURLConnection automatically decode gzip'd data?
  • Previous by thread: Re: What, exactly, makes a Cocoa project document-based?
  • Next by thread: Re: What, exactly, makes a Cocoa project document-based?
  • Index(es):
    • Date
    • Thread