Skip to content

Instantly share code, notes, and snippets.

@shanev
Created July 22, 2008 07:59
Show Gist options
  • Save shanev/709 to your computer and use it in GitHub Desktop.
Save shanev/709 to your computer and use it in GitHub Desktop.
[CATransaction begin];
[CATransaction setValue:[NSNumber numberWithFloat:10.0f]
forKey:kCATransactionAnimationDuration];
theView.layer.opacity = 0.0;
[CATransaction commit];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment