Releases: cbpowell/MarqueeLabel
Releases · cbpowell/MarqueeLabel
v2.2.1: Correct iOS 8.0.x version check
- 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
- Adds a
triggerScrollStart
method which allows override any non-size condition preventing the label from scrolling when also oversized. Currently, thetapToScroll
andholdScrolling
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
- 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
New Features
- Adds the
leadingBuffer
andtrailingBuffer
properties, which replace thecontinuousMarqueeExtraBuffer
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
v2.0.7: Sublabel sizing
- Switched sublabel size calculation to use UILabel's
sizeThatFits:
method, rather than calculating it manually with NSAttributedString'sboundingRectWithSize: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
v2.0.5: Animation timing fixes
- Corrects some animation timing bugs.
v2.0.4: Fix for IB-specified text styles
- 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
- 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.