Hi
I have a 2d-circle drawn as a view object using core graphics Frame work, on the touch of the circle i can move the circle . but My task is to slide the circle ,like when u drag the circle with certain speed then the circle should move(slide) and stop at any farther point.
I now i need to calculate the speed , distance moved and the destination point . but not clear how to do it. if any one have any similar example will be helpful. or any notes or guidance
I have to flick the circle in any direction and the circle should move and stop any where on the screen depending on the speed.
I have a 2d-circle drawn as a view object using core graphics Frame work, on the touch of the circle i can move the circle . but My task is to slide the circle ,like when u drag the circle with certain speed then the circle should move(slide) and stop at any farther point.
I now i need to calculate the speed , distance moved and the destination point . but not clear how to do it. if any one have any similar example will be helpful. or any notes or guidance
I have to flick the circle in any direction and the circle should move and stop any where on the screen depending on the speed.