MarqueeLabel is a UILabel subclass adds a scrolling marquee effect when the text of the label outgrows the available width. The label scrolling direction and speed/rate can be specified as well. All standard UILabel properties (where it makes sense) are available in MarqueeLabel, with the intent of MarqueeLabel behaving just like a UILabel. MarqueeLabel will be maintained in Swift only starting with release 4.0! MarqueeLabel is compatible with both iOS and tvOS, and currently works with Swift 5.0 and the iOS 12.2 SDK! MarqueeLabel automatically scrolls its text, at either a defined rate (points per second) or over a duration (seconds), whenever the length of the label's text exceeds the space available given the label's frame.
Features
- There are several options for the Marquee type
- MarqueeLabel automatically scrolls its text
- If you're using Storyboards/Interface Builder you can create a MarqueeLabel instance by adding a normal UILabel view to your Storyboard
- Collection of subclasses, extensions, and modifications for MarqueeLabel
- Automatic Font Size Adjustment
- MarqueeLabel includes support for IBInspectable and IBDesignable