A switch like function for NSStrings in Objective-C