/AnimateLabel

Label extension for iOS with ablitity to automatically keep switching between a series of strings using various kinds of animations.

Primary LanguageObjective-C

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];