Skip to content

Commit

Permalink
Make shutdownLabel method public.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbpowell committed Dec 6, 2015
1 parent d38707a commit 0c1b80b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions MarqueeLabel.h
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,20 @@ typedef NS_ENUM(NSUInteger, MarqueeType) {
- (void)restartLabel;


/** Immediately resets the label to the home position, cancelling any in-flight scroll animation.
The text is immediately returned to the home position. Scrolling will not resume automatically after a call to this method.
To re-initiate scrolling use a call to `restartLabel` or `triggerScrollStart`, or make a change to a UILabel property such as text, bounds/frame,
font, font size, etc.
@see restartLabel
@see triggerScrollStart
@since Available in 2.4.0 and later.
*/

- (void)shutdownLabel;


/** Resets the label text, recalculating the scroll animation.
The text is immediately returned to the home position, and the scroll animation positions are cleared. Scrolling will not resume automatically after
Expand Down

0 comments on commit 0c1b80b

Please sign in to comment.