The ultimate spinning wheel view that supports dynamic content and rich customization.
First public release
line
to Slice.ContentType
and LinePreferences
. Now supports a curved line inside a slice;backgroundColor
added to Slice
. You can now override a background color for specified Slice
, during Slice
initialization;centerImageAnchor
added to WheelPreferences
. You can now add a secondary anchor image for each slice that will be located at the center of wheel’s border;startAnimating(fullRotationTimeInSeconds: Int, finishIndex: Int, _ completion:((Bool) -> Void)?)
- completion fixTextPreferences
, flipUpsideDown
now default value is true
;SwiftFortuneWheel
project;TextPreferences
;preferedFontSize
removed from TextPreferences
;flipUpsideDown
fixed;lines
;line break mode
to the TextPreferences
;spacing
between lines to the TextPreferences
;alignment
to the TextPreferences
;rotate(toIndex index: Int)
, rotate(rotationOffset: CGFloat)
;startAnimating(fullRotationTimeInSeconds: Int, finishIndex: Int)
changed to startAnimating(indefiniteRotationTimeInSeconds: Int, finishIndex: Int)