Reference Animate.CSS CSShake Magic.CSS
#import <YTXAnimations/UIView+YTXAnimateCSS.h>
#import <YTXAnimations/UIView+YTXCSShake.h>
#import <YTXAnimations/UIView+YTXMagicCSS.h>
CAAnimation * tada = [view ytx_tadaAnimtionWithDurationTime:1];
tada.repeatCount = CGFLOAT_MAX;
[view ytx_basicShakeAnimtion];
//removeAnimationForKey the key is function name. Please pay attention to colon!!! "ytx_tadaAnimtionWithDurationTime:"
[view.layer removeAnimationForKey:@"ytx_tadaAnimtionWithDurationTime:"];
// No colon
[view.layer removeAnimationForKey:@"ytx_basicShakeAnimtion"];
You shouldn't just use: pod "YTXAnimations". Since CocoaPods 0.36+ you should do something like:
pod 'YTXAnimations', :subspecs => ["AnimateCSS", "CSShake", "MagicCSS"]
YTXAnimations is available under the MIT license. See the LICENSE file for more info.
- ytx_jelloAnimtionWithDurationTime:
- ytx_wobbleAnimtionWithDurationTime:
- ytx_swingAnimtionWithDurationTime:
- ytx_rubberBandAnimtionWithDurationTime:
- ytx_pluseAnimtionWithDurationTime:
- ytx_flashAnimtionWithDurationTime:
- ytx_bounceAnimtionWithDurationTime:
- ytx_tadaAnimtionWithDurationTime:
- ytx_shakeAnimtionWithDurationTime:
- ytx_bounceInAnimtionWithDurationTime:
- ytx_bounceInDownAnimtionWithDurationTime:
- ytx_bounceInLeftAnimtionWithDurationTime:
- ytx_bounceInRightAnimtionWithDurationTime:
- ytx_bounceInUpAnimtionWithDurationTime:
- ytx_bounceOutAnimtionWithDurationTime:
- ytx_bounceOutDownAnimtionWithDurationTime:
- ytx_bounceOutLeftAnimtionWithDurationTime:
- ytx_bounceOutRightAnimtionWithDurationTime:
- ytx_bounceOutUpAnimtionWithDurationTime:
- ytx_fadeInAnimtionWithDurationTime:
- ytx_fadeInDownAnimtionWithDurationTime:
- ytx_fadeInDownBigAnimtionWithDurationTime:
- ytx_fadeInLeftAnimtionWithDurationTime:
- ytx_fadeInLeftBigAnimtionWithDurationTime:
- ytx_fadeInRightAnimtionWithDurationTime:
- ytx_fadeInRightBigAnimtionWithDurationTime:
- ytx_fadeInUpAnimtionWithDurationTime:
- ytx_fadeInUpBigAnimtionWithDurationTime:
- ytx_fadeOutAnimtionWithDurationTime:
- ytx_fadeOutDownAnimtionWithDurationTime:
- ytx_fadeOutDownBigAnimtionWithDurationTime:
- ytx_fadeOutLeftAnimtionWithDurationTime:
- ytx_fadeOutLeftBigAnimtionWithDurationTime:
- ytx_fadeOutRightAnimtionWithDurationTime:
- ytx_fadeOutRightBigAnimtionWithDurationTime:
- ytx_fadeOutUpAnimtionWithDurationTime:
- ytx_fadeOutUpBigAnimtionWithDurationTime:
- ytx_zoomOutAnimtionWithDurationTime:
- ytx_zoomOutDownAnimtionWithDurationTime:
- ytx_zoomOutLeftAnimtionWithDurationTime:
- ytx_zoomOutRightAnimtionWithDurationTime:
- ytx_zoomOutUpAnimtionWithDurationTime:
- ytx_flipAnimtionWithDurationTime:
- ytx_flipInXAnimtionWithDurationTime:
- ytx_flipInYAnimtionWithDurationTime:
- ytx_flipOutXAnimtionWithDurationTime:
- ytx_flipOutYAnimtionWithDurationTime:
- ytx_lightSpeedInAnimtionWithDurationTime:
- ytx_lightSpeedOutAnimtionWithDurationTime:
- ytx_hingeAnimtionWithDurationTime:
- ytx_rollInAnimationWithDurationTime:
- ytx_rollOutAnimationWithDurationTime:
- ytx_zoomInAnimtionWithDurationTime:
- ytx_zoomInLeftAnimtionWithDurationTime:
- ytx_zoomInRightAnimtionWithDurationTime:
- ytx_zoomInDownAnimtionWithDurationTime:
- ytx_zoomInUpAnimtionWithDurationTime:
- ytx_slideOutDownAnimtionWithDurationTime:
- ytx_slideOutLeftAnimtionWithDurationTime:
- ytx_slideOutRightAnimtionWithDurationTime:
- ytx_slideOutUpAnimtionWithDurationTime:
- ytx_slideInDownAnimtionWithDurationTime:
- ytx_slideInLeftAnimtionWithDurationTime:
- ytx_slideInRightAnimtionWithDurationTime:
- ytx_slideInUpAnimtionWithDurationTime:
- ytx_rotateInDownLeftAnimtionWithDurationTime:
- ytx_rotateInAnimtionWithDurationTime:
- ytx_rotateInDownRightAnimtionWithDurationTime:
- ytx_rotateInUpRightAnimtionWithDurationTime:
- ytx_rotateInUpLeftAnimtionWithDurationTime:
- ytx_rotateOutDownLeftAnimtionWithDurationTime:
- ytx_rotateOutAnimtionWithDurationTime:
- ytx_rotateOutDownRightAnimtionWithDurationTime:
- ytx_rotateOutUpRightAnimtionWithDurationTime:
- ytx_rotateOutUpLeftAnimtionWithDurationTime:
- ytx_basicShakeAnimtion
- ytx_littleShakeAnimtion
- ytx_slowShakeAnimtion
- ytx_hardShakeAnimtion
- ytx_horizontalShakeAnimtion
- ytx_verticalShakeAnimtion
- ytx_rotateShakeAnimtion
- ytx_opacityShakeAnimtion
- ytx_crazyShakeAnimtion
- ytx_magicAnimtionWithDurationTime:
- ytx_twisterInDownAnimtionWithDurationTime:
- ytx_twisterInUpAnimtionWithDurationTime:
- ytx_swapAnimtionWithDurationTime:
- ytx_openDownLeftAnimtionWithDurationTime:
- ytx_openDownRightAnimtionWithDurationTime:
- ytx_openUpLeftAnimtionWithDurationTime:
- ytx_openUpRightAnimtionWithDurationTime:
- ytx_openDownLeftRetournAnimtionWithDurationTime:
- ytx_openDownRightRetournAnimtionWithDurationTime:
- ytx_openUpLeftRetournAnimtionWithDurationTime:
- ytx_openUpRightRetournAnimtionWithDurationTime:
- ytx_openDownLeftOutAnimtionWithDurationTime:
- ytx_openDownRightOutAnimtionWithDurationTime:
- ytx_openUpLeftOutAnimtionWithDurationTime:
- ytx_openUpRightOutAnimtionWithDurationTime:
- ytx_perspectiveDownAnimtionWithDurationTime:
- ytx_perspectiveUpAnimtionWithDurationTime:
- ytx_perspectiveLeftAnimtionWithDurationTime:
- ytx_perspectiveRightAnimtionWithDurationTime:
- ytx_perspectiveUpRetournAnimtionWithDurationTime:
- ytx_perspectiveDownRetournAnimtionWithDurationTime:
- ytx_perspectiveLeftRetournAnimtionWithDurationTime:
- ytx_perspectiveRightRetournAnimtionWithDurationTime:
- ytx_rotateDownAnimtionWithDurationTime:
- ytx_rotateUpAnimtionWithDurationTime:
- ytx_rotateLeftAnimtionWithDurationTime:
- ytx_rotateRightAnimtionWithDurationTime:
- ytx_slideDownAnimtionWithDurationTime:
- ytx_slideLeftAnimtionWithDurationTime:
- ytx_slideRightAnimtionWithDurationTime:
- ytx_slideUpAnimtionWithDurationTime:
- ytx_slideDownRetournAnimtionWithDurationTime:
- ytx_slideLeftRetournAnimtionWithDurationTime:
- ytx_slideRightRetournAnimtionWithDurationTime:
- ytx_slideUpRetournAnimtionWithDurationTime:
- ytx_swashOutAnimtionWithDurationTime:
- ytx_swashInAnimtionWithDurationTime:
- ytx_foolishOutAnimtionWithDurationTime:
- ytx_foolishInAnimtionWithDurationTime:
- ytx_holeOutAnimtionWithDurationTime:
- ytx_tinDownInAnimtionWithDurationTime:
- ytx_tinLeftInAnimtionWithDurationTime:
- ytx_tinRightInAnimtionWithDurationTime:
- ytx_tinUpInAnimtionWithDurationTime:
- ytx_tinDownOutAnimtionWithDurationTime:
- ytx_tinLeftOutAnimtionWithDurationTime:
- ytx_tinRightOutAnimtionWithDurationTime:
- ytx_tinUpOutAnimtionWithDurationTime:
- ytx_boingInUpAnimtionWithDurationTime:
- ytx_boingOutDownAnimtionWithDurationTime:
- ytx_spaceOutUpAnimtionWithDurationTime:
- ytx_spaceOutRightAnimtionWithDurationTime:
- ytx_spaceOutDownAnimtionWithDurationTime:
- ytx_spaceOutLeftAnimtionWithDurationTime:
- ytx_spaceInUpAnimtionWithDurationTime:
- ytx_spaceInRightAnimtionWithDurationTime:
- ytx_spaceInDownAnimtionWithDurationTime:
- ytx_spaceInLeftAnimtionWithDurationTime: