Re: CALayer containing a view
Re: CALayer containing a view
- Subject: Re: CALayer containing a view
- From: Kenneth Ballenegger <email@hidden>
- Date: Sat, 29 Nov 2008 19:27:00 +0200
Wow, your email just made me realize that all I needed was this:
[myLayer addSublayer:[gameScreenView layer]];
I never thought it would be this easy! Thanks for the enlightenment. :)
I thought that this would only work to add CA content of a CA-backed
view, and not subviews, but it seems I was wrong.
-Ken
---
Kenneth Ballenegger
www.seoxys.com
kenneth.ballenegger.com
email@hidden
Azure Talon Software
www.azuretalon.com
email@hidden
On 29 Nov 2008, at 5:53 PM, David Duncan wrote:
It sounds like you just want to set that your root view wants to be
layer backed. You shouldn't have to do anything special for that,
just call -setWantsLayer:YES in the view at the root of the hierarchy.
_______________________________________________
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