Recent Comments
Archives
Tag Archives: UITextField
Using a UITextField like an ATM keypad.
A small snippet of code that uses a UITextField like an ATM keypad. E.g. You start typing in a sequence like this: £0.00 -> £0.02 -> £0.20 -> £2.05 -> £20.50 Elsewhere define and store a reference to a NSNumberFormatter … Continue reading
Providing a consistent UI experience between UITextField and UITextView
There are a few major differences between the two but the most glaring is that UITextView does not support styles so you cannot create them stylistically the same as a UITextField. You cannot readily apply background images depending on state … Continue reading
Posted in Programming
Tagged iOS, iphone, UITextBorderStyleRoundedRect, UITextField, UITextView
1 Comment