SwiftFortuneWheel Versions Save

The ultimate spinning wheel view that supports dynamic content and rich customization.

0.5.0

1 year ago

First public release

0.6.0

1 year ago
  • Added line to Slice.ContentType and LinePreferences. Now supports a curved line inside a slice;
  • Optional backgroundColor added to Slice. You can now override a background color for specified Slice, during Slice initialization;
  • Optional 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;
  • Examples updated;

0.6.1

1 year ago
  • startAnimating(fullRotationTimeInSeconds: Int, finishIndex: Int, _ completion:((Bool) -> Void)?) - completion fix

0.6.2

1 year ago
  • Fixed bug during the init process;
  • In TextPreferences, flipUpsideDown now default value is true;
  • Playground added to SwiftFortuneWheel project;

0.7.0

1 year ago
  • Added text orientation to TextPreferences;
  • preferedFontSize removed from TextPreferences;
  • flipUpsideDown fixed;

0.8.0

1 year ago
  • Text now can be separated into lines;
  • Added line break mode to the TextPreferences;
  • Added spacing between lines to the TextPreferences;
  • Added alignment to the TextPreferences;

0.8.1

1 year ago
  • Issue #2 fix;

0.9.0

1 year ago
  • Added rotation API: rotate(toIndex index: Int), rotate(rotationOffset: CGFloat);
  • Added parameters full rotations until start deceleration and animation duration to animation API;
  • startAnimating(fullRotationTimeInSeconds: Int, finishIndex: Int) changed to startAnimating(indefiniteRotationTimeInSeconds: Int, finishIndex: Int)
  • Internal code refactoring;

1.0.0

1 year ago
  • Small improvements and bug fixes;
  • Updated example project with rotation and animation API example;
  • Pull request #4 merged;
  • See migration information here: from 0.x.x to 1.0.0;

1.0.1

1 year ago
  • Fixed layout warnings;
  • Fixed incorrect spinButton background image setting;
  • Fixed incorrect spinButton isEnabled setting;
  • Fixed incorrect content image position;
  • Fixed incorrect content line position;
  • Fixed incorrect slice border width;
  • Fixed incorrect content position after setting circle border height;
  • Fixed horizontal position in the vertical text;
  • Other small improvements are made;