Hi everyone.After explore the Core Animation for a while, I found that the
fromValue property of CAAnimation was only set to NSNumber in many samples
and tutorials, although the Apple's document says it accepts the id value.
I am wondering whether I could set this property to NSColor or CGColor
On Jul 11, 2008, at 5:38 AM, Cloud Strife wrote:
I am wondering whether I could set this property to NSColor or
CGColor
inorder to change the layer color dynamically. For example, If I
want to
change a Green layer to a red one from time to time, could anyone
give me a
guidance?