• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
any other type of value for the "fromValue" property of CAAnimation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: any other type of value for the "fromValue" property of CAAnimation?
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: delegation strategy
  • Next by Date: Creating MetaPackages using PackageMaker 3 on 10.5
  • Previous by thread: Problem with undo in a secondary nib file
  • Next by thread: Re: any other type of value for the "fromValue" property of CAAnimation?
  • Index(es):
    • Date
    • Thread