Skip to content

Releases: cbpowell/MarqueeLabel

v2.7.0: Combination!

13 Apr 03:53
Compare
Choose a tag to compare

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 default marqueeType
  • [common] Fixes #130.
  • Readme updates.

v2.5.3: Fix crash with zero-length animation duration

13 Apr 03:45
Compare
Choose a tag to compare
  • Fixes a possible crash when the animation duration (plus delay) is zero (ref #130, thanks @linlinyao1!)

v2.5.2: Better baseline view support

01 Apr 03:33
Compare
Choose a tag to compare
  • Now returns the sublabel for the new-in-iOS 9 viewForFirstBaselineLayout and viewForLastBaselineLayout methods (issue #129).

v2.5.1: Performance Improvements, Demo updates

28 Mar 15:06
Compare
Choose a tag to compare
  • 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

16 Jan 01:08
Compare
Choose a tag to compare
  • Accounts for the leadingBuffer in the sizeThatFits and instrinsicContentSize methods, so that MarqueeLabel will report the actual size that will fit without scrolling. Note that this could affect your layouts if you use leadingBuffer!
  • 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

16 Jan 01:03
Compare
Choose a tag to compare
  • Fixes an issue created by the original fix for issue #105, which could cause label texts with fractional widths to scroll when they shouldn't. Thanks @mrezk!

v2.4.2: holdScrolling fix

18 Dec 00:57
Compare
Choose a tag to compare
  • Fixes an issue (see Swift repo, #16) where turning holdScrolling off would always attempt to start a scroll, even if the label did not require a scroll (i.e. too short). Thanks @mrniket!

v2.4.1: Pause/Unpause conditions

12 Dec 19:08
Compare
Choose a tag to compare
  • 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

06 Dec 22:53
Compare
Choose a tag to compare
  • 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. Calling restartLabel will now return the label to the "home" position even if the conditions for a subsequent automatic scroll are not met (i.e. if hold Scrolling = YES).

v2.3.6: Better IBInspectable support

06 Dec 22:51
Compare
Choose a tag to compare
  • Allows setting marqueeType by integer value via Interface Builder (IB does not yet support enums for IBInspectable). Thanks @dimohamdy!