The MarqueeLabel library provides a simple way to implement a scrolling marquee label in your iOS application. With this library, you can add eye-catching scrolling effects to display important information or promotional messages in a visually appealing manner.
Installation
Usage
Properties
- text: The text to be displayed in the marquee label.
- font: The font of the marquee label.
- textColor: The color of the text in the marquee label.
- scrollSpeed: The speed of the scrolling animation.
- pauseDuration: The duration for which the label pauses in between scrolls.
- marqueeType: The type of the scrolling animation.
- fadeLength: The length of the fade effect at the beginning and end of the marquee label.
- leadingBuffer: The buffer size before the text starts scrolling.
- trailingBuffer: The buffer size after the text finishes scrolling.
- continuousScrollEnabled: Indicates whether the scrolling should restart from the beginning after reaching the end.
Methods
- startAnimating: Starts the scrolling animation.
- stopAnimating: Stops the scrolling animation.
- resetLabel: Resets the label to its initial state.
Examples
Support
For any issues or queries, feel free to create an issue on GitHub.