Releases: cbpowell/MarqueeLabel
Releases · cbpowell/MarqueeLabel
v2.7.0: Combination!
Big changes
- Combines MarqueeLabel and MarqueeLabel-Swift into a single repo!
- The Objective-C and Swift codebases are still separate
- The Swift library is now a Cocoapod subspec, specified by using
pod 'MarqueeLabel/Swift'
- Contains Carthage targets for iOS (Swift, Objective-C) and tvOS (Swift)
- Incorporates a Swift tvOS demo
Smaller changes
- [ObjC] Explicitly makes
MLContinuous
the defaultmarqueeType
- [common] Fixes #130.
- Readme updates.
v2.5.3: Fix crash with zero-length animation duration
- Fixes a possible crash when the animation duration (plus delay) is zero (ref #130, thanks @linlinyao1!)
v2.5.2: Better baseline view support
- Now returns the sublabel for the new-in-iOS 9
viewForFirstBaselineLayout
andviewForLastBaselineLayout
methods (issue #129).
v2.5.1: Performance Improvements, Demo updates
- Removed unnecessary view controller observing, use
didMoveToWindow
instead. - Reuse
CAKeyframeAnimation
objects on continuous types, to avoid needing to recompute. - Fix issue where the label background would be black when a non-clear background color is set.
And on the demo project:
- Add a table view example
- Add a navigation controller example
v2.5.0: UIView sizing and layout
- Accounts for the
leadingBuffer
in thesizeThatFits
andinstrinsicContentSize
methods, so that MarqueeLabel will report the actual size that will fit without scrolling. Note that this could affect your layouts if you useleadingBuffer
! - Corrects an issue where the trailing edge fade would be retained even when the label was set to
labelize
(when it should look exactly like a UILabel)
v2.4.3: Fractional-width Text
v2.4.2: holdScrolling fix
v2.4.1: Pause/Unpause conditions
- Added checks to prevent pausing a label before a scroll animation is in progress. This change should prevent the problems seen in issue #117.
- Updated documentation on this topic.
v2.4.0: Label shutdown and reset
- Makes the
shutdownLabel
method public. This allows you to stop a scroll animation and return the label to the "home" position, without a subsequent automatic scroll starting. - Fixes an oversight in the way the
restartLabel
method worked. CallingrestartLabel
will now return the label to the "home" position even if the conditions for a subsequent automatic scroll are not met (i.e. ifhold Scrolling = YES
).
v2.3.6: Better IBInspectable support
- Allows setting
marqueeType
by integer value via Interface Builder (IB does not yet support enums for IBInspectable). Thanks @dimohamdy!