>
>
> 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?

[self setLayer:[CALayer layer]];
[self setWantsLayer:YES];

It is good to know the difference between a layer-backed and layer-hosting
views. I need to read the Core Animation documentation again. It was one of
the first frameworks I learned, so when I first read it most of it went over
my head.

Thank You,
Bridger Maxwell
_______________________________________________

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