¡@

Home 

2014/10/15 ¤U¤È 10:11:10

iphone Programming Glossary: lockview

UIView shake animation

http://stackoverflow.com/questions/3844557/uiview-shake-animation

0.5f const float vigourOfShake 0.1f CAKeyframeAnimation shakeAnimation CAKeyframeAnimation animation CGRect frame lockView.frame CGMutablePathRef shakePath CGPathCreateMutable CGPathMoveToPoint shakePath NULL CGRectGetMinX frame CGRectGetMinY.. CGRectGetMinY frame CGPathCloseSubpath shakePath shakeAnimation.path shakePath shakeAnimation.duration durationOfShake lockView.layer addAnimation shakeAnimation forKey @ frameOrigin iphone cocoa touch animation core animation share improve this.. animation setRepeatCount 8 animation setAutoreverses YES animation setFromValue NSValue valueWithCGPoint CGPointMake lockView center .x 20.0f lockView center .y animation setToValue NSValue valueWithCGPoint CGPointMake lockView center .x 20.0f lockView..

Facebook like login screen and validation(Window Shake Effect) [closed]

http://stackoverflow.com/questions/9447281/facebook-like-login-screen-and-validationwindow-shake-effect

animation setRepeatCount 8 animation setAutoreverses YES animation setFromValue NSValue valueWithCGPoint CGPointMake lockView center .x 20.0f lockView center .y animation setToValue NSValue valueWithCGPoint CGPointMake lockView center .x 20.0f lockView.. 8 animation setAutoreverses YES animation setFromValue NSValue valueWithCGPoint CGPointMake lockView center .x 20.0f lockView center .y animation setToValue NSValue valueWithCGPoint CGPointMake lockView center .x 20.0f lockView center .y lockView.. CGPointMake lockView center .x 20.0f lockView center .y animation setToValue NSValue valueWithCGPoint CGPointMake lockView center .x 20.0f lockView center .y lockView layer addAnimation animation forKey @ position for cocoa application take a..