UITextField Questions
UITextField Questions
- Subject: UITextField Questions
- From: Brooke Gravitt <email@hidden>
- Date: Mon, 25 Jul 2011 21:09:26 -0400
Hello,
I have a question about UITextField -
How might I restrict/correct user input that is numerical? For
instance, I would like the input to only be numbers, and to have an
upper bounds.
If a user inputs any non-numerical input, I want to send a message to
the UITextField to set itself back to a default value.
I'd also like to prevent users from putting a gazillion zeros in for
some ridiculous numbers. Maybe cap it at 10^7.
Any hints?
Thanks in advance!
Brooke
_______________________________________________
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