UITextAlignment is deprecated in iOS 6.0+, use NSTextAlignment instead