• 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: David Duncan <email@hidden>
  • Date: Mon, 20 Sep 2010 16:07:34 -0700

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: Kenneth Baxter <email@hidden>
References: 
 >Animating a non-standard layer property (From: Kenneth Baxter <email@hidden>)

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