On Jul 23, 2009, at 1:15 AM, David Duncan wrote:
On Jul 22, 2009, at 10:05 PM, Randall Meadows wrote:
Any idea why the drawing is screwing up for the 2nd animation? Are
the 2 different methods of animating messing up each other somehow
(even though I've removed the 1st animation)?
This i
On Jul 22, 2009, at 10:05 PM, Randall Meadows wrote:
newBounds.origin.x -= delta/2.0;
newBounds.size.width += delta;
newBounds.origin.y -= delta/2.0;
newBounds.size.height += delta;
BTW, you might want to look up the NSInsetRect() function.
-jcr
___
On Jul 22, 2009, at 10:05 PM, Randall Meadows wrote:
Any idea why the drawing is screwing up for the 2nd animation? Are
the 2 different methods of animating messing up each other somehow
(even though I've removed the 1st animation)?
This is working as expected (for the default case at lea
Probably not the best subject line, but best I could come up with...
I an animating a ball across the screen, using this code:
CABasicAnimation *animation = [CABasicAnimation
animationWithKeyPath:@"position"];
animation.duration = duration;
animation.delegate = self;
animation.timingFunction