Giter Club home page Giter Club logo

Comments (8)

skibadawid avatar skibadawid commented on August 26, 2024 1

@BalestraPatrick yeah updated the pod and it works.

from valuestepper.

BalestraPatrick avatar BalestraPatrick commented on August 26, 2024

Hey! I am going to take a look at this as soon as possible. Let me know if you find the source of the bug before me 😄

from valuestepper.

BalestraPatrick avatar BalestraPatrick commented on August 26, 2024

Are you using the swift2.3 branch or master? The latter works perfectly for me.

from valuestepper.

skibadawid avatar skibadawid commented on August 26, 2024

Had the same issue, though i wasn't using attributes inspector, just programmatically setting the stepper (using pod so I guess its from master). Had code below that caused the issue:

self.stepper.value = 1.0
self.stepper.stepValue = 1.0
self.stepper.minimumValue = 1.0
self.stepper.maximumValue = 50.0

I changed the order of how I was setting up the stepper and it seemed to do the trick:

self.stepper.stepValue = 1.0
self.stepper.minimumValue = 1.0
self.stepper.maximumValue = 50.0
self.stepper.value = 1.0  

So I think you just value after you set the min/max of the stepper.

from valuestepper.

BalestraPatrick avatar BalestraPatrick commented on August 26, 2024

I was able to reproduce the bug. I think with my last commits on master it should be fixed now! I just released a new version on CocoaPods, please let me know if that fixes it for you 👍

from valuestepper.

BalestraPatrick avatar BalestraPatrick commented on August 26, 2024

@skibadawid Were you able to see if this issue is fixed in your case?

from valuestepper.

veluloganathan avatar veluloganathan commented on August 26, 2024

it doesn't work if min value = 1 and current value = 1 which is set in storyboard. It works when i set in code

from valuestepper.

BalestraPatrick avatar BalestraPatrick commented on August 26, 2024

@veluloganathan That's exactly what the example project does. I just checked it and it should work. Are you sure that the max value isn't 1? Please let me know of an example project that shows this behavior.

from valuestepper.

Related Issues (20)

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.