MBStarRating

StarRating

This is component help you design star rating with highly customization. You can customize colors, number of starts, direction of star. You can also use this for taking input from user. It also supports interface builder design.

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate MBStarRating into your Xcode project using CocoaPods, specify it in your Podfile:

target '<Your Target Name>' do
pod 'MBStarRating'
end

Then, run the following command:

$ pod install

How to Use

You can assign a class MBStarRatingView is your view direclty in storyboard. If want more specific for direction then you can use any of the calss MBStarRatingVerticalView or MBStarRatingHorizontalView.

Note: MBStarRatingView is only supports UIView and not other UI components.