title: textFieldShouldReturn is not working anymore
body: <p>On iPad, textFieldShouldReturn is not working anymore. I had it working until like five minutes ago, suddenly the method is not called anymore … Any Ideas? Below is the code, the only thing changed was a notification for an UITextView… Thanks!  </p>
  
  <pre><code>- (BOOL)textFieldShouldReturn:(UITextField *)tf
  {
  NSString* newName = textField.text;
  textLabel.text = textField.text;
  NSLog(@"Called!");
  
  newName = [newName stringByAppendingPathExtension:@"txt"];
  NSString* newPath = [[currentFilePath stringByDeletingLastPathComponent] stringByAppendingPathComponent:newName]; 
  NSLog(@"%@",newPath);
  [[NSFileManager defaultManager] moveItemAtPath:currentFilePath toPath:newPath error:nil];
  [[NSNotificationCenter defaultCenter] postNotificationName:@"DataSaved" object:nil];
  [currentFilePath retain];
  currentFilePath = newPath;
  NSString *documentsDirectory = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"];
  [currentFilePath retain];
  // Write out the contents of home directory to console
  
  NSLog(@"Documents directory: %@", [[NSFileManager defaultManager] contentsOfDirectoryAtPath:documentsDirectory error:nil]);
  
  [UIView beginAnimations:nil context:NULL];
  [UIView setAnimationDuration:0.5];
  textLabel.alpha = 1.0;
  textField.alpha = 0.0;
  [UIView commitAnimations];
  [tf resignFirstResponder];
  return YES;
  </code></pre>
  
  <p>}</p>