Releases: cbpowell/MarqueeLabel
Releases · cbpowell/MarqueeLabel
v4.5.0: visionOS Support
- Adds visionOS support (thanks @eric!)
- Bumps minimum deployment target to 12.0, to keep Xcode happy
Note that MarqueeLabel probably still supports older iOS versions than 12.0, but you might have do some manually import the library instead of using Cocoapods (or do some trickery with your own project Podfile).
What's Changed
New Contributors
Full Changelog: 4.4.0...4.5.0
v4.4.0: Content Size, Privacy, and You
- Add hooks to catch when content size settings change (thanks @iDevelopper and @LeoNatan!)
- Add a Privacy Manifest file to MarqueeLabel (as a third-party SDK), per Apple guidance and upcoming requirements.
v4.3.2: Min deployment bump
- Bumps minimum deployment target to iOS 11.0 to keep Xcode happy (thanks @ale-gen!)
v4.3.1: Fix overriding hold
- Thanks to @yujinakayama for correcting an issue where using
triggerScrollStart
wouldn't override aholdScrolling
condition (PR #289)
v4.3.0: Coordinate conversion to scrolling text and animation position
- Adds the
textCoordForFramePoint
function, which converts a point in a MarqueeLabel's frame coordinate system to a point in the scrolling label's coordinate system. It could be useful for determining the word or character under a user tap point, as now demonstrated in the demo project here. (thanks to @LucaGaspa for the feature request!) - Adds an
animationPosition
property that describes the position of the scroll animation (can be queried while the animation is in-progress). (thanks to @alexandre-odet for the suggestion!)
v4.1.1: Better "returned to home" notification
- Same fix as described in release 4.2.1
v4.2.1: Better "returned to home" notification
- Fixes an issue where the
labelReturnedToHome()
function was not being called in some cases, particularly if the scroll animation was interrupted by a frame resize (thanks to @alexandre-odet for helping to bring it to my attention!)
v4.2.0: Forced Scrolling
- MarqueeLabel will now allow you to set a
forcedScrolling
property to trigger the scrolling animation, even if the label text is shorter than the specified frame. Note - there may be weird edge cases when using this! (thanks @hariseldon78 for PR #148….merged after 5 years!)
v4.1.0: Support font scaling
- Adds the capability to set
adjustsFontSizeToWidth
andminimumScaleFactor
and avoid scrolling by shrinking the font size instead. (down to the scale you specify!). See the Special Note here. Thanks @vladkorotnev!