Skip to content

Instantly share code, notes, and snippets.

@4PixelsDev
Created October 18, 2013 15:53
Show Gist options
  • Save 4PixelsDev/7043611 to your computer and use it in GitHub Desktop.
Save 4PixelsDev/7043611 to your computer and use it in GitHub Desktop.
XCode: Slow Down animations
// Paste this line in XCode console
p [(CALayer *)[[[[UIApplication sharedApplication] windows] objectAtIndex:0] layer] setSpeed:.1f]
@4PixelsDev
Copy link
Author

This is a snippet with which you can toggle animation speed when you're debugging on device.
Just stop application (with pouse or breakpoint) and paste this line into XCode console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment