iOS 视图 JTMaterialSpinner

码农软件 · 软件分类 · 视图布局(View Layout) · 2019-06-22 19:12:23

软件介绍

JTMaterialSpinner 是基于material design 的 iOS spinner 视图。

Example

基本用法:

#import <UIKit/UIKit.h>
#import <JTMaterialSpinner/JTMaterialSpinner.h>
@interface ViewController : UIViewController
@property (weak, nonatomic) IBOutlet JTMaterialSpinner *spinnerView;
@end
@implementation ViewController
- (void)viewDidLoad
{
    [super viewDidLoad];
    // Customize the line width
    _spinnerView.circleLayer.lineWidth = 2.0;
    // Change the color of the line
    _spinnerView.circleLayer.strokeColor = [UIColor orangeColor].CGColor;
}
- (void)loadSomething
{    
    [_spinnerView beginRefreshing];
    [MyService loadSomeData:^(){
        [_spinnerView endRefreshing];
    }];
}

本文地址:https://codercto.com/soft/d/8553.html

Introduction to Algorithms, 3rd Edition

Introduction to Algorithms, 3rd Edition

Thomas H. Cormen、Charles E. Leiserson、Ronald L. Rivest、Clifford Stein / The MIT Press / 2009-7-31 / USD 94.00

Some books on algorithms are rigorous but incomplete; others cover masses of material but lack rigor. Introduction to Algorithms uniquely combines rigor and comprehensiveness. The book covers a broad ......一起来看看 《Introduction to Algorithms, 3rd Edition》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具