Skip to content

Sahilberi/SwiftyScrollingLabel

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages