TTRating

Objective-C

@interface TTRating : NSObject

Swift

class TTRating : NSObject

Object that contains rating information.

  • Total number of ratings.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger totalRatings;

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, readonly) double value;

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, readonly) double minValue;

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, readonly) double maxValue;

    Swift

    var maxValue: Double { get }