Created
September 10, 2016 22:20
-
-
Save lizixroy/8119f55cb208560f2c237ce2f3add763 to your computer and use it in GitHub Desktop.
usage
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
func testMeToo() { | |
var optional: Bool? | |
let value = uw(optional) // instead of using "let value = optional!" | |
XCTAssertTrue(value) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment