Skip to content

Releases: cbpowell/MarqueeLabel

v2.2.1: Correct iOS 8.0.x version check

31 Jan 17:58
Compare
Choose a tag to compare
  • Corrects an issue where the version check for iOS 8.0.x wouldn't return true for anything other than iOS 8.0.0 (ref PR #93, thanks @matthewyan!)
  • Modernizing the demo project (not technically part of release v2.2.1, but happened at the same time)

v2.2.0: Manual scrolling and background color fixes

11 Jan 21:27
Compare
Choose a tag to compare
  • Adds a triggerScrollStart method which allows override any non-size condition preventing the label from scrolling when also oversized. Currently, the tapToScroll and holdScrolling properties are the only non-size conditions which prevent scrolling. Note: This doesn't let you force a short string to scroll! (Thanks @pip8786!)
  • Corrected an apparent issue which would prevent label background colors from working when set via Interface Builder.
  • MarqueeLabel now sets it's own background color in addition to the scrolling sublabel when appropriate (i.e. when the background color is not set to clearColor). This should prevent unnecessary non-opaque views, which can be a performance hit especially in table views. Thanks Mike C.!
  • Adds IBInspectable to properties with supported types, so you can set them directly in Interface Builder! (Thanks @yoiang!)

v2.1.1: Trailing buffer fix

24 Dec 00:23
Compare
Choose a tag to compare
  • Adjusts the implementation of the trailingBuffer property, such that it doesn't affect label sizing during labelization (ref PR #88).
  • Tries to correct some of the appledoc documentation.

v2.1.0: Buffers

14 Dec 16:14
Compare
Choose a tag to compare

New Features

  • Adds the leadingBuffer and trailingBuffer properties, which replace the continuousMarqueeExtraBuffer property. These give you more control over label positioning! Check out the example usage in the demo.

Fixes

  • Merges in PR #82 (with slight modification), which fixes the iOS 8.0.0 (only) bug with layoutSubviews - thanks @zodester!
  • Merges in PR #86, which fixes an issue where text color wouldn't be changed - thanks @miranbrajsa!
  • Fixes an issue where the second label of continuous-type labels would not be properly resized.

v2.0.8: Sublabel sizing problem

22 Oct 14:18
Compare
Choose a tag to compare
  • Fixes an issue in v2.0.7 (caused in commit 23d12a3) where the subLabel frame height would not be set to match the MarqueeLabel frame height (see #79, thanks @AvdLee!)

v2.0.7: Sublabel sizing

19 Oct 02:36
Compare
Choose a tag to compare
  • Switched sublabel size calculation to use UILabel's sizeThatFits: method, rather than calculating it manually with NSAttributedString's boundingRectWithSize:options:context:. This should hopefully give sizing exactly like a normal UILabel would.
  • Removed device orientation monitoring, as it doesn't work with iOS 8.1, and no longer seemed to be necessary anyway. The other changes of v2.0 seem to fix the "hyper speed" scrolling issue that lead to needing to do that.

v2.0.6: App Extensions

09 Oct 03:43
Compare
Choose a tag to compare
  • Remove a dependence on UIApplication, which prevented using MarqueeLabel inside the fancy new App Extensions (see issue #78)
  • Fixes an issue where text strings set directly in Interface Builder weren't properly forwarded (PR #72, thanks @iamscottchou)

v2.0.5: Animation timing fixes

09 Oct 03:42
Compare
Choose a tag to compare
  • Corrects some animation timing bugs.

v2.0.4: Fix for IB-specified text styles

28 Aug 02:35
Compare
Choose a tag to compare
  • Fixes an issue where style properties (font, color, etc) that were set in Interface Builder would be lost when a new text string was set (fixes issue #64).
  • Changed one of the demo MarqueeLabels to have styles set by IB.

v2.0.3: Fix possible background 100% CPU usage

27 Aug 01:44
Compare
Choose a tag to compare
  • Fix a bug where MarqueeLabels could possibly get stuck in a loop when an application moves into the background. Thanks to @PaulTaykalo for the fix in PR #69.
  • Removed redundant NSNotificationCenter observers
  • Other minor fixes.