项目
在 GitHub 查看
muZZkat/NMRangeSlider
关于
适用于 iOS 的自定义范围滑块
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文NMRangeSlider
NMRangeSlider is custom iOS control that gives you a UISlider like UI for selecting a range of values. This project was inspried by: https://github.com/buildmobile/iosrangeslider.
The range slider can be configured using a set of images in much the same way as UISlider. (Background, Track and Thumbs)
In addition to the regular UISlider features it can:
- Handle stepped values. The handles will snap to points along the slider with a couple different options
- Access to the centre location of handle image. This can be used to arrange subviews.
- (New) Disable lower handle so it behaves like a regular UISlider but still use other features.
- (New) Set a negative min range so the thumbs can cross over. (with custom track image)
- (New) Automatic iOS 7 theme with tint color support
See the demo application for some examples on how the to configure the slider.
TODO
If anyone would like to help here a few things I would like to add:
- Custom images for other control states. UISlider lets the user set different images for any number of UIControlStates.
- Have a designer provide a few more sample graphics.
- Ability to set a tint colour that is applied to the default images (or drawn using CoreGraphics)
Authors
- Murray Hughes (@muzzkat)
License
Copyright 2012 Null Monkey Pty Ltd
Licensed under the MIT License, enjoy!
探索相关项目
加载中…
