TTRating

@interface TTRating : NSObject

Object that contains rating information.

  • Total number of ratings.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        NSInteger totalRatings;

    Swift

    var totalRatings: Int { get set }
  • Rating value, between min/max values inclusive.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) double value;

    Swift

    var value: Double { get set }
  • Min value of the rating.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) double minValue;

    Swift

    var minValue: Double { get set }
  • Max value of the rating.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) double maxValue;

    Swift

    var maxValue: Double { get set }