Skip to content

Commit

Permalink
Remove unused notification code
Browse files Browse the repository at this point in the history
  • Loading branch information
kharrison committed Apr 26, 2015
1 parent ff48db5 commit 1bd06ec
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions AlertController/AlertController/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ - (IBAction)showActionSheet:(UIButton *)sender
}

#pragma mark -
#pragma mark === UITextFieldTextDidChange Target Action ===
#pragma mark === UITextField - UIControlEventEditingChanged ===
#pragma mark -

- (void)alertTextFieldDidChange:(UITextField *)sender
Expand All @@ -231,10 +231,6 @@ - (void)alertTextFieldDidChange:(UITextField *)sender

- (void)didEnterBackground:(NSNotification *)notification
{
[[NSNotificationCenter defaultCenter] removeObserver:self
name:UITextFieldTextDidChangeNotification
object:nil];

[self.presentedViewController dismissViewControllerAnimated:NO completion:nil];
}

Expand Down

0 comments on commit 1bd06ec

Please sign in to comment.