In my class I have several CAKeyframeAnimation objects.
They are all reps
In my animationdeset function, how can I tell where the call is coming from?
Can anyone pass CAKeyfameAnimation similar to an ERIIDAD or something?
Thank you,
T
You set the value for arbitrary key You can use key-value coding for (Keys will not be required to be defined in advance for the CAAnimation object.
For example, you have a key for each CAAnimation object as the following You can set a value for @ "tag":
CAAnimation oneOfYourAnimations = [CA animation animation]; [Oneof your animation Set Value: @ "dropAnimation" for: @ "Tag"]; Later, you can read the value of each object as the following:
[anAnimation valueForKey: @ "tag"]; // If this is the last animation , then @ "drop animation" will return
Comments
Post a Comment