Questions tagged [uistepper]

A UIStepper control provides a user interface for incrementing or decrementing a value.

A UIStepper displays two buttons, one with a minus ("–") symbol and one with a plus ("+") symbol. The bounding rectangle for a stepper matches that of a UISwitch object.

If you set stepper behavior to autorepeat (which is the default), pressing and holding one of its buttons increments or decrements the stepper’s value repeatedly. The rate of change depends on how long the user continues pressing the control.

Apple Documentation

224 questions
3
votes
2 answers

UIStepper swallows the touch

I'm using an UIStepper to change a value that is displayed in a UITextField, with the option of being editable entering the value in the UITextField. Everything works fine, but there is a undesired behavior: the UITextField can only be edited…
WokeR
  • 31
  • 1
2
votes
2 answers

Modify UIStepper autorepeat behaviour

I have a client who wants me to modify a UIStepper's autorepeat behaviour. If the user selects touches and holds say the + button of the stepper, the value of the stepper starts increasing at a rate of 1 every half second or so, and then after about…
Darren
  • 10,091
  • 18
  • 65
  • 108
2
votes
2 answers

UIStepper in uitableviewcell

In my app I have custom UITableViewCell, and I have UIStepper and UILabel in the custom cell. I don't know how to check which stepper was clicked. So is it a way to know from which cell stepper was clicked? - (UITableViewCell…
Dmitriy Kalachniuk
  • 372
  • 1
  • 6
  • 25
2
votes
2 answers

Is there a way to programmatically change the value of a UIStepper based on a calculation?

Let's say I have 3 UISteppers. When I change the value of one, the values of the other steppers change based on a formula. Stepper one value is 10. Stepper two value is 5. Stepper three value is 3. If I change stepper 10 +/- 1, it might change the…
Paul S.
  • 1,342
  • 4
  • 22
  • 43
2
votes
1 answer

How create an arrow-tab-like design in flutter

anyone who knows how to do a design like this when clicking the first arrow, one screen appears and after completing that screen the tab color changes to green , then clicking on the second arrow second screen appears , then after clicking on third…
2
votes
2 answers

CSS Stepper - LI After overlaying LI Before

I'm using some code found at codepen with a Stepper Control. I'm not vey skilled with CSS and I'm having an issue not presented in codepen, so I assume is another CSS class defined in a very long stylesheet that is shared with other team mates. The…
Ruben
  • 114
  • 12
2
votes
3 answers

SwiftUI: stepper with animated bar

I would like to create a stepper component with an animated bar. Here is the result I get: The idea is that the bar should always be centered, and also I would like to animate the blue bar when the value changes, but I can't get it working. Here is…
Another Dude
  • 1,204
  • 4
  • 15
  • 33
2
votes
0 answers

Stepper not fully showing step upon tapping

Whenever i tap the steps starting from nationalities and below as shown in the gif they act as follows.. i want to allow my stepper to scroll up or down to fully show every step tapped. Tried keeping only the listview without the formblocklistener…
SCodes
  • 41
  • 3
2
votes
3 answers

Angular 7 - Stepper component working with routing

I need an checked solution of Stepper component for Angular 7, that works with Angular routing. Not a Material Design Stepper - it does work well for simple forms, but not routing. What I tried to do, with , was something…
Wojciech X
  • 285
  • 1
  • 3
  • 15
2
votes
2 answers

why my stepper does't give the correct value when I tap the increment button?

I am using kw stepper pod, since it is customizable. I can separate the increment button, decrement button and using my own label. but the behaviour should be the same as UIStepper that is what it looks like, it consists of 1 increment button, 1…
Alexa289
  • 8,089
  • 10
  • 74
  • 178
2
votes
1 answer

Change Stepper width / height from storyboard Xcode

Is there a way we can change the stepper width / height from storyboard? Must I do it through the programmatic approach?
Bruce
  • 21
  • 3
2
votes
4 answers

Increment Label Value with UIStepper in UITableViewCell

I want to be able to use a UIStepper that is located in each tableview row. I would like each UIStepper to update a label in the same tableview row that the UIStepper is in. The code that I am trying is as follows func tableView(_ tableView:…
Jobins John
  • 1,265
  • 23
  • 45
2
votes
2 answers

Xcode, Swift - Get row Index of a button whiting a tableViewCell when its clicked

I am developing an app using Xcode in Swift. Briefly I have a tableViewController that houses many cells. There is a button in every cell (A stepper to be exact). My question is, how can I get the index of the cell which houses the stepper every…
2
votes
1 answer

Using a stepper in a table view cell - but the data returning to the VC is not updating correctly

I am trying to create a configuration screen so that a user can set up the number of workouts he or she wants to do. I managed to add a tableview to a blank view controller but there were some stylistic limitation - such as expanding and collapsing…
Sonera
  • 23
  • 3
2
votes
0 answers

UITableView with UIStepper change 2 diffent cells

I have a problem controlling UIStepper in a UITableView with custom cell. When I change one UITextField.text with stepper in (row=0) it works fine, the problem is the textfield in the row=9 change too. The same happen with row=1 and row=10, etc. I…
jopyesk
  • 111
  • 1
  • 5
1
2
3
14 15