• 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: [COCOA] notification of enter/focus event?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [COCOA] notification of enter/focus event?


  • Subject: Re: [COCOA] notification of enter/focus event?
  • From: Matthew Lindfield Seager <email@hidden>
  • Date: Sat, 12 Dec 2009 20:21:36 +1100

On Saturday, December 12, 2009, Paxton Sanders <email@hidden> wrote:
> I want to know when the user exits edit fields, so I can check values and provide immediate feedback.  I'm using
>  - (void)controlTextDidEndEditing:(NSNotification *)aNotification
> and it works.

Also (& it may not be an issue for you) beware of some actions that
don't (by default) end editing even though you might want them to
(particularly if your immediate feedback is related to validation).

For example, user types some text then chooses File -> Save without
ending editing so previous value gets saved... Not what users expect!
_______________________________________________

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: 
 >[COCOA] notification of enter/focus event? (From: Paxton Sanders <email@hidden>)

  • Prev by Date: Data-Driven Animation
  • Next by Date: Re: Detaching a thread to save a file?
  • Previous by thread: Re: [COCOA] notification of enter/focus event?
  • Next by thread: -[NSWorkspace absolutePathForAppBundleWithIdentifier:] and the Trash
  • Index(es):
    • Date
    • Thread