Skip to content

Commit e3e8cc8

Browse files
committed
Readme update
1 parent 3e048dc commit e3e8cc8

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

Diff for: README.md

+53
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,55 @@
11
# AASquaresLoading
22
Simple loading animation using squares
3+
4+
![Screenshot](screenshot.gif)
5+
6+
## Example
7+
```swift
8+
let loadingSquare = AASquaresLoading(target: self.view, size: 40)
9+
// Customize background
10+
loadingSquare.backgroundColor = UIColor.blackColor().colorWithAlphaComponent(0.4)
11+
// Customize color
12+
loadingSquare.color = UIColor.whiteColor()
13+
// Start loading
14+
loadingSquare.start()
15+
....
16+
// Stop loading
17+
loadingSquare.stop()
18+
```
19+
20+
More examples in the demo project.
21+
22+
## Installation
23+
24+
### CocoaPods
25+
26+
*Comming soon*
27+
28+
### Manual
29+
30+
1. Add `AASquaresLoading.swift`to your project
31+
2. That's all you can use it!
32+
33+
## License
34+
35+
The MIT License (MIT)
36+
37+
Copyright (c) 2015 Anas AIT-ALI
38+
39+
Permission is hereby granted, free of charge, to any person obtaining a copy
40+
of this software and associated documentation files (the "Software"), to deal
41+
in the Software without restriction, including without limitation the rights
42+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
43+
copies of the Software, and to permit persons to whom the Software is
44+
furnished to do so, subject to the following conditions:
45+
46+
The above copyright notice and this permission notice shall be included in all
47+
copies or substantial portions of the Software.
48+
49+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
50+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
51+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
52+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
53+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
54+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
55+
SOFTWARE.

Diff for: screenshot.gif

914 KB
Loading

0 commit comments

Comments
 (0)