h4v1nfun/ANStepperViewExample

How to set the value of the stepper?

Closed this issue · 1 comments

Hi.

I am using your library with Swift 2 for iOS9.3
I am trying to set the value of the stepper from my controller. Is there a method to do that?
I saw the setValue method but it requires "key" for which the value is set. I am not sure what the key should be to set the stepper value. Can you give me command to set the value of the stepper?

Thx
-Vijay

I guess I found it.
stepper.setValue(3, forKey: "Value")