iOS Development

Autosizing UITextView, similar to Facebook ‘comment’

I've recently had to implement an autosizing text field in a couple different projects, so I decided to put it into a cocoapod, called SBTextInputView. It: uses autolayout, so it should be set for a future versions of iOS and all screen sizes has a translucent background, a UITextView, and a button, all of which are… Continue reading Autosizing UITextView, similar to Facebook ‘comment’

iOS Development

Obj-C Convenience Categories

There are some things in in Objective-C that just bug me. They're generally pretty small, but I find my self correcting in a lot of different projects. For instance, working with JSON frequently means you probably use NSJSONSerialization, and you may note that if a JSON key returns null, it will be put into the… Continue reading Obj-C Convenience Categories

iOS Development

Avoiding Keyboard Coverups with Scrolling in iOS

Dealing with UITextFields in iOS can be frustrating. By default, if the UITextField in question is more than halfway down the screen, the keyboard will cover it while typing. There are several solutions out there on the internets that deal with this, one of which, from the Cocoa with Love blog, the solution I present… Continue reading Avoiding Keyboard Coverups with Scrolling in iOS