Label extension for iOS with ablitity to automatically keep switching between a series of strings using various kinds of animations.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
AnimateText.xcodeproj
AnimateText
README.md

README.md

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