Re: What exactly does NSController do?
Re: What exactly does NSController do?
- Subject: Re: What exactly does NSController do?
- From: Rob Keniger <email@hidden>
- Date: Thu, 19 Nov 2009 16:08:52 +1000
On 19/11/2009, at 11:44 AM, Chase Meadors wrote:
> However, my question becomes more strange, as now I have many working bindings systems in my code without any NSControllers. Binding to plain old NSObjects seems to be fine. What is the purpose of NSController?
NSObjectController and friends conform to the NSEditor informal protocol, which means they correctly handle -commitEditing and -discardEditing messages, which binding directly to an object doesn't do.
--
Rob Keniger
_______________________________________________
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