Skip to content

Commit

Permalink
added custom pattern gif
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicegginton committed Sep 30, 2019
1 parent df7364e commit 0d7b8f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Binary file added Assets/custom_pattern.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@ We have **60** animated spinner patterns, however to create your own, define a n
let customPattern = SpinnerPattern(multiFrame: ["1","2","3","4","5"])
let mySpinner = Spinner(customPattern, "My Spinner", speed: 0.3)
```
<p align="center">
<br>
<img src="https://raw.githubusercontent.com/dominicegginton/Spinner/master/Assets/custom_pattern.gif">
<br>
<br>
</p>

## Community
Many thanks for the 60 plus spinner frames that can be found over at [sindresorhus](https://github.com/sindresorhus/cli-spinners) repo built in `JavaScript`.

Expand Down

0 comments on commit 0d7b8f2

Please sign in to comment.