• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Stop edit session with a NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Stop edit session with a NSTextField (From: Eric Gorr <email@hidden>)
 >Re: Stop edit session with a NSTextField (From: Patrick Mau <email@hidden>)
 >Re: Stop edit session with a NSTextField (From: Eric Gorr <email@hidden>)
 >Re: Stop edit session with a NSTextField (From: Patrick Mau <email@hidden>)
 >Re: Stop edit session with a NSTextField (From: Eric Gorr <email@hidden>)

  • Prev by Date: Re: Moving oneself to /Applications (or ~/Applications)
  • Next by Date: Re: Getting CGImage out of NSBitmapImageRep in 10.4
  • Previous by thread: Re: Stop edit session with a NSTextField
  • Next by thread: Re: Stop edit session with a NSTextField
  • Index(es):
    • Date
    • Thread