Re: NaN values from presentationLayer

2008-11-24 Thread David Duncan
On Nov 24, 2008, at 6:53 AM, DKJ wrote: I have a UIView myView that I animate by changing its center property. During the animation, this line is called by an NSTimer every 0.1 seconds: CGRect myViewFrame = [[myView.layer presentationLayer] frame]; But sometimes this gives me all N

NaN values from presentationLayer

2008-11-24 Thread DKJ
I have a UIView myView that I animate by changing its center property. During the animation, this line is called by an NSTimer every 0.1 seconds: CGRect myViewFrame = [[myView.layer presentationLayer] frame]; But sometimes this gives me all NaN values in the CGRect, and things go o