title: Cannot convert value of type 'NSRange' (aka '_NSRange') to expected type 'Range<Index>'(aka 'Range<String.CharacterView.Index>')
body: <p>Getting this error when checking the range for string characters...</p>
  
  <pre><code>@objc func textField(textField: UITextField, shouldChangeCharactersInRange range: NSRange, replacementString string: String) -&gt; Bool {
      let shouldChange = false
      let text = textField.text
      var newString = text!.stringByReplacingCharactersInRange(range, withString: string) as? NSString
      if newString.length &gt; 14{
          newString = newString.substringToIndex(14)
      }
      textField.text = newString.uppercaseString
  
      return shouldChange
  }
  </code></pre>