eliotfowler / EFCircularSlider

An extensible circular slider for iOS applications
http://eliotfowler.github.io/EFCircularSlider/
MIT License
998 stars 161 forks source link

Maximum Value and Value per step #32

Open AbidHussainCom opened 9 years ago

AbidHussainCom commented 9 years ago

First of all thanks for such a cool control. I'm using your control in my app for the purpose of time selection. User can select amount of time upto 12 hours. For precision purposes I'm using 0 seconds as min and 43200 sec as max value. Now I'm facing 2 problems:

  1. Every time the I move the handle the value is incremented by 120sec which means a step of 2 mins. I want it to be 60 sec. But i'm able to find the code where i can edit it.
  2. On an analog clock after 11:59 we go to 00:00. That's understandable But unluckily my requirement is that I can go to 12h. But it jumps to 0 after 11:58. if i increment my max value by another 2 mins then it solves the problem but a space can be seen between the fill line ends. Tell me if something is possible for this case.
AbidHussainCom commented 9 years ago

Another suggestion is that plz put initWithCoder: method in your code so that people can use it directly with storyboards or nibs directly.