Re: Stop edit session with a NSTextField
Re: Stop edit session with a NSTextField
- Subject: Re: Stop edit session with a NSTextField
- From: Michael Ash <email@hidden>
- Date: Mon, 23 Feb 2009 22:39:09 -0500
On Mon, Feb 23, 2009 at 11:35 AM, Eric Gorr <email@hidden> wrote:
> I do find it odd that I could not tell the field editor to resign as first
> responder.
>From the documentation for -resignFirstResponder:
"Notifies the receiver that it's been asked to relinquish its status
as first responder in its window."
And:
"Use the NSWindow makeFirstResponder: method, not this method, to make
an object the first responder. Never invoke this method directly."
In other words, it is a method you can implement to perform an action
when this happens, but it is not a method you can call to make it
happen.
Mike
_______________________________________________
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