Skip to content

Instantly share code, notes, and snippets.

@jakemoore
Created August 20, 2013 17:20
Show Gist options
  • Select an option

  • Save jakemoore/6284444 to your computer and use it in GitHub Desktop.

Select an option

Save jakemoore/6284444 to your computer and use it in GitHub Desktop.

Revisions

  1. jakemoore created this gist Aug 20, 2013.
    9 changes: 9 additions & 0 deletions gistfile1.m
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    - (BOOL)textFieldShouldBeginEditing:(UITextField *)textField
    {
    if (textField == self.firstTextField) {
    [self.secondTextField becomeFirstResponder];
    return NO;
    }

    return YES;
    }