• 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: Bindings + NS{Secure}TextField validation -> coerced value is not used
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings + NS{Secure}TextField validation -> coerced value is not used


  • Subject: Re: Bindings + NS{Secure}TextField validation -> coerced value is not used
  • From: Alastair Houghton <email@hidden>
  • Date: Thu, 30 Apr 2009 14:57:11 +0100

On 30 Apr 2009, at 14:13, Thomas Engelmeier wrote:

I have a NSSecureTextField combined with bindings I need to filter for "allowed" formats like ['0'-'9']* or ['0'-'9''a'-'f']*.

Have you tried setting a custom formatter and implementing

- isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription :

to do whatever it is that you need?

Kind regards,

Alastair.

--
http://alastairs-place.net



_______________________________________________

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: 
 >Bindings + NS{Secure}TextField validation -> coerced value is not used (From: Thomas Engelmeier <email@hidden>)

  • Prev by Date: Re: NSScanner off-by-one and I can't see why...
  • Next by Date: Re: Why is NSString->FSRef so hard?
  • Previous by thread: Bindings + NS{Secure}TextField validation -> coerced value is not used
  • Next by thread: NSTextView append Text help
  • Index(es):
    • Date
    • Thread