Created
October 18, 2013 15:53
-
-
Save 4PixelsDev/7043611 to your computer and use it in GitHub Desktop.
XCode: Slow Down animations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Paste this line in XCode console | |
p [(CALayer *)[[[[UIApplication sharedApplication] windows] objectAtIndex:0] layer] setSpeed:.1f] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.