• 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: Example implementation of NSAnimatablePropertyContainer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Example implementation of NSAnimatablePropertyContainer?
      • From: Kenneth Baxter <email@hidden>
References: 
 >Example implementation of NSAnimatablePropertyContainer? (From: Kenneth Baxter <email@hidden>)

  • Prev by Date: Re: Can't delete file on device
  • Next by Date: Re: How to throttle rate of NSInputStream?
  • Previous by thread: Example implementation of NSAnimatablePropertyContainer?
  • Next by thread: Re: Example implementation of NSAnimatablePropertyContainer?
  • Index(es):
    • Date
    • Thread