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];
}];
}
Python高性能编程
【美】 戈雷利克 (Micha Gorelick)、【美】 欧日沃尔德(Ian Ozsvald) / 人民邮电出版社 / 2017-7-1 / 79
本书共有12章,围绕如何进行代码优化和加快实际应用的运行速度进行详细讲解。本书主要包含以下主题:计算机内部结构的背景知识、列表和元组、字典和集合、迭代器和生成器、矩阵和矢量计算、并发、集群和工作队列等。最后,通过一系列真实案例展现了在应用场景中需要注意的问题。 本书适合初级和中级Python程序员、有一定Python语言基础想要得到进阶和提高的读者阅读。一起来看看 《Python高性能编程》 这本书的介绍吧!
