开源软件名称(OpenSource Name):misterwell/MMMaterialDesignSpinner开源软件地址(OpenSource Url):https://github.com/misterwell/MMMaterialDesignSpinner开源编程语言(OpenSource Language):Objective-C 44.4%开源软件介绍(OpenSource Introduction):MMMaterialDesignSpinnerUsageTo run the example project, clone the repo, and run // 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 Requirements
InstallationMaterialDesignSpinner is available through CocoaPods. To install it, simply add the following line to your Podfile:
MaterialDesignSpinner is also Carthage compatible, add the following line to your Cartfile:
AuthorMike Maxwell, mmaxwell@vertical.com LicenseMMMaterialDesignSpinner is available under the MIT license. See the LICENSE file for more info. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论