Yah you can't make the parent view of the layer the delegate. Nasty things can 
happen. One of my interview questions I ask :)

Please excuse mobile typos

> On Dec 18, 2013, at 11:50 AM, Seth Willits <sli...@araelium.com> wrote:
> 
> 
> Oooohhhhhhhh… Yeah, it's an NSView which I imagine is the problem. 
> Documenting this behavior would be very useful.
> 
> My entire app is one view, with zillions of layers in it, so I have the view 
> as the master coordinator for everything. Since it knows about various views 
> and their layout relationships, I set it as the delegate for a few layers 
> because of the access it already has to needed info. 
> 
> It's easy enough to work around this case though.
> 
> 
> --
> Seth Willits
> 
> 
> 
>> On Dec 18, 2013, at 11:13 AM, David Duncan <david.dun...@apple.com> wrote:
>> 
>> What is the identify of your delegate?
>> 
>>> On Dec 18, 2013, at 10:51 AM, Seth Willits <sli...@araelium.com> wrote:
>>> 
>>> Short version:
>>> 
>>> In 10.9 only: My CALayer's delegate doesn't implement **any** delegate 
>>> methods, but because a delegate is set, the layer's position will not 
>>> implicitly animate. If I don't set it, it works fine.
> 
> 
> _______________________________________________
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/cody%40servalsoft.com
> 
> This email sent to c...@servalsoft.com

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to