shu223 / PulsingHalo

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

Switching colors programatically #6

Open Isuru-Nanayakkara opened 10 years ago

Isuru-Nanayakkara commented 10 years ago

First off, thanks for the simple but cool control.

I was wondering if there's a way to switch the background colors programatically. Say first pulse is blue, the next one is red, then the next is blue again and so on.

Is there a way to accomplish this? Can you give me some suggestions?

If there was a method that fires when a pulse happens, I think this can be done, right?

Many thanks.

ghost commented 9 years ago

I have the same thought. Should be fairly simple to do but don't want to mess with your code unless necessary.

Great work!