Skip to content

Commit 55a2994

Browse files
update Storyboard image
update Readme.md file
1 parent 5cb6c18 commit 55a2994

File tree

6 files changed

+69
-36
lines changed

6 files changed

+69
-36
lines changed

README.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# SSspinnerButton
2+
3+
24
SSSpinnerButton is an elegant button with a diffrent spinner animations.
5+
36
[![Swift Version][swift-image]][swift-url]
47
[![Build Status][travis-image]][travis-url]
58
[![License][license-image]][license-url]
@@ -19,38 +22,47 @@ SSSpinnerButton is an elegant button with a diffrent spinner animations.
1922

2023
# Installation
2124
**CocoaPods**
25+
2226
- You can use CocoaPods to install SSSpinnerButton by adding it to your Podfile:
2327

24-
use_frameworks!
25-
pod 'SSSpinnerButton', :git => 'https://github.com/simformsolutions/SSSpinnerButton'
28+
use_frameworks!
29+
pod 'SSSpinnerButton'
2630

2731
-
28-
import UIKit
29-
import SSSpinnerButton
32+
import UIKit
33+
import SSSpinnerButton
3034

3135
**Manually**
3236
- Download and drop **SSSpinnerButton** folder in your project.
3337
- Congratulations!
3438

3539
# Usage example
40+
3641
- In the storyboard add a UIButton and change its class to SSSpinnerButton
37-
### StartAnimation
42+
- ![Alt text](https://github.com/simformsolutions/SSSpinnerButton/blob/master/SpinnerButtonStoryBoard.png?raw=true)
43+
44+
**StartAnimation**
3845

3946
button.startAnimate(spinnerType: SpinnerType.ballClipRotate, spinnercolor: UIColor.red, complate: nil)
4047

41-
### StopAnimation
48+
49+
**StopAnimation**
4250

4351
button.stopAnimate(complate: {
4452
})
4553

46-
# [Documents](https://github.com/simformsolutions/SSSpinnerButton/blob/master/SSSpinnerButtons/docs/index.html)
4754

4855

4956
# Contribute
5057
- We would love you for the contribution to SSspinnerButton, check the LICENSE file for more info.
51-
# Meta
58+
59+
# Meta
5260
- Distributed under the MIT license. See LICENSE for more information.
5361

62+
63+
# Inspired
64+
- Spinner animations inspired from [NVActivityIndicatorView](https://github.com/ninjaprox/NVActivityIndicatorView)
65+
5466

5567
[swift-image]:https://img.shields.io/badge/swift-4.0-orange.svg
5668
[swift-url]: https://swift.org/

SSSpinnerButton/Base.lproj/Main.storyboard

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
</viewController>
9797
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
9898
</objects>
99+
<point key="canvasLocation" x="111" y="24"/>
99100
</scene>
100101
</scenes>
101102
</document>

SpinnerButtonStoryBoard.png

191 KB
Loading

docs/docsets/SSSpinnerButton.docset/Contents/Resources/Documents/index.html

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@
8787

8888
<h1 id='ssspinnerbutton' class='heading'>SSspinnerButton</h1>
8989

90-
<p>SSSpinnerButton is an elegant button with a diffrent spinner animations.
91-
<a href="https://swift.org/"><img src="https://img.shields.io/badge/swift-4.0-orange.svg" alt="Swift Version"></a>
90+
<p>SSSpinnerButton is an elegant button with a diffrent spinner animations.</p>
91+
92+
<p><a href="https://swift.org/"><img src="https://img.shields.io/badge/swift-4.0-orange.svg" alt="Swift Version"></a>
9293
<a href="https://travis-ci.org/dbader/node-datadog-metrics"><img src="https://img.shields.io/travis/dbader/node-datadog-metrics/master.svg?style=flat-square" alt="Build Status"></a>
9394
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License"></a>
9495
<a href="http://cocoapods.org/pods/LFAlertController"><img src="https://img.shields.io/cocoapods/p/LFAlertController.svg?style=flat" alt="Platform"></a>
@@ -114,12 +115,11 @@ <h1 id='installation' class='heading'>Installation</h1>
114115

115116
<ul>
116117
<li><p>You can use CocoaPods to install SSSpinnerButton by adding it to your Podfile:</p>
117-
<pre class="highlight plaintext"><code>use_frameworks!
118-
pod 'SSSpinnerButton', :git =&gt; 'https://github.com/simformsolutions/SSSpinnerButton'
119-
</code></pre></li>
120-
<li><pre class="highlight plaintext"><code>import UIKit
121-
import SSSpinnerButton
122-
</code></pre></li>
118+
119+
<p>use_frameworks!
120+
pod &lsquo;SSSpinnerButton&rsquo;</p></li>
121+
<li><p>import UIKit
122+
import SSSpinnerButton</p></li>
123123
</ul>
124124

125125
<p><strong>Manually</strong></p>
@@ -131,22 +131,32 @@ <h1 id='installation' class='heading'>Installation</h1>
131131
<h1 id='usage-example' class='heading'>Usage example</h1>
132132

133133
<ul>
134-
<li><p>In the storyboard add a UIButton and change its class to SSSpinnerButton</p>
135-
<h3 id='startanimation' class='heading'>StartAnimation</h3>
134+
<li>In the storyboard add a UIButton and change its class to SSSpinnerButton</li>
135+
<li><p><img src="https://github.com/simformsolutions/SSSpinnerButton/blob/master/SpinnerButtonStoryBoard.png?raw=true" alt="Alt text"></p>
136+
137+
<p><strong>StartAnimation</strong></p>
136138
<pre class="highlight plaintext"><code>button.startAnimate(spinnerType: SpinnerType.ballClipRotate, spinnercolor: UIColor.red, complate: nil)
137139
</code></pre>
138-
<h3 id='stopanimation' class='heading'>StopAnimation</h3>
140+
141+
<p><strong>StopAnimation</strong></p>
139142
<pre class="highlight plaintext"><code>button.stopAnimate(complate: {
140143
})
141144
</code></pre></li>
142145
</ul>
143-
<h1 id='a-href-https-github-com-simformsolutions-ssspinnerbutton-blob-master-ssspinnerbuttons-docs-index-html-documents-a' class='heading'><a href="https://github.com/simformsolutions/SSSpinnerButton/blob/master/SSSpinnerButtons/docs/index.html">Documents</a></h1>
144146
<h1 id='contribute' class='heading'>Contribute</h1>
145147

146148
<ul>
147-
<li>We would love you for the contribution to SSspinnerButton, check the LICENSE file for more info.
148-
# Meta</li>
149+
<li>We would love you for the contribution to SSspinnerButton, check the LICENSE file for more info.</li>
150+
</ul>
151+
<h1 id='meta' class='heading'>Meta</h1>
152+
153+
<ul>
149154
<li>Distributed under the MIT license. See LICENSE for more information.</li>
155+
</ul>
156+
<h1 id='inspired' class='heading'>Inspired</h1>
157+
158+
<ul>
159+
<li>Spinner animations inspired from <a href="https://github.com/ninjaprox/NVActivityIndicatorView">NVActivityIndicatorView</a></li>
150160
</ul>
151161

152162
</section>

docs/docsets/SSSpinnerButton.tgz

-12 Bytes
Binary file not shown.

docs/index.html

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@
8787

8888
<h1 id='ssspinnerbutton' class='heading'>SSspinnerButton</h1>
8989

90-
<p>SSSpinnerButton is an elegant button with a diffrent spinner animations.
91-
<a href="https://swift.org/"><img src="https://img.shields.io/badge/swift-4.0-orange.svg" alt="Swift Version"></a>
90+
<p>SSSpinnerButton is an elegant button with a diffrent spinner animations.</p>
91+
92+
<p><a href="https://swift.org/"><img src="https://img.shields.io/badge/swift-4.0-orange.svg" alt="Swift Version"></a>
9293
<a href="https://travis-ci.org/dbader/node-datadog-metrics"><img src="https://img.shields.io/travis/dbader/node-datadog-metrics/master.svg?style=flat-square" alt="Build Status"></a>
9394
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License"></a>
9495
<a href="http://cocoapods.org/pods/LFAlertController"><img src="https://img.shields.io/cocoapods/p/LFAlertController.svg?style=flat" alt="Platform"></a>
@@ -114,12 +115,11 @@ <h1 id='installation' class='heading'>Installation</h1>
114115

115116
<ul>
116117
<li><p>You can use CocoaPods to install SSSpinnerButton by adding it to your Podfile:</p>
117-
<pre class="highlight plaintext"><code>use_frameworks!
118-
pod 'SSSpinnerButton', :git =&gt; 'https://github.com/simformsolutions/SSSpinnerButton'
119-
</code></pre></li>
120-
<li><pre class="highlight plaintext"><code>import UIKit
121-
import SSSpinnerButton
122-
</code></pre></li>
118+
119+
<p>use_frameworks!
120+
pod &lsquo;SSSpinnerButton&rsquo;</p></li>
121+
<li><p>import UIKit
122+
import SSSpinnerButton</p></li>
123123
</ul>
124124

125125
<p><strong>Manually</strong></p>
@@ -131,22 +131,32 @@ <h1 id='installation' class='heading'>Installation</h1>
131131
<h1 id='usage-example' class='heading'>Usage example</h1>
132132

133133
<ul>
134-
<li><p>In the storyboard add a UIButton and change its class to SSSpinnerButton</p>
135-
<h3 id='startanimation' class='heading'>StartAnimation</h3>
134+
<li>In the storyboard add a UIButton and change its class to SSSpinnerButton</li>
135+
<li><p><img src="https://github.com/simformsolutions/SSSpinnerButton/blob/master/SpinnerButtonStoryBoard.png?raw=true" alt="Alt text"></p>
136+
137+
<p><strong>StartAnimation</strong></p>
136138
<pre class="highlight plaintext"><code>button.startAnimate(spinnerType: SpinnerType.ballClipRotate, spinnercolor: UIColor.red, complate: nil)
137139
</code></pre>
138-
<h3 id='stopanimation' class='heading'>StopAnimation</h3>
140+
141+
<p><strong>StopAnimation</strong></p>
139142
<pre class="highlight plaintext"><code>button.stopAnimate(complate: {
140143
})
141144
</code></pre></li>
142145
</ul>
143-
<h1 id='a-href-https-github-com-simformsolutions-ssspinnerbutton-blob-master-ssspinnerbuttons-docs-index-html-documents-a' class='heading'><a href="https://github.com/simformsolutions/SSSpinnerButton/blob/master/SSSpinnerButtons/docs/index.html">Documents</a></h1>
144146
<h1 id='contribute' class='heading'>Contribute</h1>
145147

146148
<ul>
147-
<li>We would love you for the contribution to SSspinnerButton, check the LICENSE file for more info.
148-
# Meta</li>
149+
<li>We would love you for the contribution to SSspinnerButton, check the LICENSE file for more info.</li>
150+
</ul>
151+
<h1 id='meta' class='heading'>Meta</h1>
152+
153+
<ul>
149154
<li>Distributed under the MIT license. See LICENSE for more information.</li>
155+
</ul>
156+
<h1 id='inspired' class='heading'>Inspired</h1>
157+
158+
<ul>
159+
<li>Spinner animations inspired from <a href="https://github.com/ninjaprox/NVActivityIndicatorView">NVActivityIndicatorView</a></li>
150160
</ul>
151161

152162
</section>

0 commit comments

Comments
 (0)