> On Tue, Jun 3, 2008 at 10:21 PM, Trygve Inda <[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]