Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 1.14 KB

README.md

File metadata and controls

43 lines (25 loc) · 1.14 KB

SwiftyScrollingLabel

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

GIF of SwiftyScrolling label demo

Features

  • Easy setup with @IBInspectable
  • A beautiful and animated Scrolling effect.
  • 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.