- Fixed isAnimating property gets out of sync if a loading spinner is removed from its window while it is animating. The spinner will now resume animating when it is re-added to a window.
- Added ability to set the rotation direction of the spinner
- Fixed background rail does not hide when animation is stopped
- Changed a use of CGFLOAT_MAX to HUGE_VALF in to fix an undefined behavior warning in Xcode 9
- Thanks to @hankinsoft for this fix!
- Updated the summary and description
- Added the ability to set the timing function of the draw cycle. This allows you to have more control over the subtlety or loudness of the animation.
- Added a background rail and the ability to set its color. This defaults to clear, so your existing animations won't be affected.
- Silenced a noisy log message
- No code changes, just updated some inaccurate documentation
- Added DRPRefreshControl
- A few more rendering fixes
- Added ability to independently set the minimum arc length and the maximum arc length
- Fixed buggy rendering
- Re-wrote rendering to use Core Animation instead of CADisplayLink to get some performance wins
- Known bug: Buggy rendering will occur if drawCycleDuration is set to less than half of rotationCycleDuration