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 wrote: > Hi, > > I have

Re: CoreAnimation - Resizing sublayers along with superlayer animation

2010-08-20 Thread Eric Wing
On 8/20/10, Ignacio Enriquez wrote: > 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: > self is animated as expected but sublayer textLayer is not resized, it > just chang

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"]; fadeInAnimation.repeatCo