Re: CALayer's delegate prevents implicit animation?
Re: CALayer's delegate prevents implicit animation?
- Subject: Re: CALayer's delegate prevents implicit animation?
- From: Mike Abdullah <email@hidden>
- Date: Thu, 19 Dec 2013 13:45:53 +0000
On 18 Dec 2013, at 20:46, Sean McBride <email@hidden> wrote:
> Wait, what? You're saying a CALayer's delegate can't be its parent NSView? Why? Where does it say that? I've been doing that for years without apparent problem. I'd be interested to hear more…
Layer-backed views operate by the view being delegate of its layer. Thus if you make a view the delegate of any other layers, it may well not be designed to handle that. It will likely assume all delegate messages are from its own layer — rather than another, arbitrary one — and mishandle them.
_______________________________________________
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