Blog

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’

Uncategorized

Things Most CS Students Don’t Learn in School — But Should

Computer Science at many liberal arts colleges (including my alma mater) can be very theoretical. This is fantastic, in many ways -- languages will change, platforms will go out of style, but if you know the theory, you'll be fine no matter what direction the profession takes. There are, however, certain things that this type… Continue reading Things Most CS Students Don’t Learn in School — But Should

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

Arduino, RainbowCube, RainbowDuino

Availability Monitoring with a RainbowCube

The RainbowCube is an Rainbowduino compatible 4x4x4 grid of LEDs. In this post I'll cover how to use it to keep track of your internet connection, and response times of sites you care about. Overview This project has two parts: a computer (perhaps a raspberry pi?) to perform the actual web requests, and the RainbowCube… Continue reading Availability Monitoring with a RainbowCube

Android Development

Getting a Package Name from an Application Label (Display Name)

This is the first of several posts I've begun writing about an open source machine learning utility app for Android. Stay tuned! I've been looking around for a way to launch apps using their display names (officially, the "Application Label"). It seems like a pretty straightforward thing to want to do, and I see plenty… Continue reading Getting a Package Name from an Application Label (Display Name)

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