Self Validating Text Fields

My belief is that a text field should be able to do its own validation. Unfortunately, the delegate pattern causes many people to believe they must put the validation logic in a UIViewController, and I don’t blame people for thinking this. I was doing iOS development for well over a year before I finally started…

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…

Fiddler for iOS and Android

Almost every time I’m working on network stuff in iOS or Android, I immediately open up Fiddler. I know that there’s also Charles Proxy for OS X which does just as well as Fiddler, but the majority of the time, my Windows VM is running anyway, so I just haven’t been able to justify the…

Calabash – Getting Setup

I’ve always been quite a fan of using the recommended technologies when developing in different platforms. In iOS you learn Objective-C and you use Java for Android. By using the recommended technologies you can usually get more support and understanding of what you’re doing. The more abstract your development becomes, the more difficult things can…