A set of helper functions I've been using in various XCode projects, abstracted for great good!