https://github.com/bismasaeed00/bsloader
It's to show loading animations
https://github.com/bismasaeed00/bsloader
animation hud loader loading-animations view
Last synced: 3 months ago
JSON representation
It's to show loading animations
- Host: GitHub
- URL: https://github.com/bismasaeed00/bsloader
- Owner: bismasaeed00
- License: apache-2.0
- Created: 2017-08-08T05:49:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-01T07:27:53.000Z (about 7 years ago)
- Last Synced: 2025-03-24T08:47:54.869Z (3 months ago)
- Topics: animation, hud, loader, loading-animations, view
- Language: Objective-C
- Homepage:
- Size: 92.8 KB
- Stars: 13
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BSLoader
To show loading animation
## How to use:
#import "BSLoader.h"To show:
```
BSLoadingView*loader=[[BSLoader sharedInstance] showLoader];
```
To hide:
```
[[BSLoader sharedInstance] hideLoader:loader];
```
## Customize:
To change default circle size, call this line with your value anywhere before showing loader.```
[[BSLoader sharedInstance] setDefaultCircleSize:10];
```
By default, loader will show at the center of screen. But you can specify it's rectanlge by using this:
```
BSLoadingView*loader=[[BSLoader sharedInstance] showLoaderInframe:CGRectMake(100, 100, 200, 200)];
```
You can choose from five different color schemes, call this before displaying loader.```
[[BSLoader sharedInstance] setColorScheme:BSColorSchemeFive];
```