Skip to content

terrordrummer/RSScrollingLabel

Repository files navigation

RSScrollingLabel

CI Status Version License Platform

Description

RSSrollingLabel example, component is at the center and the four buttons trigger the corresponding text animation.

This is a simple UIView that emulates an UILabel and allows to animate text. To perform a text animation just call the following function:

func animate(to text: String, direction: Direction)

The four main direction are available:

enum Direction {
        case up, down, left, right
    }

RSScrollLabel also wraps the following common UILabel properties:

  • textAlignment
  • textColor
  • font
  • text (not animated)

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

RSScrollingLabel is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'RSScrollingLabel'

Author

terrordrummer, roberto.sartori@gmail.com

License

RSScrollingLabel is available under the MIT license. See the LICENSE file for more info.

About

UILabel-like view with vertical scroll animation

Resources

License

Stars

Watchers

Forks

Packages

No packages published