Comments (8)
@BalestraPatrick yeah updated the pod and it works.
from valuestepper.
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.
Are you using the swift2.3
branch or master
? The latter works perfectly for me.
from valuestepper.
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.
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.
@skibadawid Were you able to see if this issue is fixed in your case?
from valuestepper.
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.
@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)
- Add `NSNumberFormatter` property for value formatting HOT 1
- changing tint color of stepper doesn't update the decrease/increate layer (- / +) HOT 6
- issue where stepper is in tableViewCell and tableView and press on +/- while scrolling and autorepeat is true
- Change font/font size HOT 3
- Build Error - Shared is unavailable HOT 4
- IBDesignable error HOT 1
- No number appears in the center label HOT 4
- Dependency "ValueStepper" has no shared framework schemes HOT 1
- Not able to get tag for Decrement Button. HOT 3
- Bug in labelPressed function HOT 1
- Support for Swift 4.2 HOT 3
- SPM support
- Not able to increase decrease the font size of value..
- Error on compilation HOT 1
- Multiple ValueStepper Used in CollectionView keeps calling target function
- 'shared' is unavailable in application extensions for iOS
- INCREMENT / DECREMENT HOT 1
- Don't return early from increase/decrease functions when auto repeat is enabled HOT 2
- swift 2.3 support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from valuestepper.