• 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: multiple documents, single window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: multiple documents, single window
      • From: Oliver Cameron <email@hidden>
References: 
 >multiple documents, single window (From: Jacob Lukas <email@hidden>)
 >Re: multiple documents, single window (From: 陳銘崧 a.k.a. James Chen <email@hidden>)

  • Prev by Date: Re: NSImageView PICTRepresentation?
  • Next by Date: Re: To @try or not?
  • Previous by thread: Re: multiple documents, single window
  • Next by thread: Re: multiple documents, single window
  • Index(es):
    • Date
    • Thread