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];
}];
}
Node.js:来一打 C++ 扩展
死月 / 电子工业出版社 / 2018-6-1 / 109
Node.js 作为近几年新兴的一种编程运行时,托 V8 引擎的福,在作为后端服务时有比较高的运行效率,在很多场景下对于我们的日常开发足够用了。不过,它还为开发者开了一个使用C++ 开发 Node.js 原生扩展的口子,让开发者进行项目开发时有了更多的选择。 《Node.js:来一打 C++ 扩展》以 Chrome V8 的知识作为基础,配合 GYP 的一些内容,将教会大家如何使用 Node......一起来看看 《Node.js:来一打 C++ 扩展》 这本书的介绍吧!
