Skip to content

Instantly share code, notes, and snippets.

@rickcnagy
Created July 22, 2013 12:46
Show Gist options
  • Save rickcnagy/6053582 to your computer and use it in GitHub Desktop.
Save rickcnagy/6053582 to your computer and use it in GitHub Desktop.
inline random boolean generator
if (arc4random() % 2) {
// do something
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment