• 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
Non Linear CAAnimation of properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Non Linear CAAnimation of properties


  • Subject: Non Linear CAAnimation of properties
  • From: "Bertrand Landry-Hetu" <email@hidden>
  • Date: Mon, 19 Nov 2007 18:42:30 -0800

Hi List,

I'm trying to animate X and Z on a curve (rotating image a bit like
front row does). I can get the position correctly and have it linearly
animated from one position to the other, but i'd rather have it curve
a bit before since it would feel more natural than a straight line.

I thought the easiest way would be to use CAKeyframeAnimation and give
it a CGPath to follow. But it feels like that only works for animating
the position attribute or at least only for CGPoint attributes. Is
that the case ?

So I tried creating my own CGPoint and have it set the position and
zPosition. But my new attribute does not get animated. Not even the
default basic animation. What needs to be done for a property of a
subclass of CALayer to be animatable ?

Thanks.
Bertrand.
_______________________________________________

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: Non Linear CAAnimation of properties
      • From: Bill Dudney <email@hidden>
  • Prev by Date: Xcode 3, problem creating Core Data UI via drag and drop
  • Next by Date: Re: Distributed Objects & Leopard
  • Previous by thread: Re: Xcode 3, problem creating Core Data UI via drag and drop
  • Next by thread: Re: Non Linear CAAnimation of properties
  • Index(es):
    • Date
    • Thread