Re: Swapping IB-created views and keeping IBOutlets hooked up
Re: Swapping IB-created views and keeping IBOutlets hooked up
- Subject: Re: Swapping IB-created views and keeping IBOutlets hooked up
- From: Ken Thomases <email@hidden>
- Date: Tue, 16 Sep 2008 18:11:44 -0500
On Sep 16, 2008, at 5:33 PM, Alex Kac wrote:
I have two views that are different layouts of the same UI loaded
by a NSViewController.
Is that one view controller managing two views? Or two view
controllers, one for each view?
In the second case (which makes more sense to me), I'd have the
window controller (or other coordinating controller) reference the
desired button through the currently swapped-in view controller. I
wouldn't have the window/coordinating controller keep an outlet to
the button(s) at all.
Cheers,
Ken
_______________________________________________
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