• 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: Get specified window from nib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get specified window from nib


  • Subject: Re: Get specified window from nib
  • From: "Michael Ash" <email@hidden>
  • Date: Mon, 11 Aug 2008 12:59:24 -0400

On Sun, Aug 10, 2008 at 10:01 PM, Fosse <email@hidden> wrote:
> I have one nib containing more than ten dialogs and want to get the
> specified window after nib is loading..

Don't take this badly, but if you have one nib with ten windows and
you only want to access one of them, you're doing it wrong. Separate
nibs will be easier to work with and will be more efficient (you don't
have to create and then destroy nine windows you don't care about
every time you load one you do care about).

> If I use FileOwner and binding, I need to add a lot of Outlets in the
> fileOwner class and create the binding in the IB..   Is there a more
> convenient way to get the specified  window by passing the window name and
> nib reference like Carbon?

Create one outlet to each window. Ten outlets doesn't seem like an
enormous hardship.

Mike
_______________________________________________

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: Get specified window from nib
      • From: Fosse <email@hidden>
References: 
 >Get specified window from nib (From: Fosse <email@hidden>)

  • Prev by Date: Re: NSConditionLock vs MPQueue
  • Next by Date: Newbie Error on Loading XML
  • Previous by thread: Re: Get specified window from nib
  • Next by thread: Re: Get specified window from nib
  • Index(es):
    • Date
    • Thread