• 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: IBOutlet, multiple nibs, method duplication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IBOutlet, multiple nibs, method duplication


  • Subject: Re: IBOutlet, multiple nibs, method duplication
  • From: Trygve Inda <email@hidden>
  • Date: Wed, 04 Jun 2008 19:17:46 +0000
  • Thread-topic: IBOutlet, multiple nibs, method duplication

> On Tue, Jun 3, 2008 at 10:21 PM, Trygve Inda <email@hidden> wrote:
>
>> Since the IBOutlets in Main point to a different Nib than the IBOutlets in
>> Aux (even though they are functionally identical) is there a good, clean way
>> to manage this?
>
> Can you not wire the IBOutlets in Aux to the File's Owner, and set
> mainWindowController to be the owner of the Aux nib when you load it?
> You could still have a controller in Aux just doing the centering
> stuff in its awakeFromNib...
>
> Hamish
>


Hmmm... How would I do this exactly. I have two nibs A & B

I'd need two instances of WindowController. In the first instance the
IBOutlets are wired to objects in Nib A, the second instance needs to be
wired to nib B... And A & B are quite different.


_______________________________________________

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: IBOutlet, multiple nibs, method duplication
      • From: "Hamish Allan" <email@hidden>
References: 
 >Re: IBOutlet, multiple nibs, method duplication (From: "Hamish Allan" <email@hidden>)

  • Prev by Date: Re: IBOutlet, multiple nibs, method duplication
  • Next by Date: Re: IBOutlet, multiple nibs, method duplication
  • Previous by thread: Re: IBOutlet, multiple nibs, method duplication
  • Next by thread: Re: IBOutlet, multiple nibs, method duplication
  • Index(es):
    • Date
    • Thread