Pulsator
Pulsator copied to clipboard
Missing updateInstanceDelay
I believe that:
open var pulseInterval: TimeInterval = 0
ought to be:
open var pulseInterval: TimeInterval = 0 { didSet { updateInstanceDelay() } }
When starting and then restarting a pulsator, the experience is different on the second and successive runs than the first. Came across this when setting pulseInterval after setting numPulse and animationDuration