JTMaterialSpinner iOS 视图

程序名称:JTMaterialSpinner

授权协议: MIT

操作系统: iOS

开发语言: Objective-C

JTMaterialSpinner 介绍

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

基本用法:

#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];
    }];
}

JTMaterialSpinner 官网

https://github.com/jonathantribouharet/JTMaterialSpinner

相关编程语言

Acapela TTS 是一个为 iPhone 和 iPad 开发的 TTS 引...
二维码(QR Code)扫描静态库,扫描效率较高。
RegexKitLite 是一个轻量级的 Objective-C 的正则表...
一款基于ASIHttpReques开源的仿迅雷多线程断点续传功...
实现动态检测网络(wifi)状况,不需要用户手动刷新...
使用iphoneSDK官方NSXMLParserDelegate做的简单xml解...