• 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: Animating a non-standard layer property
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Animating a non-standard layer property


  • Subject: Re: Animating a non-standard layer property
  • From: Kenneth Baxter <email@hidden>
  • Date: Mon, 20 Sep 2010 23:24:40 +0000 (GMT)

Brilliant! Works now, thanks David. 

Is there somewhere I can find out more about this? It is not mentioned in the Core Animation Programming Guide (2010-08-12), and I have got two e-books on core animation, and it is not mentioned in either of them.

Thanks

Ken

On 21 Sep, 2010,at 09:07 AM, David Duncan <email@hidden> wrote:

On Sep 20, 2010, at 3:42 PM, Kenneth Baxter wrote:

To see the changes as they are made, in addition to the normal synthesize of the testPoint, I have implemented the setter as follows:


There's your problem. Your not supposed to @synthesize these properties. Unless you let Core Animation define them (by declaring them @dynamic) they cannot be animated and you will see the symptoms you see. In your -drawInContext: method you can then query the property to get the current value.
--
David Duncan

_______________________________________________

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: Animating a non-standard layer property
      • From: Scott Anguish <email@hidden>
    • Re: Animating a non-standard layer property
      • From: David Duncan <email@hidden>
References: 
 >Re: Animating a non-standard layer property (From: David Duncan <email@hidden>)

  • Prev by Date: Re: Animating a non-standard layer property
  • Next by Date: Re: Animating a non-standard layer property
  • Previous by thread: Re: Animating a non-standard layer property
  • Next by thread: Re: Animating a non-standard layer property
  • Index(es):
    • Date
    • Thread