• 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
Moving CALayer and content transition animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Moving CALayer and content transition animation


  • Subject: Moving CALayer and content transition animation
  • From: Markus Spoettl <email@hidden>
  • Date: Thu, 07 Jun 2012 11:14:20 +0200

Hello,

I have a delegate-drawn CALayer which uses a kCATransitionFade content transition animation set in -actionForLayer:forKey: of its delegate.

This works fine if the layer is not moving. When the content changes, the new content simply fades in, the old one fades out.

However, when the layer is moving at the time its content changes, the old content fades out but it remains stationary where the layer was when the transition started. It no longer moves along with the layer position. The new content fades in, moving with the layer.

Is this to be expected? If so, what is the proper way of handling this? Surely there must be something basic I'm missing again.

Thanks for any pointers!

Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________

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: Moving CALayer and content transition animation
      • From: Conrad Shultz <email@hidden>
  • Prev by Date: Re: NSTextView
  • Next by Date: Desktop geometry problem
  • Previous by thread: Re: NSTextView
  • Next by thread: Re: Moving CALayer and content transition animation
  • Index(es):
    • Date
    • Thread