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