自定义slider WLRangeSlider
- 授权协议: 未知
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/wang9262/WLRangeSlider
软件介绍
WLRangeSlider是自定义的slider,具有左右两个滑块,可更改滑块颜色,圆角以及轨迹的颜色和高亮。
示例代码:
WLRangeSlider *rangeSlider = [[WLRangeSlider alloc] initWithFrame:CGRectMake(20, 100, 280, 31)]; [rangeSlider addTarget:self action:@selector(valueChanged:) forControlEvents:UIControlEventValueChanged]; [self.view addSubview: rangeSlider]; //you can change the left/right value,and set different color for track and left/right thumbs,also the cornorRadius of the thumb.like this rangeSlider.trackHighlightTintColor = [UIColor redColor]; rangeSlider.thumbColor = [UIColor greenColor]; rangeSlider.cornorRadiusScale = 0;
从Python开始学编程
Vamei / 电子工业出版社 / 2016-11-24 / CNY 49.00
改编自Vamei博客的《Python快速教程》。本书以Python为样本,不仅介绍了编程的基本概念,还着重讲解编程语言的主流范式:面向过程、面向对象、面向函数。读者不仅可以轻松学会Python,以后再学习其他编程语言时也会更加容易。一起来看看 《从Python开始学编程》 这本书的介绍吧!
