Re: verify user input
Re: verify user input
- Subject: Re: verify user input
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 28 Aug 2003 15:39:43 +0200
Write your own NSFormatter and prevent the insertion of chars other
than:
{[0-9],-,DecimalSeparator} and eventually the thousands separator.
On jeudi, ao{ 28, 2003, at 15:09 Europe/Paris, Damien Pacaud wrote:
Hi,
I'd like to be sure that the user input in a textField added in the
save pannel is a number, I can't figure out a way to do it since
NSNumberFormatter does not change the values in the text field if i
enter strings instead of floats....
any workaround ?
Thanks in advance
Damien
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.