• 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
how to manage multiple non-document windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to manage multiple non-document windows


  • Subject: how to manage multiple non-document windows
  • From: Steve Christensen <email@hidden>
  • Date: Thu, 24 Apr 2008 16:39:59 -0700

I'm rewriting an old legacy app in Cocoa and have run into a stumbling block. The app is supposed to support having multiple windows open, but the window content is unrelated to the concept of a document - which is the "normal" multiple window model. Instead the windows provide a UI to perform specific calculations, among other things. An example of what I'm looking for would be if you had a version of the Calculator application where you could create multiple calculator windows so you could leave several calculations "open" simultaneously, if that makes sense.

When I start up the app, an instance of the window is created, but I can't figure out how to get it to repeat the process in response to selecting New from the File menu. I've found a bunch of info on multiple document windows, or a single non-doc window plus a preferences window, but nothing on instantiating multiple non- document windows. Did I just miss something basic, or is all of the magic really focused on NSDocumentController, etc.?

steve

_______________________________________________

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: how to manage multiple non-document windows
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: QTMovie grabing while playback
  • Next by Date: Re: NSLog() replacement for debugger output
  • Previous by thread: Re: Obj-C client and Java-RMI server
  • Next by thread: Re: how to manage multiple non-document windows
  • Index(es):
    • Date
    • Thread