MutableRatingAppearance
@objc(YMAMutableRatingAppearance)
@objcMembers
public class MutableRatingAppearance : RatingAppearance
A class with editable settings for the standard rating appearance.
-
Text color.
Declaration
Swift
override public var emptyStarColor: UIColor { get set } -
Declaration
Swift
override public var filledStarColor: UIColor { get set } -
Declaration
Swift
override public var preferredStarSize: CGFloat { get set } -
Corresponding immutable representation of current rating appearance.
Declaration
Swift
public var ratingAppearance: RatingAppearance { get } -
Undocumented
Declaration
Swift
public convenience init() -
Creates an object of the
MutableRatingAppearanceclass, i.e., a rating with the specified appearance (outline color, size, and other settings).Declaration
Swift
public required convenience init( emptyStarColor: UIColor, filledStarColor: UIColor, starSize: CGFloat )Parameters
emptyStarColorThe outline color of an empty (unfilled) star.
filledStarColorThe color of a filled star.
starSizeThe preferred size of a star.
Return Value
Configured rating appearance.
-
Undocumented
Declaration
Swift
override public func copy(with zone: NSZone? = nil) -> Any