Open antonkashpor opened 7 years ago
Hello,
I have faced to an issue. After initializing the Pulsator it doesn't stops animation.
Here some example: private func setupPulsator() { pulsator.radius = imageButton.bounds.width - 30 pulsator.numPulse = 3 pulsator.position = imageButton.center imageButton.layer.superlayer?.insertSublayer(pulsator, below: imageButton.layer) pulsator.start() }
private func setupPulsator() { pulsator.radius = imageButton.bounds.width - 30 pulsator.numPulse = 3 pulsator.position = imageButton.center imageButton.layer.superlayer?.insertSublayer(pulsator, below: imageButton.layer) pulsator.start() }
And then pulsator.stop() doesn't work.
Where is my mistake?
Thank you
Hello,
I have faced to an issue. After initializing the Pulsator it doesn't stops animation.
Here some example:
private func setupPulsator() { pulsator.radius = imageButton.bounds.width - 30 pulsator.numPulse = 3 pulsator.position = imageButton.center imageButton.layer.superlayer?.insertSublayer(pulsator, below: imageButton.layer) pulsator.start() }
And then pulsator.stop() doesn't work.
Where is my mistake?
Thank you