• 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
Re: What is the default time for a CALayer transform?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the default time for a CALayer transform?


  • Subject: Re: What is the default time for a CALayer transform?
  • From: Gustavo Pizano <email@hidden>
  • Date: Tue, 16 Dec 2008 16:59:49 +0100

Yes it was CABasicAnimation.

Dimitri made just a typing mistake.

Gustavo


On 16.12.2008, at 16:34, Klaus Backert wrote:


On 16.12.2008, at 15:27, Gustavo Pizano wrote:

Hello Dimitri.

CAAnimation* rotateAnimation = [CABasicAnimation animationWithKeyPath:@"transform"];
rotateAnimation.fromValue = [NSValue valueWithCATransform3D:nLayer.transform];
rotateAnimation.toValue = [NSValue valueWithCATransform3D:transform];

its gives me an error, Error request for member "fromValue" in something not a structure or union.
shouldn't it be CABasicAnimation which has the fromValue and toValue properties.?

CAAnimation inherits from NSObject and doesn't have fromValue and toValue properties, but CABasicAnimation has (which is derived from CAPropertyAnimation, which is derived from CAAnimation).


This would be a good time reading the documentation, I think ;-)

Klaus


_______________________________________________

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


References: 
 >What is the default time for a CALayer transform? (From: Gustavo Pizano <email@hidden>)
 >Re: What is the default time for a CALayer transform? (From: Dimitri Bouniol <email@hidden>)
 >Re: What is the default time for a CALayer transform? (From: Gustavo Pizano <email@hidden>)
 >Re: What is the default time for a CALayer transform? (From: Dimitri Bouniol <email@hidden>)
 >Re: What is the default time for a CALayer transform? (From: Gustavo Pizano <email@hidden>)
 >Re: What is the default time for a CALayer transform? (From: Klaus Backert <email@hidden>)

  • Prev by Date: Re: How to make NSURLConnection send delegate messages during runModalForWindow
  • Next by Date: Re: Where is the Computer Image ?
  • Previous by thread: Re: What is the default time for a CALayer transform?
  • Next by thread: How to find nearest food courts in iPhone
  • Index(es):
    • Date
    • Thread