title: Xcode 5 and IOS 7 enumaration warning UIViewAnimationCurveEaseOut
body: <p>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</p>
  
  <p>the code i have used :</p>
  
  <pre><code>-(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;
                            }];
  
     }
  </code></pre>
  
  <p>this is the warning im getting </p>
  
  <pre><code>Implicit conversion from enumeration type 'enum UIViewAnimationCurve' to different enumeration type 'UIViewAnimationOptions' (aka 'enum UIViewAnimationOptions')
  </code></pre>
  
  <p>i seached for solution i had seen some of the ans its not working i xcode 5 <a href="https://stackoverflow.com/questions/14615417/ios-6-1-and-xcode-4-6-enumaration-warning-uiviewanimationcurveeaseout">link i found solution</a>
  in above link the told to give </p>
  
  <p>they telling to put this one    </p>
  
  <blockquote>
    <p>UIViewAnimationOptionCurveEaseOut</p>
  </blockquote>
  
  <p>instead of </p>
  
  <blockquote>
    <p>UIViewAnimationCurveEaseOut </p>
  </blockquote>
  
  <p>but its not working pls i need help  </p>