September 2014

UITextField Max Length (The Right Way)

Any long time developer of iOS knows that limiting the length of a UITextField is fairly simple. All you have to do is implement  textField:shouldChangeCharactersInRange:replacementString:. The problem is, when compared to other languages, this can seem really tedious and dumb. In other languages/platforms, all you have to do is set some property on your UITextField , and you’re …

UITextField Max Length (The Right Way) Read More »