Inherits from UIView
Declared in MMRatingView.h
MMRatingView.m

Overview

  • A pie chart-like view that allows a user

  • to select a number between 1-10 inclusive.

Properties

rating

  • An integer representation of the current wheel percentage. Automatically updated
@property (nonatomic, readonly) NSNumber *rating

Discussion

Declared In

MMRatingView.h

wheelBackgroundColor

  • The background color of the wheel.
@property (nonatomic, strong) UIColor *wheelBackgroundColor

Declared In

MMRatingView.h

wheelFillColor

  • The color of the fill color.
@property (nonatomic, strong) UIColor *wheelFillColor

Declared In

MMRatingView.h

wheelPercentage

  • The current percentage of the wheel that is filled in.
@property (nonatomic, assign) CGFloat wheelPercentage

Discussion

*

  • The current percentage is represented by a floating-point value between 0.1 and `1.0,

  • inclusive, where 1.0 indicates a value of 10 and a value of 0.1 indicates a value of 1.

  • Values less than 0.1 and greater than 1.0 are bounded to those respective values.

Declared In

MMRatingView.h