Created
July 3, 2014 23:14
-
-
Save b3ll/72ec2687096794b82cda to your computer and use it in GitHub Desktop.
Revolutionizing YES / NO
This file contains 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
import Cocoa | |
var MAYBE: Bool { | |
get { | |
return Bool(Int(arc4random_uniform(2))) | |
} | |
} | |
var thisIsTotallyAGoodIdea = MAYBE |
Let's file a radar right now to include this.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Incredible code. Why didn't I think of this?