Getting this error when checking the range for string characters...
@objc func textField(textField: UITextField, shouldChangeCharactersInRange range: NSRange, re
Instead of text! say (text! as NSString).
text!
(text! as NSString)
var newString = (text! as NSString).stringByReplacingCharactersInRange(range, withString: string) as? NSString