Simple, easy to use and customisable loading indicator (loader) for iOS applications.
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];
}];
}
- iOS 7 or higher
- Automatic Reference Counting (ARC)
BLMultiColorLoader is released under the MIT license. See the LICENSE file for more info.