Giter VIP home page Giter VIP logo

nmrangeslider's Introduction

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.

Screenshot

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

License

Copyright 2012 Null Monkey Pty Ltd

Licensed under the MIT License, enjoy!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.