GMStepper
GMStepper copied to clipboard
Delegate method for "valueDidUpdate:" and "valueShouldUpdate:"
Hi @kapoorsahil are you asking for these delegate methods?
I am not thinking to add delegate. This stepper is a subclass of UIControl and you can use target action.
The target action is not a public method, hence can't be overridden when used via pods. I might be wrong, let me the the correct way to use it.
quantity.addTarget(self, action: #selector(fafa), for: UIControl.Event.valueChanged)
@objc func fafa(){ print("yea") }