Re: controlTextDidEndEditing and buttons...
Re: controlTextDidEndEditing and buttons...
- Subject: Re: controlTextDidEndEditing and buttons...
- From: Kyle Sluder <email@hidden>
- Date: Sat, 14 Nov 2009 12:07:43 -0800
On Sat, Nov 14, 2009 at 10:21 AM, Carlo Caione <email@hidden> wrote:
> To use it do I need to subclass an NSController (NSObjectController) ?
No, you just need to make sure that whatever controller you're using
conforms to NSEditorRegistration. NSControllers already do, but your
text field might be bound to some other controller that isn't already
a subclass.
Either way, the precondition is that you're binding to a controller,
not directly to your model. And of course that you're using bindings
in the first place.
--Kyle Sluder
_______________________________________________
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