Appropriate -setWantsLayer: timing
Appropriate -setWantsLayer: timing
- Subject: Appropriate -setWantsLayer: timing
- From: Keith Duncan <email@hidden>
- Date: Tue, 16 Feb 2010 20:52:56 +0000
I'm wondering when writing a layer hosting view, when the most appropriate time is to set the layer and call -setWantsLayer:YES?
Calling it in -initWithFrame: is too early and the view fails to 'draw'.
Keith
_______________________________________________
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