hi im trying to create side number side menu but getting a warning i have seached many option nothing had worked for me pls help me
the code i have used :
-(void) animatedLayerToPoint:(CGFloat)x
{
[UIView animateKeyframesWithDuration:0.3 delay:0
options:UIViewAnimationCurveEaseOut
animations:^{
CGRect frame = self.toplayer.frame;
frame.origin.x = x;
self.toplayer.frame = frame;
}
completion:^(BOOL finished){
self.layerPosition = self.toplayer.frame.origin.x;
}];
}
this is the warning im getting
Implicit conversion from enumeration type 'enum UIViewAnimationCurve' to different enumeration type 'UIViewAnimationOptions' (aka 'enum UIViewAnimationOptions')
i seached for solution i had seen some of the ans its not working i xcode 5 link i found solution in above link the told to give
they telling to put this one
UIViewAnimationOptionCurveEaseOut
instead of
UIViewAnimationCurveEaseOut
but its not working pls i need help