• 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
CALayer vs Layer Backed Views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CALayer vs Layer Backed Views


  • Subject: CALayer vs Layer Backed Views
  • From: "Bertrand Landry-Hetu" <email@hidden>
  • Date: Thu, 1 Nov 2007 02:56:20 -0700

Hi list,

I'm playing around with layers and there are some subtleties I don't
quite get when using layer backed views. I did some animations using
"pure" CALayers as a proof of concept for a view. Along the way I
figured I'd like to have subviews (NSViews) embedded in it and so I
went back to do everything using NSViews that have setWantsLayer set
to yes.

I noticed that if I change the zPosition of the view's layer it does
not animate while it used to when using CALayers only. The position
changes correctly, I'm only missing the animation. Changing the view's
frame using the animator works fine. I'm wondering, is it safe to
change attributes of the layer when the view is in layer backed mode?
If it is not safe, is there a way to change transform of the view ?

Thanks.
_______________________________________________

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

  • Prev by Date: Core Data troubles - not removing objects
  • Next by Date: Re: When should one call unbind:? (in a GC application)
  • Previous by thread: Re: Core Data troubles - not removing objects
  • Next by thread: Re: CALayer vs Layer Backed Views
  • Index(es):
    • Date
    • Thread