• 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 Copies of a window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple Copies of a window


  • Subject: Re: Multiple Copies of a window
  • From: Clark Cox <email@hidden>
  • Date: Mon, 13 Sep 2004 01:50:36 -0400

On Mon, 13 Sep 2004 00:15:37 -0400, Adam <email@hidden> wrote:
> I have a window that I would like to pop up as a sheet or a regular
> window. However, I want to have multiple copies of the window open at
> the same time displaying different data. Is this done with NDDocument,
> or is there an simpler way to create new instances of a window?
>
> How do I instantiate multiple copies of a single window during runtime?

The easiest way to do this would probably be to put the window in it's
own nib file. Then, each time you need a new instance of the window,
you simply load that nib again.

--
Clark S. Cox III
email@hidden
http://www.livejournal.com/users/clarkcox3/
http://homepage.mac.com/clarkcox3/
 _______________________________________________
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

References: 
 >Multiple Copies of a window (From: Adam <email@hidden>)

  • Prev by Date: Re: Finding the active NSTextField
  • Next by Date: Getting the background colour for NSBox?
  • Previous by thread: Multiple Copies of a window
  • Next by thread: Getting the background colour for NSBox?
  • Index(es):
    • Date
    • Thread