Re: CALayer's delegate prevents implicit animation?

2013-12-22 Thread Uli Kusterer
On 18 Dec 2013, at 21:46, Sean McBride s...@rogue-research.com 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… It broke with 10.9 at

Re: CALayer's delegate prevents implicit animation?

2013-12-19 Thread Mike Abdullah
On 18 Dec 2013, at 20:46, Sean McBride s...@rogue-research.com 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

CALayer's delegate prevents implicit animation?

2013-12-18 Thread Seth Willits
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. Longer version: I have a view hosting a very plain root layer, and then this

Re: CALayer's delegate prevents implicit animation?

2013-12-18 Thread David Duncan
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

Re: CALayer's delegate prevents implicit animation?

2013-12-18 Thread Seth Willits
Oooo… 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

Re: CALayer's delegate prevents implicit animation?

2013-12-18 Thread Cody Garvin
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: Oooo… Yeah, it's an NSView which I imagine is the problem.

Re: CALayer's delegate prevents implicit animation?

2013-12-18 Thread Sean McBride
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... Sean On Wed, 18 Dec 2013 12:39:12 -0800, Cody Garvin said: Yah you can't make the parent