cbpowell / MarqueeLabel

A drop-in replacement for UILabel, which automatically adds a scrolling marquee effect when the label's text does not fit inside the specified frame
MIT License
4.21k stars 564 forks source link

Use `isRemovedOnCompletion = false` and `fillMode = kCAFillModeForwards` for `.left` and `.right` types #202

Closed ikesyo closed 6 years ago

ikesyo commented 6 years ago

Thus we can accurately detect when the scrolling of a label has ended using labelReturnedToHome.

ikesyo commented 6 years ago

This would be also useful for more desirable implementation of Extras/SingleShotOffscreenLabel.swift.

cbpowell commented 6 years ago

Looks great, thanks for the improvement!