SBStarRatingControl
API
Property
- touchRatingChanged
- touchRatingEnded
- rating
- configuration
- totalStars
- fillMode
- starSize
- starSpacing
- emptyBackgroundColor
- filledBackgroundColor
- emptyBorderColor
- emptyBorderWidth
- filledBorderColor
- filledBorderWidth
- emptyImage
- emptyImageTintColor
- filledImage
- filledImageTintColor
- blockingTouch
- updateRatingUsingGesture
- minRatingUsingGesture
- isPanGestureEnabled
Method
- init(configuration)
- init(frame)
- init()
限制条件
- iOS 11.0+
- Swift 5.0+
安装
Cocoapods
pod 'SBStarRatingControl', '~> 1.0'
Swift Package Manager
https://github.com/spirit-jsb/SBStarRatingControl.git
作者
spirit-jsb, [email protected]
许可文件
SBStarRatingControl
可在 MIT
许可下使用,更多详情请参阅许可文件