Re: NSObjectController needless in "Intro to Bindings"?
Re: NSObjectController needless in "Intro to Bindings"?
- Subject: Re: NSObjectController needless in "Intro to Bindings"?
- From: David Carlisle <email@hidden>
- Date: Tue, 3 Jun 2008 22:55:14 -0600
I'm looking forward to reading the chapter "Application Kit Support
for Controller Subsystems" in Erik Buck's forthcoming book "Cocoa
Design Patterns" to get a clearer understanding of the use of
NSObjectController, etc.
On Jun 3, 2008, at 7:59 PM, Ken Thomases wrote:
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
_______________________________________________
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