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 (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]

Reply via email to