• 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: How to parse a search string..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to parse a search string..


  • Subject: Re: How to parse a search string..
  • From: Uli Kusterer <email@hidden>
  • Date: Mon, 13 Feb 2012 10:26:17 +0100

On 13.02.2012, at 00:22, Graham Cox wrote:
> If you really have to annoy the user by rejecting their input as they go, there are delegate methods on the field editor which would allow you to validate the text as they type - look up "field editor" in the guides.

 Isn't that what NSFormatter is for? Allow only input of numbers into a text field, and the likes? That's how NSOpenPanel does, it substitutes any colon character you type in (which is, to criminally simplify, the path component separator character on HFS) with a minus sign.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.masters-of-the-void.com




_______________________________________________

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: 
 >How to parse a search string.. (From: David Delmonte <email@hidden>)
 >Re: How to parse a search string.. (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: copy & isEqual nightmares
  • Next by Date: Re: copy & isEqual nightmares
  • Previous by thread: Re: How to parse a search string..
  • Next by thread: Re: How to parse a search string..
  • Index(es):
    • Date
    • Thread