title: Bezier curve sample code on touches moved
body: <p>I am searching for sample code to draw bezier curve by using touches, if any one has links or sample code please help me. I am developing the game for flight control in which I have to move my ccsprite along the path which user draw with finger</p>
  
  <p>EDIT:Thanks for Suggestion,Now i am Making Curve With CAShapeLayer and CAKeyframeAnimation.now i need to remove the Curve one user pass our it.like in filght control app if ccsprite moves along the path the back side path is delete like that,thankyou very much  </p>