Re: Example implementation of NSAnimatablePropertyContainer?
Re: Example implementation of NSAnimatablePropertyContainer?
- Subject: Re: Example implementation of NSAnimatablePropertyContainer?
- From: Gideon King <email@hidden>
- Date: Wed, 28 Mar 2012 08:35:05 +1000
I'd be interested in this too.
In the past, I have created a subclass of NSView and just used the animation capabilities without ever inserting it in a view hierarchy, and that worked, but that was just a quick and dirty hack project - I'd like to know how to do it properly…
Regards
Gideon
On 28/03/2012, at 12:34 AM, Kenneth Baxter wrote:
> I have some objects that I want to use implicit animations for, but they are not views.
>
> I understand that I should be able to implement the NSAnimatablePropertyContainer protocol and it should just work from there.
>
> Unfortunately the documentation seems pretty light on how to implement the protocol yourself, what the animator should return, etc. I have not been able to find any example code to show how you would do this. Is there an example around somewhere?
>
> Thanks
>
> Ken
> _______________________________________________
>
> 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