A simple rating control for the iPhone
Objective-C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Classes
FavStarControl.xcodeproj
.gitignore
FavStarControl-Info.plist
FavStarControlViewController.xib
FavStarControl_Prefix.pch
MainWindow.xib
README.mdown
dot.png
index.html
main.m
star.png

README.mdown

JSFavStarControl

JSFavStarControl is a UI control that resembles the 'star rating' control seen in the iPod app.

JSFavStarControl allows you to select a rating between 0 and 5 stars.

To use it:

  • #include "JSFavStarControl.h" where you want to use it
  • Create an instance, initing with a CGPoint (the position in your view from which it will be drawn) and a custom star and dot image if you wish (pass nil if you want to use the default).
  • Add the control as a subview of your view.

License:

Public Domain - there are no restrictions on the use of this code. It may be used without attribution in any commercial or non commercial application.