SASRatingBar

Objective-C

@protocol SASRatingBar <NSObject>

Swift

protocol SASRatingBar : NSObjectProtocol

Protocol implemented by views that are able to display ratings.

  • The rating that must be displayed by the rating bar (between 0.0 and 5.0).

    Declaration

    Objective-C

    @property double rating;

    Swift

    var rating: Double { get set }