Skip to content

Latest commit

 

History

History
28 lines (26 loc) · 1.06 KB

README.md

File metadata and controls

28 lines (26 loc) · 1.06 KB

AnimateLabel

Basic animating label which keeps changing its text from an array of text. Various types of animations are available.

Types of avilable animations.

  • ATAnimationTypeFadeInOut
  • ATAnimationTypeSlideLeftInLeftOut
  • ATAnimationTypeSlideRightInRightOut
  • ATAnimationTypeSlideTopInTopOut
  • ATAnimationTypeSlideBottomtInBottomOut
  • ATAnimationTypeSlideLeftInRightOut
  • ATAnimationTypeSlideRightInLeftOut
  • ATAnimationTypeSlideBottomInTopOut
  • ATAnimationTypeSlideTopInBottomOut

Example:

  [self.animatedLabel animateWithWords:@[
                                         @"Alabama",
                                         @"Alaska",
                                         @"Arizona",
                                         @"Arkansas",
                                         @"California",
                                         @"Colorado"
                                       ]
                           forDuration:3.0f
                         withAnimation:ATAnimationTypeSlideTopInBottomOut];