Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Warning fixed: 'Implicit conversion from enumeration type "enum UIViewAnimationCurve"' #40

Merged
merged 2 commits into from

2 participants

@Lascorbe

Enum for animateWithDuration:delay:options:animations: in options isn't the correct one.
Changed for UIViewAnimationOptionCurveEaseIn and UIViewAnimationOptionCurveEaseOut

Lascorbe added some commits
@Lascorbe Lascorbe Update BlockAlertsDemo/ToAddToYourProjects/BlockActionSheet.m
Enum for animateWithDuration:delay:options:animations: in options ins¡t the correct one.
Changed for UIViewAnimationOptionCurveEaseIn
c7f29cf
@Lascorbe Lascorbe Update BlockAlertsDemo/ToAddToYourProjects/BlockAlertView.m
Enum for animateWithDuration:delay:options:animations: in options isn't the correct one.
Changed for UIViewAnimationOptionCurveEaseIn and UIViewAnimationOptionCurveEaseOut
2d506b3
@barrettj barrettj merged commit 25298ad into gpambrozio:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 31, 2013
  1. @Lascorbe

    Update BlockAlertsDemo/ToAddToYourProjects/BlockActionSheet.m

    Lascorbe authored
    Enum for animateWithDuration:delay:options:animations: in options ins¡t the correct one.
    Changed for UIViewAnimationOptionCurveEaseIn
  2. @Lascorbe

    Update BlockAlertsDemo/ToAddToYourProjects/BlockAlertView.m

    Lascorbe authored
    Enum for animateWithDuration:delay:options:animations: in options isn't the correct one.
    Changed for UIViewAnimationOptionCurveEaseIn and UIViewAnimationOptionCurveEaseOut
This page is out of date. Refresh to see the latest.
View
2  BlockAlertsDemo/ToAddToYourProjects/BlockActionSheet.m
@@ -220,7 +220,7 @@ - (void)dismissWithClickedButtonIndex:(NSInteger)buttonIndex animated:(BOOL)anim
center.y += _view.bounds.size.height;
[UIView animateWithDuration:0.4
delay:0.0
- options:UIViewAnimationCurveEaseIn
+ options:UIViewAnimationOptionCurveEaseIn
animations:^{
_view.center = center;
[[BlockBackground sharedInstance] reduceAlphaIfEmpty];
View
4 BlockAlertsDemo/ToAddToYourProjects/BlockAlertView.m
@@ -272,7 +272,7 @@ - (void)show
[UIView animateWithDuration:0.4
delay:0.0
- options:UIViewAnimationCurveEaseOut
+ options:UIViewAnimationOptionCurveEaseOut
animations:^{
[BlockBackground sharedInstance].alpha = 1.0f;
_view.center = center;
@@ -317,7 +317,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;
Something went wrong with that request. Please try again.