On 20-Jul-08, at 7:21 PM, Gordon Apple wrote:

   OK, now that is at least the type of definitive statement I've been
looking for. (I have recently opened a discussion with DTS on some of these issues.) So apparently, there are some things internal that change when you
call "setLayer" besides just the layer?

I can't speak to the specifics, I've not investigated if fully.



I have also figured out (and had confirmed in the archives) that if you want to use layers in a scrollable view, the scroll view (or at least the clip view) better be layer backed. But that implies that the scrollable view will also automatically be layer backed. Apparently, that changes when
you do "setView" on it that makes it layer-hosting?

if a view in a view hierarchy is configured as layer-backed, all subviews are (this is currently only documented in the Animation Overview, Hybrid Apps section... this will be fixed shortly.



Then that raises the question of what happens to the view's layer when you change the frame of the main (scrollable) view? Does it automatically resize? Or should you programatically resize the layer? Or just replace it
using setView again to set it's frame to the new view frame size?

haven't investigated this either.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to