How can I cycle through all states with options in the new Animation API?
I know I can do layer.stateCycle ["stateB", "stateC"], time: 0.5but how can I apply options to layer.stateCycle()?
Tried layer.stateCycle(), time: 0.5 or layer.stateCycle(,time:0.5) to no avail.
Please advise Niels van Hoorn et al.
It's even simpler: layer.stateCycle(time: 0.5) should work
Sweet, works, thanks Niels van Hoorn