Re: Bindings + NS{Secure}TextField validation -> coerced value is not used
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