TTModalView 1.0.1

TTModalView 1.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Mar 2016

Maintained by titeng jiang.



  • By
  • titeng.jiang

TTModalView是一个自定义内容的模态窗口组件,可以任意定制窗口的内容,支持frame,autolayout等方式定位,支持定制modal层的大小以及窗口层次,支持50多种窗口弹出效果.灵活的设计能满足大部分弹出窗口的需求

Demo

Basic Usage

  1. pod 'TTAnimations'
  2. import TTAnimations/AnimationHelper.h

  3. select targetView

      [AnimationHelper playAnimationOn:_targetView animationType:rubberBand];
    
    
    

    custom animation use AnimationBuilder

      _animationBuilder = [[AnimationBuilder alloc] init];
      [_animationBuilder setDelegate:self];
      [_animationBuilder setDuration:3.0f];
      [_animationBuilder setAnimationType:_animationType];
    
      [_animationBuilder startOn:_targetLabel completeBlock:^{
              NSLog(@"complete animation");
      }];
  4. Finally you need to select one of the following animation:

    • bounce
    • flash
    • pulse
    • rubberBand
    • shake
    • headShake
    • swing
    • tada
    • wobble
    • jello
    • bounceIn
    • bounceInDown
    • bounceInLeft
    • bounceInRight
    • bounceInUp
    • bounceOut
    • bounceOutDown
    • bounceOutLeft
    • bounceOutRight
    • bounceOutUp
    • fadeIn
    • fadeInDown
    • fadeInDownBig
    • fadeInLeft
    • fadeInLeftBig
    • fadeInRight
    • fadeInRightBig
    • fadeInUp
    • fadeInUpBig
    • fadeOut
    • fadeOutDown
    • fadeOutDownBig
    • fadeOutLeft
    • fadeOutLeftBig
    • fadeOutRight
    • fadeOutRightBig
    • fadeOutUp
    • fadeOutUpBig
    • flipInX
    • flipInY
    • flipOutX
    • flipOutY
    • lightSpeedIn
    • lightSpeedOut
    • rotateIn
    • rotateInDownLeft
    • rotateInDownRight
    • rotateInUpLeft
    • rotateInUpRight
    • rotateOut
    • rotateOutDownLeft
    • rotateOutDownRight
    • rotateOutUpLeft
    • rotateOutUpRight
    • hinge
    • rollIn
    • rollOut
    • zoomIn
    • zoomInDown
    • zoomInLeft
    • zoomInRight
    • zoomInUp
    • zoomOut
    • zoomOutDown
    • zoomOutLeft
    • zoomOutRight
    • zoomOutUp
    • slideInDown
    • slideInLeft
    • slideInRight
    • slideInUp
    • slideOutDown
    • slideOutLeft
    • slideOutRight
    • slideOutUp

License

TTAnimation is licensed under the MIT license. (http://opensource.org/licenses/MIT)