Skip to content

Commit

Permalink
Duh! Remove observers from init
Browse files Browse the repository at this point in the history
  • Loading branch information
Diogo Autilio committed Oct 23, 2014
1 parent da9e28a commit fa75c70
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions SCLAlertView/SCLAlertView.m
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,6 @@ - (instancetype)init
_labelTitle.textColor = UIColorFromRGB(0x4D4D4D);
_viewText.textColor = UIColorFromRGB(0x4D4D4D);
_contentView.layer.borderColor = UIColorFromRGB(0xCCCCCC).CGColor;

[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardDidShow:) name:UIKeyboardDidShowNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardDidHide:) name:UIKeyboardDidHideNotification object:nil];
}
return self;
}
Expand Down

0 comments on commit fa75c70

Please sign in to comment.