项目
在 GitHub 查看
misterwell/MMMaterialDesignSpinner
关于
一款仿照 Google Material Design Spinner 设计的 iOS 活动指示器。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文MMMaterialDesignSpinner

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, [email protected]
License
MMMaterialDesignSpinner is available under the MIT license. See the LICENSE file for more info.
探索相关项目
加载中…