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)
To run the example project, clone the repo, and run pod install
from the Example directory first.
RSScrollingLabel is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'RSScrollingLabel'
terrordrummer, roberto.sartori@gmail.com
RSScrollingLabel is available under the MIT license. See the LICENSE file for more info.