• 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
NSSearchField and CR
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSearchField and CR


  • Subject: NSSearchField and CR
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Thu, 31 Oct 2013 20:10:50 +0700

I have an NSSearchField with sendsWholeSearchString = NO in order to do incremental searches.
But if the content of the search field is a regular expression, I only want to process it when the regular expression is complete, i.e. when the user enters CR (aka "return").

Is there a way to distinguish between actionMethod is called because some character was added, or because the user hit CR?

Gerriet.

OS X 10.9


_______________________________________________

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


  • Follow-Ups:
    • Re: NSSearchField and CR
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Superimposing NSViews over an SKView
  • Next by Date: 10.9 Bug in Core Data : Entity Description methods
  • Previous by thread: Re: Superimposing NSViews over an SKView
  • Next by thread: Re: NSSearchField and CR
  • Index(es):
    • Date
    • Thread