Re: CoreAnimation - Resizing sublayers along with superlayer animation

2010-08-21 Thread Ahsan Shafiq
Hi You can use scale, but if you also want to detect touches on these layers you have to update the model as well which is nearly impossible to do if you are doing scalling. But apart from this scaling will work just fine. On Fri, Aug 20, 2010 at 3:54 AM, Ignacio Enriquez nach...@gmail.com wrote:

CoreAnimation - Resizing sublayers along with superlayer animation

2010-08-20 Thread Ignacio Enriquez
Hi, I have a subclass of CALayer (below self) and it has a sublayer (textLayer). I want self to be shrank and enlarges, so I created animations like the following: CABasicAnimation *fadeInAnimation; fadeInAnimation=[CABasicAnimation animationWithKeyPath:@opacity];