Latest 0.1.0
License MIT
Platforms ios 7.0, requires ARC



  //Create the loader
  _loadview = [[MBLoadingIndicator alloc] init];

  //Start the loader
  [self.loadview start];

  //Add the loader to our view
  [self.view addSubview:self.loadview];



Change the percentage

//Change the percentage
[_loadview incrementPercentageBy:17];

//Fill up and start ending animation
[_loadview finish];

Animated properties of the loader

//Change loader colors
[_loadview setLoadedColor:[UIColor darkGrayColor]];
[_loadview setBufferColor:[UIColor whiteColor]];

//Change loader sizes
[_loadview setWidth:15];
[_loadview setOuterLoaderBuffer:0];

//Move the loader
[_loadview offsetCenterXBy:50.0f];
[_loadview offsetCenterYBy:50.0f];

Setup properties of loader

//Choose full circle, half circle, or line
[_loadview setLoaderStyle:MBLoaderFullCircle];

//Preset sizes (tiny, small, medium, large)
[_loadview setLoaderSize:MBLoaderLarge];

//If you need greater control over the size
[_loadview setRadius:30];

//Set where the line originates from (full circle style only)
[_loadview setStartPosition:MBLoaderRight];

//Set animation speed
[_loadview setAnimationSpeed:MBLoaderSpeedFast];

Accessing loader information

//Get the percentage amount that is full (after current animation)
NSInteger amt = [_loadview getPercentage];

Other useful things

//Hide the loader (useful if error in main app occured)
[_loadview dismiss];

//Turn off interaction blocking
[_loadview allowClicks:YES];

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


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

pod "MBSimpleLoadingIndicator"


  • Open an issue with GitHub’s issue reporting system
  • Send me an email at [email protected]
  • Send me a tweet at @mattbrenman with #MBLoaderIndicator


mbrenman, [email protected]


  • Thanks to Richard for design tips and help
  • Used Bohemian Sketch 3 for design and LICEcap for the gifs


MBSimpleLoadingIndicator is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "MBSimpleLoadingIndicator",
    "version": "0.1.0",
    "summary": "A super customizable loading circle for iOS.",
    "description": "A simple way to set up a loading circle (or semi-circle or line) that lets you control the colors, sizing placement and much more, all while animating your changes. Also, this blocks click events, which can cause nasty crashes when waiting for network calls and the like to complete, -Loading, -Indicator, -LoadingIndicator, -objectivec, -ios, -iphone, -xcode",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "mbrenman": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.1.0"
    "social_media_url": "",
    "platforms": {
        "ios": "7.0"
    "requires_arc": true,
    "source_files": "Pod/Classes",
    "resource_bundles": {
        "MBSimpleLoadingIndicator": [

Pin It on Pinterest

Share This