Skip to content

Instantly share code, notes, and snippets.

@danielmorrisdesign
Created March 4, 2016 10:34
Show Gist options
  • Save danielmorrisdesign/4cbe8cd6c8a962364984 to your computer and use it in GitHub Desktop.
Save danielmorrisdesign/4cbe8cd6c8a962364984 to your computer and use it in GitHub Desktop.
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
if NSProcessInfo.processInfo().environment[“animations”] == “0” {
UIView.setAnimationsEnabled(false)
}
...
return true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment