SwiftyScrollingLabel icon indicating copy to clipboard operation
SwiftyScrollingLabel copied to clipboard

SwiftScrollingLabel is a subclass of UIView and it adds a label on it with scrolling marquee effect.

SwiftyScrollingLabel

SwiftyScrollingLabel is a subclass of UIView and it adds a label on it with scrolling marquee effect.

GIF of SwiftyScrolling label demo

Features

  • [x] Easy setup with @IBInspectable
  • [x] A beautiful and animated Scrolling effect.
  • [x] Stop and Resume Animation Feature.

Requirements

  • iOS 8.0+
  • Xcode 8.0
  • Swift 3.0

Installation

Manually

  1. Clone or Download this Repo. Then simply drag the class SwiftyScrollingLabel.swift to your Xcode project.

By Inspector

  1. Set the class and configure the options.

Methods

  • Create a label outlet and call the startAnimate method to start scrolling effect.
  • For Resume Animation call resumeAnimate method.
  • For Stop Animation call pauseAnimate method.

Note:

Always call startAnimate in viewDidAppear method.

Contributions

Any contribution is more than welcome! You can contribute through pull requests and issues on GitHub.