iOS 视图 JTMaterialSpinner
- 授权协议: MIT
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/jonathantribouharet/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];
}];
}
程序员修炼之道(影印版)
Andrew Hunt、David Thomas / 中国电力出版社 / 2003-8-1 / 39.00
本书直击编程陈地,穿过了软件开发中日益增长的规范和技术藩篱,对核心过程进行了审视——即根据需求,创建用户乐于接受的、可工作和易维护的代码。本书包含的内容从个人责任到职业发展,直至保持代码灵活和易于改编重用的架构技术。从本书中将学到防止软件变质、消除复制知识的陷阱、编写灵活、动态和易适应的代码、避免出现相同的设计、用契约、断言和异常对代码进行防护等内容。一起来看看 《程序员修炼之道(影印版)》 这本书的介绍吧!
