Skip to content

BLPoonia/BLLoader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BLLoader

Simple, easy to use and customisable loading indicator (loader) for iOS applications.

Screenshots

Example

Usage

Basic usage

Add BLLoader class into your project.

#import "ViewController.h"
#import "BLLoader.h"

@interface ViewController()

@property (weak, nonatomic) IBOutlet BLLoader *loader;

@end
@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    // Set custom lineWidth or don't set to use default lineWidth
    _loader.lineWidth = 10.0;
    
    // Set custom color or don't set to use default color 
    _loader.color = [UIColor grayColor];
    
    [_loader startAnimation];
}

- (void)doSomething
{    
    [_loader startAnimation];
    [XYZService fetchSomeData:^(){
        [_loader stopAnimation];
    }];
}

Requirements

  • iOS 7 or higher
  • Automatic Reference Counting (ARC)

Author

License

BLMultiColorLoader is released under the MIT license. See the LICENSE file for more info.

About

Simple, easy to use and customisable loading indicator (loader) for iOS applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published