Rating

@objc(YMARating)
public protocol Rating : NSObjectProtocol

Undocumented

  • Sets the rating value in the range [0; 5].

    Declaration

    Swift

    func setRating(_ rating: NSNumber?)

    Parameters

    rating

    The rating value in the range [0; 5].

  • Returns the rating value in the range [0; 5].

    Declaration

    Swift

    func rating() -> NSNumber?

    Return Value

    Rating value.