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

Re: UITextField Questions


  • Subject: Re: UITextField Questions
  • From: Brooke Gravitt <email@hidden>
  • Date: Mon, 25 Jul 2011 21:31:34 -0400

On Mon, Jul 25, 2011 at 9:19 PM, Conrad Shultz
<email@hidden> wrote:
> Take a look at UITextInputTraits to specify a numeric keyboard. (IIRC this can be done in IB too.)
>
> Take a look at UITextFieldDelegate's textFieldShouldEndEditing: method to perform validation of input.
>
> I should also point out that often a text field is not the most appropriate control for restricted numeric input. If you have a reasonably small finite set of input values, consider UIPickerView. If you have a finite range for input, consider UISlider.
>
> (Sent from my iPhone.)
>
> --
> Conrad Shultz

Conrad,

 Thanks for the response! The fields in question are for setting a
price and a percentage, respectively. They don't seem to fit into
either category. I'll take a look at the UITextInputTraits && the
delegate's textFieldShouldEndEditing method as well!

Thanks!

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: Howard Siegel <email@hidden>
    • Re: UITextField Questions
      • From: Conrad Shultz <email@hidden>
References: 
 >UITextField Questions (From: Brooke Gravitt <email@hidden>)
 >Re: UITextField Questions (From: Conrad Shultz <email@hidden>)

  • Prev by Date: Re: UITextField Questions
  • Next by Date: Re: Problem getting my layers to draw in the right order
  • Previous by thread: Re: UITextField Questions
  • Next by thread: Re: UITextField Questions
  • Index(es):
    • Date
    • Thread