On Nov 25, 2009, at 3:49 PM, Philip Vallone wrote:

>       CGContextRef context = UIGraphicsGetCurrentContext();
>       [UIView beginAnimations:@"moveImageDown" context:context];
>       [UIView setAnimationDuration:1.0];
>       [imageView setCenter:CGPointMake(295, 480 / 2  )];
>       [UIView commitAnimations];


Keep in mind that the call to UIGraphicsGetCurrentContext() here is 
superfluous, and likely returning NULL. You can remove it without making any 
change on the behavior of your code.
--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

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 arch...@mail-archive.com

Reply via email to