Latest 0.1.6
Homepage https://github.com/BLPoonia/BLMultiColorLoader
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit
Authors ,

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

Version
License
Platform

Screenshots

Demo

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

BLMultiColorLoader is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "BLMultiColorLoader"

Basic usage

Add BLMultiColorLoader class ("BLMultiColorLoader.h" and "BLMultiColorLoader.m") into your project.

#import <UIKit/UIKit.h>
#import "BLMultiColorLoader.h"

@interface ViewController : UIViewController

@property (weak, nonatomic) IBOutlet BLMultiColorLoader *multiColorLoader;

@end
@implementation ViewController

- (void)viewDidLoad {
[super viewDidLoad];

// Customize the line width
_multiColorLoader.lineWidth = 2.0;

// Pass the custom colors array
_multiColorLoader.colorArray = [NSArray arrayWithObjects:[UIColor redColor],
[UIColor purpleColor],
[UIColor greenColor],
[UIColor blueColor], nil];
[_multiColorLoader startAnimation];

}

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

Requirements

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

Author

Contribution

License

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

Latest podspec

{
    "name": "BLMultiColorLoader",
    "version": "0.1.6",
    "summary": "This is the pod version of BLMultiColorHeader.",
    "description": "Simple, easy to use, Multi coloured and customisable loading indicator (loader) for iOS applications.",
    "homepage": "https://github.com/BLPoonia/BLMultiColorLoader",
    "screenshots": "https://raw.githubusercontent.com/BLPoonia/BLMultiColorLoader/master/Screens/loader_screenshot.gif",
    "license": "MIT",
    "authors": {
        "Babulal Poonia": "[email protected]",
        "Contribution - Herrick Wolber": "[email protected]"
    },
    "source": {
        "git": "https://github.com/BLPoonia/BLMultiColorLoader.git",
        "tag": "0.1.6"
    },
    "social_media_url": "https://twitter.com/__poonia",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "BLMultiColorLoader/Pod/Classes/**/*",
    "resource_bundles": {
        "BLMultiColorLoader": [
            "BLMultiColorLoader/Pod/Assets/*.png"
        ]
    },
    "public_header_files": "BLMultiColorLoader/Pod/Classes/**/*.h",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This