Re: Animating a non-standard layer property
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:26:49 -0700
I believe this is talked about in one of the WWDC2010 Core Animation in Practice sessions. Lots of good information in both, so I highly recommend watching.
On Sep 20, 2010, at 4: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
>>
--
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