Skip to content

Commit 765dae8

Browse files
Update README.md
1 parent 0bdf3c0 commit 765dae8

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,21 @@
33
[![Language](http://img.shields.io/badge/language-swift-brightgreen.svg?style=flat)](https://developer.apple.com/swift)
44
![Swift version](https://img.shields.io/badge/swift-4.0-orange.svg)
55

6-
`ProcessLoadingView` is a CABasicAnimation based loading animation inspired from:
6+
`ProcessLoadingView` is a CABasicAnimation based loading animation inspired from, where the user can nearly customize everything in it:
77
https://dribbble.com/shots/1118077-Proces-animation
88

9-
![Alt Text](https://github.com/ayman-ibrahim/ProcessLoadingView/blob/master/ProcessLoadingViewDemo/5Items.gif) ![Alt Text](https://github.com/ayman-ibrahim/ProcessLoadingView/blob/master/ProcessLoadingViewDemo/8items.gif)
9+
## Features
10+
11+
- [x] light weight easy to setup.
12+
- [x] completely customizable.
13+
- [x] Dynamic number of items can be set .
14+
- [x] capability of setting custom locations of the items in the circumference .
15+
- [x] Ability to set different image for every item.
16+
- [x] capability of setting different attributes regarding the colors, fonts and the speed of the progress.
17+
18+
19+
![alt-text-1](https://github.com/ayman-ibrahim/ProcessLoadingView/blob/master/ProcessLoadingViewDemo/5Items.gif) ![alt-text-2](https://github.com/ayman-ibrahim/ProcessLoadingView/blob/master/ProcessLoadingViewDemo/8items.gif)
20+
1021

1122

1223
## Installation
@@ -58,6 +69,7 @@ options.setNumberOfItems(number: totalSteps)
5869
and use:
5970

6071
```Swift
72+
var options = ProcessOptions()
6173
let curvesStartRadians = [(3 * CGFloat.pi)/2, (23 * CGFloat.pi) / 12, (CGFloat.pi / 3), ((2 * CGFloat.pi) / 3), (13 * CGFloat.pi) / 12]
6274
let curvesEndRadians = [(23 * CGFloat.pi) / 12, (CGFloat.pi) / 3, (2 * CGFloat.pi) / 3, (13 * CGFloat.pi) / 12, (3 * CGFloat.pi)/2]
6375

0 commit comments

Comments
 (0)