• 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: Duplicate Nib Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Duplicate Nib Windows


  • Subject: Re: Duplicate Nib Windows
  • From: Thomas Davie <email@hidden>
  • Date: Tue, 15 Mar 2005 09:51:29 +0000


On Mar 15, 2005, at 9:48 AM, SD wrote:

Hello,

I'm developing a new application and I'd like to create a window in IB and then have my application make multiple instance of that window.

Each window will have the same functionality but represent a connection to a difference resource.

What's the best way or how do I do this?
You want to create multiple controller instances and have each one call loadNibNamed: to become the owner of the nib, then each one gets an interface associated with it, and that controller can have a model set up to say which resource it's connecting to.

Bob
_______________________________________________
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


  • Follow-Ups:
    • Help with code...
      • From: John <email@hidden>
References: 
 >Duplicate Nib Windows (From: SD <email@hidden>)

  • Prev by Date: Re: Optimising an app for battery power use?
  • Next by Date: Re: How to create a window with a border
  • Previous by thread: Duplicate Nib Windows
  • Next by thread: Help with code...
  • Index(es):
    • Date
    • Thread