Re: CALayers Lost After Switching Window's ContentView
Re: CALayers Lost After Switching Window's ContentView
- Subject: Re: CALayers Lost After Switching Window's ContentView
- From: Scott Anguish <email@hidden>
- Date: Tue, 17 Feb 2009 01:43:46 -0500
On 16-Feb-09, at 5:37 PM, Bridger Maxwell wrote:
You must
- create a layer
- set it as the layer of the view
- then enable setWantsLayer:
Woah, I had no idea I was doing it wrong for so long. :P Inserting the
following code is all I have to do, right?
well, that is the correct order if you want to do layer-hosting, yes.
If that's all you have to do to make your code work?? uh, outside of
the scope of the snippet you posted. :-)
_______________________________________________
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