YMARating
Objective-C
@protocol YMARating <NSObject>
Swift
protocol YMARating : NSObjectProtocol
The protocol sets and receives the rating value.
Sets the rating value in the range [0; 5].
Declaration
Objective-C
- (void)setRating:(nullable NSNumber *)rating;
Swift
func setRating(_ rating: NSNumber?)
Parameters
rating | The rating value in the range [0; 5]. |
rating | The rating value in the range [0; 5]. |