Permalink
Browse files

Merge pull request #40 from Lascorbe/master

Warning fixed: 'Implicit conversion from enumeration type "enum UIViewAnimationCurve"'
  • Loading branch information...
2 parents 3b12279 + 2d506b3 commit 25298adf55e55775dd143236e07dce6fcf1d64f1 @barrettj barrettj committed Apr 9, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 BlockAlertsDemo/ToAddToYourProjects/BlockAlertView.m
@@ -361,7 +361,7 @@ - (void)show
[UIView animateWithDuration:0.4
delay:0.0
- options:UIViewAnimationCurveEaseOut
+ options:UIViewAnimationOptionCurveEaseOut
animations:^{
[BlockBackground sharedInstance].alpha = 1.0f;
_view.center = center;
@@ -412,7 +412,7 @@ - (void)dismissWithClickedButtonIndex:(NSInteger)buttonIndex animated:(BOOL)anim
completion:^(BOOL finished) {
[UIView animateWithDuration:0.4
delay:0.0
- options:UIViewAnimationCurveEaseIn
+ options:UIViewAnimationOptionCurveEaseIn
animations:^{
CGRect frame = _view.frame;
frame.origin.y = -frame.size.height;

0 comments on commit 25298ad

Please sign in to comment.