Re: NSFormatter Question: NSTextField should not be left blank
Re: NSFormatter Question: NSTextField should not be left blank
- Subject: Re: NSFormatter Question: NSTextField should not be left blank
- From: Mike Vannorsdel <email@hidden>
- Date: Sun, 09 Jun 2002 13:15:12 -0600
Use NSFormatter's isPartialStringValid:newEditingString:errorDescription:.
On 6/9/02 12:55 PM, "Heiko" <email@hidden> wrote:
>
I got stuck with a NSFormatter which should prevent the user from leaving
>
NSTextFields (and NSSecureTextFields) blank.
>
>
It was pretty easy to create a NSFormatter instance with:
_______________________________________________
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.