RBRatingField Class Reference

Inherits from UIView
Declared in RBRatingField.h

Overview

A view that provides granular rating stars (or another image).

  orientation

The orientation of the stars layout. Default = RBOrientationHorizontal.

@property (nonatomic) RBOrientation orientation

Discussion

The orientation of the stars layout. Default = RBOrientationHorizontal.

Declared In

RBRatingField.h

  rating

Gets or sets the current rating. Decimals allowed.

@property (nonatomic) float rating

Discussion

Gets or sets the current rating. Decimals allowed.

Declared In

RBRatingField.h

  maximumRating

Gets or sets the maximum rating. Default = 5.

@property (nonatomic) NSUInteger maximumRating

Discussion

Gets or sets the maximum rating. Default = 5.

Declared In

RBRatingField.h

  filledImage

The image for the filled state.

@property (nonatomic, nullable) UIImage *filledImage

Discussion

The image for the filled state.

Declared In

RBRatingField.h

  unfilledImage

The image for the unfilled state.

@property (nonatomic, nullable) UIImage *unfilledImage

Discussion

The image for the unfilled state.

Declared In

RBRatingField.h

  enabled

Whether or not the rating field is currently enabled and will accept user interaction. Default = YES.

@property (nonatomic) BOOL enabled

Discussion

Whether or not the rating field is currently enabled and will accept user interaction. Default = YES.

Declared In

RBRatingField.h

  zeroSelection

Whether or not zero selection is allowed. Default = NO.

@property (nonatomic) BOOL zeroSelection

Discussion

Whether or not zero selection is allowed. Default = NO.

Declared In

RBRatingField.h