Closed tejas-ardeshna closed 3 years ago
I want to use pulsator in UICollectionviewCell, the code works fine if I am using in UIViewController, but not working inside cell. or it will start pulsing on other position not under perticular item.
let pulsator = Pulsator() pulsator.numPulse = 10 pulsator.radius = 50 pulsator.animationDuration = 10 pulsator.backgroundColor = UIColor(r: 231, g: 22, b: 70).cgColor imgState.layer.superlayer?.insertSublayer(pulsator, below: imgState.layer) pulsator.start()
I want to use pulsator in UICollectionviewCell, the code works fine if I am using in UIViewController, but not working inside cell. or it will start pulsing on other position not under perticular item.