On Mon, Jul 25, 2011 at 9:19 PM, Conrad Shultz <con...@synthetiqsolutions.com> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com