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

Commit

Permalink
Version 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
luispadron committed Jun 22, 2018
1 parent 5bd63b3 commit 05b8ce1
Show file tree
Hide file tree
Showing 24 changed files with 372 additions and 291 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Version 2.2.0

- Add new `isClockwise` property which allows users of the library to
set whether or not the ring should rotate in a clockwise fashion.

Thanks to [@petewalker](https://github.com/petewalker) for adding this!

# Version 2.1.3

- Add example playground, remove old example workspace
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 = "2.1.3"
s.version = "2.2.0"
s.summary = "A highly customizable circular progress bar for iOS written in Swift"

s.description = <<-DESC
Expand Down
12 changes: 7 additions & 5 deletions docs/Classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

</head>
<body>
<a name="//apple_ref/swift/Section/Classes" class="dashAnchor"></a>
<a title="Classes Reference"></a>
<header>
<div class="content-wrapper">
Expand Down Expand Up @@ -79,15 +80,15 @@ <h1>Classes</h1>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<h1 id='uiciruclarprogressringview' class='heading'>UICiruclarProgressRingView</h1>
<h1 id='uicircularprogressringview' class='heading'>UICircularProgressRingView</h1>

<p>This is the UIView subclass that creates and handles everything
to do with the progress ring</p>

<p>This class has a custom CAShapeLayer (UICircularProgressRingLayer) which
handels the drawing and animating of the view</p>

<p>The properties in this class correspond with the
<p>The properties in this class correspond with the
properties in UICircularProgressRingLayer.
When they are set in here, they are also set for the layer and drawn accordingly</p>

Expand All @@ -102,7 +103,8 @@ <h2 id='author' class='heading'>Author</h2>
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">@IBDesignable</span> <span class="kd">open</span> <span class="kd">class</span> <span class="kt">UICircularProgressRingView</span><span class="p">:</span> <span class="kt">UIView</span></code></pre>
<pre class="highlight swift"><code><span class="kd">@IBDesignable</span>
<span class="kd">open</span> <span class="kd">class</span> <span class="kt">UICircularProgressRingView</span> <span class="p">:</span> <span class="kt">UIView</span></code></pre>

</div>
</div>
Expand All @@ -114,8 +116,8 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2018 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2018-05-14)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.1</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2018 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2018-06-22)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
Expand Down
172 changes: 120 additions & 52 deletions docs/Classes/UICircularProgressRingView.html

Large diffs are not rendered by default.

39 changes: 21 additions & 18 deletions docs/Enums.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

</head>
<body>
<a name="//apple_ref/swift/Section/Enumerations" class="dashAnchor"></a>
<a title="Enumerations Reference"></a>
<header>
<div class="content-wrapper">
Expand Down Expand Up @@ -69,30 +70,33 @@ <h1>Enumerations</h1>
<li class="item">
<div>
<code>
<a name="/c:@M@UICircularProgressRing@E@UICircularProgressRingStyle"></a>
<a name="//apple_ref/swift/Enum/UICircularProgressRingStyle" class="dashAnchor"></a>
<a class="token" href="#/c:@M@UICircularProgressRing@E@UICircularProgressRingStyle">UICircularProgressRingStyle</a>
<a name="/c:@M@UICircularProgressRing@E@UICircularProgressRingGradientPosition"></a>
<a name="//apple_ref/swift/Enum/UICircularProgressRingGradientPosition" class="dashAnchor"></a>
<a class="token" href="#/c:@M@UICircularProgressRing@E@UICircularProgressRingGradientPosition">UICircularProgressRingGradientPosition</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<h1 id='uicircularprogressringstyle' class='heading'>UICircularProgressRingStyle</h1>
<h1 id='uicircularprogressringgradientposition' class='heading'>UICircularProgressRingGradientPosition</h1>

<p>This is an enumeration which is used to determine the style of the progress ring.</p>
<p>This is an enumeration which is used to determine the position for a
gradient. Used inside the <code>UICircularProgressRingLayer</code> to allow customization
for the gradient.</p>
<h2 id='author' class='heading'>Author</h2>

<p>Luis Padron</p>

<a href="Enums/UICircularProgressRingStyle.html" class="slightly-smaller">See more</a>
<a href="Enums/UICircularProgressRingGradientPosition.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">@objc</span> <span class="kd">public</span> <span class="kd">enum</span> <span class="kt">UICircularProgressRingStyle</span><span class="p">:</span> <span class="kt">Int</span></code></pre>
<pre class="highlight swift"><code><span class="kd">@objc</span>
<span class="kd">public</span> <span class="kd">enum</span> <span class="kt">UICircularProgressRingGradientPosition</span> <span class="p">:</span> <span class="kt">Int</span></code></pre>

</div>
</div>
Expand All @@ -106,32 +110,31 @@ <h4>Declaration</h4>
<li class="item">
<div>
<code>
<a name="/c:@M@UICircularProgressRing@E@UICircularProgressRingGradientPosition"></a>
<a name="//apple_ref/swift/Enum/UICircularProgressRingGradientPosition" class="dashAnchor"></a>
<a class="token" href="#/c:@M@UICircularProgressRing@E@UICircularProgressRingGradientPosition">UICircularProgressRingGradientPosition</a>
<a name="/c:@M@UICircularProgressRing@E@UICircularProgressRingStyle"></a>
<a name="//apple_ref/swift/Enum/UICircularProgressRingStyle" class="dashAnchor"></a>
<a class="token" href="#/c:@M@UICircularProgressRing@E@UICircularProgressRingStyle">UICircularProgressRingStyle</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<h1 id='uicircularprogressringgradientposition' class='heading'>UICircularProgressRingGradientPosition</h1>
<h1 id='uicircularprogressringstyle' class='heading'>UICircularProgressRingStyle</h1>

<p>This is an enumeration which is used to determine the position for a
gradient. Used inside the <code>UICircularProgressRingLayer</code> to allow customization
for the gradient.</p>
<p>This is an enumeration which is used to determine the style of the progress ring.</p>
<h2 id='author' class='heading'>Author</h2>

<p>Luis Padron</p>

<a href="Enums/UICircularProgressRingGradientPosition.html" class="slightly-smaller">See more</a>
<a href="Enums/UICircularProgressRingStyle.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">@objc</span> <span class="kd">public</span> <span class="kd">enum</span> <span class="kt">UICircularProgressRingGradientPosition</span><span class="p">:</span> <span class="kt">Int</span></code></pre>
<pre class="highlight swift"><code><span class="kd">@objc</span>
<span class="kd">public</span> <span class="kd">enum</span> <span class="kt">UICircularProgressRingStyle</span> <span class="p">:</span> <span class="kt">Int</span></code></pre>

</div>
</div>
Expand All @@ -143,8 +146,8 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2018 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2018-05-14)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.1</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2018 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2018-06-22)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
Expand Down
35 changes: 4 additions & 31 deletions docs/Enums/UICircularProgressRingGradientPosition.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
<h1>UICircularProgressRingGradientPosition</h1>
<div class="declaration">
<div class="language">
<pre class="highlight swift"><code><span class="kd">@objc</span> <span class="kd">public</span> <span class="kd">enum</span> <span class="kt">UICircularProgressRingGradientPosition</span><span class="p">:</span> <span class="kt">Int</span></code></pre>
<pre class="highlight swift"><code><span class="kd">@objc</span>
<span class="kd">public</span> <span class="kd">enum</span> <span class="kt">UICircularProgressRingGradientPosition</span> <span class="p">:</span> <span class="kt">Int</span></code></pre>

</div>
</div>
Expand Down Expand Up @@ -107,10 +108,6 @@ <h4>Declaration</h4>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
Expand Down Expand Up @@ -138,10 +135,6 @@ <h4>Declaration</h4>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
Expand Down Expand Up @@ -169,10 +162,6 @@ <h4>Declaration</h4>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
Expand Down Expand Up @@ -200,10 +189,6 @@ <h4>Declaration</h4>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
Expand Down Expand Up @@ -231,10 +216,6 @@ <h4>Declaration</h4>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
Expand Down Expand Up @@ -262,10 +243,6 @@ <h4>Declaration</h4>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
Expand Down Expand Up @@ -293,10 +270,6 @@ <h4>Declaration</h4>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
Expand Down Expand Up @@ -329,8 +302,8 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2018 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2018-05-14)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.1</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2018 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2018-06-22)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
Expand Down
23 changes: 4 additions & 19 deletions docs/Enums/UICircularProgressRingStyle.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
<h1>UICircularProgressRingStyle</h1>
<div class="declaration">
<div class="language">
<pre class="highlight swift"><code><span class="kd">@objc</span> <span class="kd">public</span> <span class="kd">enum</span> <span class="kt">UICircularProgressRingStyle</span><span class="p">:</span> <span class="kt">Int</span></code></pre>
<pre class="highlight swift"><code><span class="kd">@objc</span>
<span class="kd">public</span> <span class="kd">enum</span> <span class="kt">UICircularProgressRingStyle</span> <span class="p">:</span> <span class="kt">Int</span></code></pre>

</div>
</div>
Expand Down Expand Up @@ -105,10 +106,6 @@ <h4>Declaration</h4>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
Expand Down Expand Up @@ -136,10 +133,6 @@ <h4>Declaration</h4>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
Expand Down Expand Up @@ -167,10 +160,6 @@ <h4>Declaration</h4>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
Expand Down Expand Up @@ -198,10 +187,6 @@ <h4>Declaration</h4>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul>
<li class="item">
<div>
<code>
Expand Down Expand Up @@ -234,8 +219,8 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2018 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2018-05-14)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.1</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2018 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2018-06-22)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
Expand Down
8 changes: 5 additions & 3 deletions docs/Protocols.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

</head>
<body>
<a name="//apple_ref/swift/Section/Protocols" class="dashAnchor"></a>
<a title="Protocols Reference"></a>
<header>
<div class="content-wrapper">
Expand Down Expand Up @@ -97,7 +98,8 @@ <h2 id='author' class='heading'>Author</h2>
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight swift"><code><span class="kd">@objc</span> <span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">UICircularProgressRingDelegate</span><span class="p">:</span> <span class="kd">class</span></code></pre>
<pre class="highlight swift"><code><span class="kd">@objc</span>
<span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">UICircularProgressRingDelegate</span> <span class="p">:</span> <span class="kt">AnyObject</span></code></pre>

</div>
</div>
Expand All @@ -109,8 +111,8 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2018 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2018-05-14)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.1</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>&copy; 2018 <a class="link" href="https://luispadron.com" target="_blank" rel="external">Luis</a>. All rights reserved. (Last updated: 2018-06-22)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</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 05b8ce1

Please sign in to comment.