StarryStars is iOS GUI library for displaying and editing ratings
StarryStars' RatingView
is both IBDesignable
and IBInspectable
You can change any of the following properties right in the interface builder:
And see the result right away:
To add RatingView to your Storyboard/.xib file just drag a generic UIView from palette, then in "Custom Class" section of identity inspector set class to RatingView
Just clone and add StarryStars
directory to your project.
- Make sure that you use latest stable Cocoapods version:
pod --version
- If not, update it:
sudo gem install cocoapods
pod init
in you project root dirnano Podfile
, add:
pod 'StarryStars', '~> 0.0.1'
use_frameworks!
- Save it:
ctrl-x
,y
,enter
pod update
- Open generated
.xcworkspace
- Don't forget to import StarryStars:
import StarryStars
!
- iOS 7.0+ (8.0+ if you use Cocoapods)
- Xcode 7.0
- Swift 2.0
SwiftOverlays - Swift GUI library for displaying various popups and notifications.