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 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? 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? On 7/20/08 4:33 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > If you're using layer-backed views (you set wants layer, but not the > layer) you should only use view drawing code. You should not add > layers to it. In fact, ignore the layers entirely. > > If you're using layer-hosting (you create the layer and set it for the > view, then turn on wants layer) you should only use layer drawing > code. You should ignore the view drawRect: entirely. You should not > add subviews to the hosting view. G. Apple _______________________________________________ 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]