Skip to content

Commit

Permalink
Use helper methods instead of directly using performSelector
Browse files Browse the repository at this point in the history
  • Loading branch information
gcamp committed Aug 2, 2011
1 parent 79b4517 commit b1ef574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GCDiscreetNotificationView/GCDiscreetNotificationView.m
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ - (void)showAndDismissAutomaticallyAnimated {

- (void)showAndDismissAfter:(NSTimeInterval)timeInterval {
[self showAnimated];
[self performSelector:@selector(hideAnimated) withObject:nil afterDelay:timeInterval];
[self hideAnimatedAfter:timeInterval];
}

- (void) show:(BOOL)animated {
Expand Down

0 comments on commit b1ef574

Please sign in to comment.