• 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: Child windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Child windows?


  • Subject: Re: Child windows?
  • From: Matt Gemmell <email@hidden>
  • Date: Wed, 29 Jan 2003 19:23:50 +0000

On Wednesday, January 29, 2003, at 05:58 pm, James Pengra wrote:

In a document-style application I want to open a window in which to make an analytical plot of some data. This window will always be associated with with a main document window. I only want the window visible when called by the user.
I could create a window with its own Nib file and Controller, but I discovered the concept of a Child Window, and wonder if that would be a better approach. I don't find a lot of discussion or use of Child windows in the books I have, or even in Apple's documentation.

Not entirely sure what you mean by a child window, but If you're opening a secondary view or alternate representation of the same document's data/content, you'd probably do so by associating an additional WindowController (and its window) with the same DocumentController. I'm sure Aaron's and Scott's (et al) books discuss the hierarchy of doc-controllers to window controllers to windows. You'd just have two window controllers, each with its own window, owned by the same doc controller.

Best,
-Matt

--
Matt Gemmell
Scotland Software
http://www.scotlandsoftware.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Child windows?
      • From: Ryan Stevens <email@hidden>
References: 
 >Child windows? (From: James Pengra <email@hidden>)

  • Prev by Date: Sharing an NSTextView
  • Next by Date: Re: Power management with Cocoa
  • Previous by thread: Child windows?
  • Next by thread: Re: Child windows?
  • Index(es):
    • Date
    • Thread