• 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: Scott Anguish <email@hidden>
  • Date: Tue, 21 Sep 2010 23:52:21 -0400

can you please file a bug on this?

custom animations are missing at the moment (sadly) but adding that and the @dynamic would be a very useful bug.


On Sep 20, 2010, at 7:24 PM, Kenneth Baxter wrote:

> 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

_______________________________________________

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

  • Prev by Date: NSTextView
  • Next by Date: Instance an from an NSString Class name
  • Previous by thread: Re: Animating a non-standard layer property
  • Next by thread: Re: Animating a non-standard layer property
  • Index(es):
    • Date
    • Thread