title: Text Field Should Return, is this correct for ios7?
body: <p>I have searched and seen a lot of answers about textFieldShouldReturn method. Half of them are outdated, some work in different cases, some are not explained thoroughly. I am not sure what is the most optimal way to do this task, it works but I think there might be an easier way to do it.</p>
  
  <p>Heres my code so far: </p>
  
  <p>On the header file:  </p>
  
  <pre><code>@interface ClassName : SomeUIViewController &lt;UITextFieldDelegate&gt;
  </code></pre>
  
  <p>In the implementation file: </p>
  
  <pre><code>@interface ClassName()
  
  @property (weak, nonatomic) IBOutlet UITextField *firstOne;
  @property (weak, nonatomic) IBOutlet UITextField *secondOne;
  @property (weak, nonatomic) IBOutlet UITextField *thirdOne;
  @property (weak, nonatomic) IBOutlet UITextField *fourthOne;
  @property (weak, nonatomic) IBOutlet UITextField *fifthOne;
  
  @end
  
  -(void)viewDidLoad{
      self.firstOne.delegate = self;
      self.secondOne.delegate = self;
      self.thirdOne.delegate = self;
      self.fourthOne.delegate = self;
      self.fifthOne.delegate = self;
  }
  
  -(BOOL)textFieldShouldReturn:(UITextField*)textField;
  {
      if (textField == self.firstOne) {
          [textField resignFirstResponder];
          [self.secondOne becomeFirstResponder];
      } else if (textField == self.secondOne) {
          [textField resignFirstResponder];
          [self.thirdOne becomeFirstResponder];
      } else if (textField == self.thirdOne) {
          [textField resignFirstResponder];
          [self.fourthOne becomeFirstResponder];
      } else if (textField == self.fourthOne) {
          [textField resignFirstResponder];
          [self.fifthOne becomeFirstResponder];
      } else if (textField == self.fifthOne) {
          [textField resignFirstResponder];
      }
  
      return NO; 
  }
  </code></pre>
  
  <p>So is this correct or are there better ways to do this task?</p>