SwiftUIKit / Marquee

A powerful implementation of Marquee(scrolling text or label) in SwiftUI, which supports any content view, including text(label), image, video, etc.
MIT License
72 stars 20 forks source link

Delay and Repeats Parameter #5

Open kimfucious opened 2 years ago

kimfucious commented 2 years ago

This is neat; thanks for sharing.

There's a couple features that I think would make this even better.

1) Have a delay paramter, so that the text starts in the initial idle alignment position, and only starts to move after the delay has been met.

2) Have a repeats parameter that allows for the setting of the number or repeats, including infinity.

It looks like this PR woud take care of the delay bit.