any other type of value for the "fromValue" property of CAAnimation?
any other type of value for the "fromValue" property of CAAnimation?
- Subject: any other type of value for the "fromValue" property of CAAnimation?
- From: "Cloud Strife" <email@hidden>
- Date: Fri, 11 Jul 2008 20:38:46 +0800
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
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?
Thank you very much for any help.
--
Best regards.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden