shu223 / PulsingHalo

iOS Component for creating a pulsing animation.
MIT License
1.77k stars 240 forks source link

Not add to my view #46

Closed HFMohammad closed 4 years ago

HFMohammad commented 5 years ago

I use below code but not showing anything

let halo = PulsingHaloLayer()
        halo.position = view.center
        view.layer.addSublayer(halo)
        halo.start()
ChiragCreative1 commented 5 years ago
    halo.backgroundColor = UIColor.red.cgColor

Set color