ITSwitch icon indicating copy to clipboard operation
ITSwitch copied to clipboard

Add option to set checked without animation

Open rinatkhanov opened this issue 9 years ago • 0 comments

I found it useful to be able to set checked property programmatically without triggering animation.

For some reason, I had to wrap even non-animated layer reloads around CATransition with animation duration equal to 0.0, otherwise the animation would still occur. So, the implementation isn't as elegant, but it works. 🚶

rinatkhanov avatar Jun 23 '16 07:06 rinatkhanov