Re: Getting notification when NSTextFieldCell end editing in a table view
Re: Getting notification when NSTextFieldCell end editing in a table view
- Subject: Re: Getting notification when NSTextFieldCell end editing in a table view
- From: Gustavo Pizano <email@hidden>
- Date: Mon, 21 Jun 2010 15:26:07 +0200
Sorry,
as docs says:
The NSControlTextEditingDelegate protocol defines the optional methods implemented by delegates of objects that are subclasses of NSControl.
so I guess NSTableView should call this methods .. but it isn't
shall I add something else than setting the delegate?
G.
On Jun 21, 2010, at 3:17 PM, Graham Cox wrote:
>
> On 21/06/2010, at 11:10 PM, Gustavo Pizano wrote:
>
>> I can't assign any delegate to the cell but to its view, so.... :S Im kinda lost here...
>
>
> There is only one cell, and only one field editor. The view will tell you when it ends editing (and begins for that matter), so the most appropriate hooks are likely to be:
>
> • – control:textShouldBeginEditing:
> • – control:textShouldEndEditing:
>
> --Graham
>
>
>
>
_______________________________________________
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