You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2022. It is now read-only.
Copy file name to clipboardexpand all lines: CHANGELOG.md
+10
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,13 @@
1
+
# Version 1.4.2 (latest)
2
+
3
+
- Add new `fullCircle` property to the `UICircularProgressRingView`. Which removes the confusion of setting a valid end angle. For example previously if you wanted a full circle and you wanted the progress to start from the top you could do `startAngle = -90` however this would also require you to subtract 90 from the end angle, since the default is 360. This was not fully understood by some users. Now you have the option using `fullCircle` to set and forget the `startAngle` and the `endAngle` will automagically be corrected for you, thus always giving you a full circle with your desired start ange.
4
+
- Update some Xcode unit tests
5
+
- Update documentation to include new `fullCircle` property
6
+
7
+
#### Breaking changes in 1.4.2
8
+
9
+
With the addition of the `fullCircle` property which is `true` by default anyone who was using a non-circular progress ring will see that their progress ring is now circular. To fix this either set `fullCircle` to `false` via code or go into interface builder and toggle `Full Circle` to `Off`.
10
+
1
11
# Version 1.4.1
2
12
3
13
- Fix bug where the default `valueIndicator`_'%'_ - was not set on initialization
Copy file name to clipboardexpand all lines: UICircularProgressRing/UICircularProgressRingView.swift
+23
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,28 @@ import UIKit
58
58
*/
59
59
open weak vardelegate:UICircularProgressRingDelegate?
60
60
61
+
// MARK: Circle Properties
62
+
63
+
/**
64
+
Whether or not the progress ring should be a full circle.
65
+
66
+
What this means is that the outer ring will always go from 0 - 360 degrees and the inner ring will be calculated accordingly depending on current value.
67
+
68
+
## Important ##
69
+
Default = true
70
+
71
+
When this property is true any value set for `endAngle` will be ignored.
<p>Whether or not the progress ring should be a full circle.</p>
194
+
195
+
<p>What this means is that the outer ring will always go from 0 - 360 degrees and the inner ring will be calculated accordingly depending on current value.</p>
<p>When this property is true any value set for <code><ahref="../Classes/UICircularProgressRingView.html#/s:vC22UICircularProgressRing26UICircularProgressRingView8endAngleV12CoreGraphics7CGFloat">endAngle</a></code> will be ignored.</p>
Copy file name to clipboardexpand all lines: docs/docsets/UICircularProgressRing.docset/Contents/Resources/Documents/Classes/UICircularProgressRingView.html
<p>Whether or not the progress ring should be a full circle.</p>
194
+
195
+
<p>What this means is that the outer ring will always go from 0 - 360 degrees and the inner ring will be calculated accordingly depending on current value.</p>
<p>When this property is true any value set for <code><ahref="../Classes/UICircularProgressRingView.html#/s:vC22UICircularProgressRing26UICircularProgressRingView8endAngleV12CoreGraphics7CGFloat">endAngle</a></code> will be ignored.</p>
Copy file name to clipboardexpand all lines: docs/docsets/UICircularProgressRing.docset/Contents/Resources/Documents/Protocols/UICircularProgressRingDelegate.html
0 commit comments