Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Fix clipping value knob (#219)
Browse files Browse the repository at this point in the history
* fix clipping of value knob

* update changelog and docs
  • Loading branch information
luispadron authored Jan 16, 2020
1 parent ea30203 commit 4a1fd4a
Show file tree
Hide file tree
Showing 47 changed files with 538 additions and 327 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Version 6.5.0

- Fix issue with value knob being clipped for certain ring styles

# Version 6.4.0

- Add Swift Package Manager support
Expand Down
2 changes: 1 addition & 1 deletion UICircularProgressRing.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Pod::Spec.new do |s|

s.name = "UICircularProgressRing"
s.version = "6.4.0"
s.version = "6.5.0"
s.summary = "A highly customizable circular progress bar for iOS written in Swift"

s.description = <<-DESC
Expand Down
12 changes: 2 additions & 10 deletions docs/Classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,6 @@ <h4>Declaration</h4>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
Expand Down Expand Up @@ -173,10 +169,6 @@ <h4>Declaration</h4>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
Expand Down Expand Up @@ -210,8 +202,8 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2019 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2019-09-14)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.11.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2020 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2020-01-06)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
Expand Down
20 changes: 12 additions & 8 deletions docs/Classes/UICircularProgressRing.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,11 @@ <h1>UICircularProgressRing</h1>
<div class="task-name-container">
<a name="/Members"></a>
<a name="//apple_ref/swift/Section/Members" class="dashAnchor"></a>
<a href="#/Members">
<h3 class="section-name">Members</h3>
</a>
<div class="section-name-container">
<a class="section-name-link" href="#/Members"></a>
<h3 class="section-name"><p>Members</p>
</h3>
</div>
</div>
<ul>
<li class="item">
Expand Down Expand Up @@ -407,9 +409,11 @@ <h4>Declaration</h4>
<div class="task-name-container">
<a name="/API"></a>
<a name="//apple_ref/swift/Section/API" class="dashAnchor"></a>
<a href="#/API">
<h3 class="section-name">API</h3>
</a>
<div class="section-name-container">
<a class="section-name-link" href="#/API"></a>
<h3 class="section-name"><p>API</p>
</h3>
</div>
</div>
<ul>
<li class="item">
Expand Down Expand Up @@ -594,8 +598,8 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2019 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2019-09-14)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.11.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2020 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2020-01-06)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
Expand Down
62 changes: 38 additions & 24 deletions docs/Classes/UICircularRing.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,11 @@ <h2 id='author' class='heading'>Author</h2>
<div class="task-name-container">
<a name="/Circle%20Properties"></a>
<a name="//apple_ref/swift/Section/Circle Properties" class="dashAnchor"></a>
<a href="#/Circle%20Properties">
<h3 class="section-name">Circle Properties</h3>
</a>
<div class="section-name-container">
<a class="section-name-link" href="#/Circle%20Properties"></a>
<h3 class="section-name"><p>Circle Properties</p>
</h3>
</div>
</div>
<ul>
<li class="item">
Expand Down Expand Up @@ -171,9 +173,11 @@ <h4>Declaration</h4>
<div class="task-name-container">
<a name="/View%20Style"></a>
<a name="//apple_ref/swift/Section/View Style" class="dashAnchor"></a>
<a href="#/View%20Style">
<h3 class="section-name">View Style</h3>
</a>
<div class="section-name-container">
<a class="section-name-link" href="#/View%20Style"></a>
<h3 class="section-name"><p>View Style</p>
</h3>
</div>
</div>
<ul>
<li class="item">
Expand Down Expand Up @@ -429,9 +433,11 @@ <h4>Declaration</h4>
<div class="task-name-container">
<a name="/Outer%20Ring%20properties"></a>
<a name="//apple_ref/swift/Section/Outer Ring properties" class="dashAnchor"></a>
<a href="#/Outer%20Ring%20properties">
<h3 class="section-name">Outer Ring properties</h3>
</a>
<div class="section-name-container">
<a class="section-name-link" href="#/Outer%20Ring%20properties"></a>
<h3 class="section-name"><p>Outer Ring properties</p>
</h3>
</div>
</div>
<ul>
<li class="item">
Expand Down Expand Up @@ -545,9 +551,11 @@ <h4>Declaration</h4>
<div class="task-name-container">
<a name="/Inner%20Ring%20properties"></a>
<a name="//apple_ref/swift/Section/Inner Ring properties" class="dashAnchor"></a>
<a href="#/Inner%20Ring%20properties">
<h3 class="section-name">Inner Ring properties</h3>
</a>
<div class="section-name-container">
<a class="section-name-link" href="#/Inner%20Ring%20properties"></a>
<h3 class="section-name"><p>Inner Ring properties</p>
</h3>
</div>
</div>
<ul>
<li class="item">
Expand Down Expand Up @@ -634,7 +642,7 @@ <h4>Declaration</h4>
<p>The spacing between the outer ring and inner ring</p>
<h2 id='important' class='heading'>Important</h2>

<p>This only applies when using progressRingStyle = 1</p>
<p>This only applies when using <code>ringStyle</code> = <code>.inside</code></p>

<p>Default = 1</p>
<h2 id='author' class='heading'>Author</h2>
Expand Down Expand Up @@ -695,9 +703,11 @@ <h4>Declaration</h4>
<div class="task-name-container">
<a name="/Label"></a>
<a name="//apple_ref/swift/Section/Label" class="dashAnchor"></a>
<a href="#/Label">
<h3 class="section-name">Label</h3>
</a>
<div class="section-name-container">
<a class="section-name-link" href="#/Label"></a>
<h3 class="section-name"><p>Label</p>
</h3>
</div>
</div>
<ul>
<li class="item">
Expand Down Expand Up @@ -871,9 +881,11 @@ <h4>Declaration</h4>
<div class="task-name-container">
<a name="/Methods"></a>
<a name="//apple_ref/swift/Section/Methods" class="dashAnchor"></a>
<a href="#/Methods">
<h3 class="section-name">Methods</h3>
</a>
<div class="section-name-container">
<a class="section-name-link" href="#/Methods"></a>
<h3 class="section-name"><p>Methods</p>
</h3>
</div>
</div>
<ul>
<li class="item">
Expand Down Expand Up @@ -990,9 +1002,11 @@ <h4>Declaration</h4>
<div class="task-name-container">
<a name="/API"></a>
<a name="//apple_ref/swift/Section/API" class="dashAnchor"></a>
<a href="#/API">
<h3 class="section-name">API</h3>
</a>
<div class="section-name-container">
<a class="section-name-link" href="#/API"></a>
<h3 class="section-name"><p>API</p>
</h3>
</div>
</div>
<ul>
<li class="item">
Expand Down Expand Up @@ -1067,8 +1081,8 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2019 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2019-09-14)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.11.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2020 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2020-01-06)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
Expand Down
28 changes: 17 additions & 11 deletions docs/Classes/UICircularTimerRing.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,11 @@ <h1>UICircularTimerRing</h1>
<div class="task-name-container">
<a name="/Members"></a>
<a name="//apple_ref/swift/Section/Members" class="dashAnchor"></a>
<a href="#/Members">
<h3 class="section-name">Members</h3>
</a>
<div class="section-name-container">
<a class="section-name-link" href="#/Members"></a>
<h3 class="section-name"><p>Members</p>
</h3>
</div>
</div>
<ul>
<li class="item">
Expand Down Expand Up @@ -178,9 +180,11 @@ <h4>Declaration</h4>
<div class="task-name-container">
<a name="/API"></a>
<a name="//apple_ref/swift/Section/API" class="dashAnchor"></a>
<a href="#/API">
<h3 class="section-name">API</h3>
</a>
<div class="section-name-container">
<a class="section-name-link" href="#/API"></a>
<h3 class="section-name"><p>API</p>
</h3>
</div>
</div>
<ul>
<li class="item">
Expand Down Expand Up @@ -308,9 +312,11 @@ <h4>Declaration</h4>
<div class="task-name-container">
<a name="/UICircularTimerRing.State"></a>
<a name="//apple_ref/swift/Section/UICircularTimerRing.State" class="dashAnchor"></a>
<a href="#/UICircularTimerRing.State">
<h3 class="section-name">UICircularTimerRing.State</h3>
</a>
<div class="section-name-container">
<a class="section-name-link" href="#/UICircularTimerRing.State"></a>
<h3 class="section-name"><p>UICircularTimerRing.State</p>
</h3>
</div>
</div>
<ul>
<li class="item">
Expand Down Expand Up @@ -346,8 +352,8 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2019 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2019-09-14)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.11.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2020 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2020-01-06)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/Classes/UICircularTimerRing/State.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2019 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2019-09-14)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.11.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2020 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2020-01-06)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
Expand Down
20 changes: 12 additions & 8 deletions docs/Enums.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,11 @@ <h1>Enumerations</h1>
<div class="task-name-container">
<a name="/UICircularRingStyle"></a>
<a name="//apple_ref/swift/Section/UICircularRingStyle" class="dashAnchor"></a>
<a href="#/UICircularRingStyle">
<h3 class="section-name">UICircularRingStyle</h3>
</a>
<div class="section-name-container">
<a class="section-name-link" href="#/UICircularRingStyle"></a>
<h3 class="section-name"><p>UICircularRingStyle</p>
</h3>
</div>
</div>
<ul>
<li class="item">
Expand Down Expand Up @@ -145,9 +147,11 @@ <h4>Declaration</h4>
<div class="task-name-container">
<a name="/UICircularRingGradientPosition"></a>
<a name="//apple_ref/swift/Section/UICircularRingGradientPosition" class="dashAnchor"></a>
<a href="#/UICircularRingGradientPosition">
<h3 class="section-name">UICircularRingGradientPosition</h3>
</a>
<div class="section-name-container">
<a class="section-name-link" href="#/UICircularRingGradientPosition"></a>
<h3 class="section-name"><p>UICircularRingGradientPosition</p>
</h3>
</div>
</div>
<ul>
<li class="item">
Expand Down Expand Up @@ -187,8 +191,8 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2019 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2019-09-14)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.11.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2020 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2020-01-06)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/Enums/UICircularRingGradientPosition.html
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2019 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2019-09-14)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.11.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2020 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2020-01-06)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/Enums/UICircularRingStyle.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2019 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2019-09-14)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.11.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2020 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2020-01-06)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
Expand Down
12 changes: 7 additions & 5 deletions docs/Protocols.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,11 @@ <h4>Declaration</h4>
<div class="task-name-container">
<a name="/UICircularRingValueFormatter"></a>
<a name="//apple_ref/swift/Section/UICircularRingValueFormatter" class="dashAnchor"></a>
<a href="#/UICircularRingValueFormatter">
<h3 class="section-name">UICircularRingValueFormatter</h3>
</a>
<div class="section-name-container">
<a class="section-name-link" href="#/UICircularRingValueFormatter"></a>
<h3 class="section-name"><p>UICircularRingValueFormatter</p>
</h3>
</div>
</div>
<ul>
<li class="item">
Expand Down Expand Up @@ -183,8 +185,8 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2019 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2019-09-14)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.11.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2020 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2020-01-06)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
Expand Down
Loading

0 comments on commit 4a1fd4a

Please sign in to comment.