title: Cocoa Touch UITextField first character uppercase
body: <p>I have a UITextField.
  How can I make sure that the first character is uppercase?</p>
  
  <p>I tried this.</p>
  
  <pre><code>- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string {
  NSUInteger newLength = [textField.text length] + [string length] - range.length;
  if (newLength == 1) {
      string = [string uppercaseString];
  }
  
  return YES;
  
  }
  </code></pre>
  
  <p>But even after uppercasing the string, it is still lower case.</p>
  
  <p>Thanks,
  Tee</p>