• 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
Newbie interface questions - multiple "modal" windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie interface questions - multiple "modal" windows


  • Subject: Newbie interface questions - multiple "modal" windows
  • From: "Matthew Youney" <email@hidden>
  • Date: Mon, 16 Jun 2008 19:38:56 -0400
  • Importance: Normal

I am creating an application that requires multiple “modal” windows.  There
is a “main” window, and there are multiple other windows that can be
displayed from the main window (using a toolbar, buttons, etc.).  These
“other” windows need to be modal, that is these windows must receive all
user input, and be closed before returning to the “main” window.  These are
important windows with many controls, and not simple dialogs.  I have all of
the “bits and pieces” of this app working quite well, and I am having some
difficulty tying it all together with the GUI.

I do understand that there are many [very different] ways to accomplish
this, but being new to Cocoa, I want to make sure that I choose a sound
technique.  Reading the user interface guidelines, I understand that all of
these windows should be in separate NIB files, and loaded as needed for
performance reasons.

1.	What is the best way to instantiate the “other” windows?  In this
application, all of the windows are quite unique, and there will never be
more than one instance of each.  Should this be done in the “main”
controller by loading the NIB, instantiating the other controller, and then
showing the window?
2.	I would think that this is a common application architecture (it is to
me), however have not been able to find any sort of examples, in print or on
the web.  Is anyone aware of any that you could direct me to, no matter how
simplistic?

Thanks in advance for steering me in the right direction here.
Matt
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: Newbie interface questions - multiple "modal" windows
      • From: Omar Qazi <email@hidden>
    • Re: Newbie interface questions - multiple "modal" windows
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: NSOutlineView threading problem
  • Next by Date: NSSound thread-safety?
  • Previous by thread: Re: Cocoa, C++, Keyboard input and Timers
  • Next by thread: Re: Newbie interface questions - multiple "modal" windows
  • Index(es):
    • Date
    • Thread