• 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
Multi windows in Document-based app, but 1 Nib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multi windows in Document-based app, but 1 Nib


  • Subject: Multi windows in Document-based app, but 1 Nib
  • From: Todd Heberlein <email@hidden>
  • Date: Thu, 5 Apr 2007 14:53:51 -0700

All the documentation for Document-based applications indicate that if you want multiple windows displaying different aspects of a single document (e.g., multiple views of a CAD model), then you should subclass NSWindowController, and then have each NSWindowController subclass load up a separate NIB in the makeWindowControllers method.

QUESTION: Why can't I just put multiple windows in the main/original Nib (i.e., MyDocument.nib)?

Will something break if I do (now or down the road with future OS or X-Code releases)? What I want to do is have a primary window representing the model/document, and then multiple (but optional) non- editable windows showing different (graphical) views on the same data.

Thanks,

Todd

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Multi windows in Document-based app, but 1 Nib
      • From: Sherm Pendley <email@hidden>
    • Re: Multi windows in Document-based app, but 1 Nib
      • From: Walt Horat <email@hidden>
  • Prev by Date: Re: multiple nibs
  • Next by Date: Re: Multi windows in Document-based app, but 1 Nib
  • Previous by thread: Re: Tooltip font size again ...
  • Next by thread: Re: Multi windows in Document-based app, but 1 Nib
  • Index(es):
    • Date
    • Thread