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 (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 arch...@mail-archive.com

Reply via email to