I’m getting this warning
Implicit conversion from enumeration type ‘UIViewAnimationCurve’ to different enumeration type ‘UIViewAnimationTransition’
from the last line in this code
if (((UIView*)[[slideViews subviews] objectAtIndex:0]).frame.origin.x > SLIDE_VIEWS_MINUS_X_POSITION) {
UIView* tempRight2View =[[slideViews subviews] objectAtIndex:[[slideViews subviews] count]-1];
[UIView beginAnimations:@"ALIGN_TO_MINIMENU" context:NULL];
[UIView setAnimationTransition:UIViewAnimationCurveEaseInOut forView:viewAtLeft cache:YES];
I’m adapting code from StackScrollView, any know how to “explicitly” convert?
TIA
you are using a different set of enum: there you must put one of the UIViewAnimationTransition
while you are using one of UIViewAnimationCurve:
they are still all integer but from different groups of constants