Rewritten in Swift

I'm not a fan, but hey, mobile web is big!