Re: Core Animation animations stop prematurely at random
Re: Core Animation animations stop prematurely at random
- Subject: Re: Core Animation animations stop prematurely at random
- From: Keith Duncan <email@hidden>
- Date: Tue, 17 May 2011 18:21:25 +0100
> The basic problem comes about when a view in the nib has wantsLayer=NO, but the view itself always wants to be layer backed. If you setWantsLayer:YES inside of -initWithFrame:, then by the time you get to -awakeFromNib wantsLayer=NO again
Would there be any issue with overriding -setWantsLayer: to drop the [view setWantsLayer:NO] invocation, only allowing [view setWantsLayer:YES] to pass through to the NSView implementation?
thanks,
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