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 off the rails.

What might be causing this? Is it some kind of "between frames" condition in the animation?

dkj
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to