Skip to content

Commit

Permalink
Added documentation for the basic initWithFrame: method and the defau…
Browse files Browse the repository at this point in the history
…lts that will be used.
  • Loading branch information
cbpowell committed Dec 27, 2013
1 parent 1c0237f commit 2e8002c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions MarqueeLabel.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ typedef NS_ENUM(NSUInteger, MarqueeType) {
/// @name Creating MarqueeLabels
////////////////////////////////////////////////////////////////////////////////

/** Returns a newly initialized `MarqueeLabel` instance.
The default scroll duration of 7.0 seconds and fade length of 0.0 are used.
@param frame A rectangle specifying the initial location and size of the view in its superview's coordinates. Text (for the given font, font size, etc.) that does not fit in this frame will automatically scroll.
@return An initialized `MarqueeLabel` object or nil if the object couldn't be created.
*/

- (id)initWithFrame:(CGRect)frame;


/** Returns a newly initialized `MarqueeLabel` instance with the specified scroll rate and edge transparency fade length.
You must specify a non-zero rate, and you cannot thereafter modify the rate.
Expand Down

0 comments on commit 2e8002c

Please sign in to comment.