Re: NSObjectController needless in "Intro to Bindings"?
Re: NSObjectController needless in "Intro to Bindings"?
- Subject: Re: NSObjectController needless in "Intro to Bindings"?
- From: Ken Thomases <email@hidden>
- Date: Tue, 3 Jun 2008 20:59:33 -0500
On Jun 3, 2008, at 6:25 PM, Jochen Moeller wrote:
Both versions run identical, so my question:
Are both approaches equivalent and the NSObjectController is not
really needed or is there a reason/advantage to hook the
NSObjectController between MyController and the NSArrayController ?
See this: http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaBindings/Concepts/WhatAreBindings.html#/
/apple_ref/doc/uid/20002372-177085
In short, yes, it's possible to get away with binding directly to
model objects without an intervening NSController. It's often better
to use such a controller, though, and the link explains why.
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