iOS Star Rating

iOS Star Rating

Released 6 years ago , Last update 6 years ago

A star based rating component for iOS

DLStarRating is a drop-in yet easy to customize UIControl subclass that behaves similarly as the App Store rating control.

It supports landscape and portrait orientation and can be hooked up in code or Interface Builder.

It comes with a preconfigured demo project and artwork, which brings you up to speed in no time.

Pricing

14 day 14-day money-back guarantee

$9.99

Unlimited License

  • Perpetual license

  • Unlimited projects

  • Can distribute code and binary products

  • Commercial use

  • 6 months support

Usage

You find all the sources include two sample images under DLStarRating. Add the source folder to your project and use the DLStarRatingControl in Interface Builder to setup a default 5 star rating control.

If you'd like to instantiate it yourself with a custom number of stars use:

// setup a control with 3 stars at a size of 320x230
DLStarRatingControl *ratingControl = [[DLStarRatingControl alloc] initWithFrame:CGRectMake(0, 0, 320, 230) andStars:3];

You can set a default value by setting ratingControl.rating=2 and hook up a DLStarRatingDelegate to get notified when the user has changed the rating.

To customize the stars, simply replace the files in images.

DLStarView.h lets you customize the area below the stars, detecting touches. Simply change the value of kEdgeInsetBottom to increase the area or make it smaller, in case you have other user interface components below. The default is 20px, which allows to select/deselect the stars, while still being able to see them above your finger.

DLStarRating should work with iOS 3.0+, but it has not been tested yet.

1 license From » $9.99 View Licenses

Get A Quote

What do you need?
  • Custom development
  • Integration
  • Customization / Reskinning
  • Consultation
When do you need it?
  • Soon
  • Next week
  • Next month
  • Anytime

Thanks for getting in touch!

Your quote details have been received and we'll get back to you soon.


Or enter your name and Email
No comments have been posted yet.