Skip to content

Star rating view for iOS, powerfull and without image.

License

Notifications You must be signed in to change notification settings

titman/LCStarRatingView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LCStarRatingView

badge-pod badge-languages badge-platforms badge-mit

Features

  • No images.
  • It supports multiple UI Setting.
  • It supports gestures and call back block.
  • It supports counting type switch.
  • It supports XIB.

Counting type

/**
 * LCStarRatingViewCountingTypeInteger [0, 1, 2, 3, 4, 5]
 * LCStarRatingViewCountingTypeFloat [0, 0.1, ... 0.4, ... 1, 1.1, ... 4.9, 5]
 * LCStarRatingViewCountingTypeHalfCutting [0, 0.5, 1, 1.5, 2, ...]
 */

Preview (GIF)

image

Call back

ratingView.progressDidChangedByUser = ^(CGFloat progress){
        
    // to do something.
};

Update

  • 1.01
    • Fix bugs and supports XIB.
  • 1.0
    • First commit.

About

Star rating view for iOS, powerfull and without image.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published