YMAMutableRatingAppearance
Objective-C
@interface YMAMutableRatingAppearance : YMARatingAppearance
Swift
class YMAMutableRatingAppearance : YMARatingAppearance
A class with editable settings for the standard rating appearance.
The outline color of an empty (unfilled) star.
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull emptyStarColor;
The color of a filled star.
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull filledStarColor;
The preferred size of a star.
Note If the use of the preferred size makes the rating too large for the space reserved for it, the maximum allowed size is used instead.
Declaration
Objective-C
@property (nonatomic) CGFloat preferredStarSize;
Swift
var preferredStarSize: CGFloat { get set }