Re: Window/Controller, View/Controller, View ?
Re: Window/Controller, View/Controller, View ?
- Subject: Re: Window/Controller, View/Controller, View ?
- From: Quincey Morris <email@hidden>
- Date: Wed, 01 Feb 2012 10:24:41 -0800
On Feb 1, 2012, at 09:00 , Fritz Anderson wrote:
> Bindings can be your friend here. In simple cases, having an NSObjectController link between controls and .representedObject can do a lot for you.
I'm not sure how it improves the situation to have a NSObjectController. You can bind directly through File's Owner.representedObject.
Other than being bindable-to in IB, I've never seem much utility in NSObjectController. It has one significant feature -- it implements the NSEditorRegistration and NSEditor protocols -- but NSViewController does that too.
But maybe I'm overlooking something.
_______________________________________________
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