• 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
UITextField Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: UITextField Questions
      • From: Conrad Shultz <email@hidden>
  • Prev by Date: Re: Fastest high-quality thumbnail display
  • Next by Date: Re: UITextField Questions
  • Previous by thread: Re: Disable Lion's window restoration?
  • Next by thread: Re: UITextField Questions
  • Index(es):
    • Date
    • Thread