• 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
What would cause my animation's delegate methods to not be called?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What would cause my animation's delegate methods to not be called?


  • Subject: What would cause my animation's delegate methods to not be called?
  • From: Gideon King <email@hidden>
  • Date: Sat, 25 Sep 2010 12:46:17 +1000

Hi, I have a CALayer subclass with a CGPoint that I am animating using a CABasicAnimation. The layer is one of many sublayers in a layer hosting view.

I set up the animation to point to my layer as the delegate, and use addAnimation:forKey: to add the animation. The animation works fine, but the animationDidStart: and animationDidStop:finished: methods are never called.

I am not setting up an animation group, and it doesn't seem to make any difference whether I use an explicit transaction or not.

Any ideas why the animation delegate methods would not be called?


Thanks

Gideon




_______________________________________________

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: What would cause my animation's delegate methods to not be called?
      • From: Gideon King <email@hidden>
  • Prev by Date: Re: Cocoa Text System - Temporarily Disabling Layout
  • Next by Date: Bindings Question
  • Previous by thread: How do you remove an item from recentDocumentURLs?
  • Next by thread: Re: What would cause my animation's delegate methods to not be called?
  • Index(es):
    • Date
    • Thread