2016-01-27 10:18:26 +01:00
2016-01-27 10:17:57 +01:00
2014-12-28 10:29:43 -08:00
2014-12-28 14:52:46 -08:00
2014-12-28 18:45:46 -08:00
2014-12-28 10:29:43 -08:00
2015-07-23 10:05:00 +08:00

MMMaterialDesignSpinner

CI Status Version License Platform Carthage compatible

Demo

Usage

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

// Initialize the progress view
MMMaterialDesignSpinner *spinnerView = [[MMMaterialDesignSpinner alloc] initWithFrame:CGRectMake(0, 0, 40, 40)];

// Set the line width of the spinner
spinnerView.lineWidth = 1.5f;
// Set the tint color of the spinner
spinnerView.tintColor = [UIColor redColor];

// Add it as a subview
[self.view addSubview:spinnerView];

...

// Start & stop animations
[spinnerView startAnimating];
[spinnerView stopAnimating];

Also Support Xib & StoryBoard

The lineWidth and tintColor properties can even be set after animating has been started, which you can observe in the included example project.

Requirements

  • CoreGraphics

Installation

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

pod "MMMaterialDesignSpinner"

MaterialDesignSpinner is also Carthage compatible, add the following line to your Cartfile:

github "misterwell/MMMaterialDesignSpinner"

Author

Mike Maxwell, mmaxwell@vertical.com

License

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

S
Description
An iOS activity spinner modeled after Google's Material Design Spinner
Readme MIT 1.6 MiB
Languages
Objective-C 70.8%
Ruby 28.5%
MATLAB 0.7%