Deprecated code

it's a pretty trivial one but I've removed the deprecated UITextAlignmentCenter and replaced it with NSTextAlignmentCenter, see my commit for further details.