Understanding CAAction
I have a basic understanding of this protocol but I find the documentation somewhat vague.
My understanding is that you can create an object that adopts the CAAction protocol, and then add this to a layer's actions dictionary.
But then, how do I get this particular object to be returned when a particular event happens? Do I need to use action identifiers here? We're only given three in the Core Animation Programming Guide, are there more?
Apologies for the barrage of questions, I'm just curious to know how useful this might be.
Any help appreciated,
Thanks,
Adam
|