Re: CALayer -displayLayer:inContext: never called during frame/bounds animation

2013-06-11 Thread Daniele Margutti
On 10 Jun 2013, at 16:50, David Duncan david.dun...@apple.com wrote: The behavior you see is correct. Remember that the model layer (the layer you have) only sees discrete values for an animation – typically the beginning and end values. The intermediate values are generated by the Core

Re: CALayer -displayLayer:inContext: never called during frame/bounds animation

2013-06-10 Thread David Duncan
On Jun 8, 2013, at 6:04 AM, Daniele Margutti m...@danielemargutti.com wrote: Hi guys, I need to animate the frame of a CALayer instance; during the animation I should also update/redraw the content of the layer based upon the new size (frame by frame) of it. I've tried to watch and use

CALayer -displayLayer:inContext: never called during frame/bounds animation

2013-06-08 Thread Daniele Margutti
Hi guys, I need to animate the frame of a CALayer instance; during the animation I should also update/redraw the content of the layer based upon the new size (frame by frame) of it. I've tried to watch and use -displayLayer:inContext: of CALayer (it's a delegate property) but It does not work: