MMRatingView Class Reference
Inherits from | UIView |
Declared in | MMRatingView.h MMRatingView.m |
Tasks
-
wheelPercentage
property -
rating
property -
wheelFillColor
property -
wheelBackgroundColor
property
Properties
rating
- An integer representation of the current wheel percentage. Automatically updated
@property (nonatomic, readonly) NSNumber *rating
Discussion
- when the
wheelPercentage
property is updated.
Declared In
MMRatingView.h
wheelBackgroundColor
- The background color of the wheel.
@property (nonatomic, strong) UIColor *wheelBackgroundColor
Declared In
MMRatingView.h
wheelFillColor
- The color of the fill color.
@property (nonatomic, strong) UIColor *wheelFillColor
Declared In
MMRatingView.h
wheelPercentage
- The current percentage of the wheel that is filled in.
@property (nonatomic, assign) CGFloat wheelPercentage
Discussion
*
The current percentage is represented by a floating-point value between
0.1
and `1.0,inclusive, where
1.0
indicates a value of 10 and a value of0.1
indicates a value of 1.Values less than
0.1
and greater than1.0
are bounded to those respective values.
Declared In
MMRatingView.h