Simple, easy to use and customisable loading indicator (loader) for iOS applications.
Objective-C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
BLLoader
Example
Screens
.gitignore
LICENSE
README.md

README.md

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.