Created
July 1, 2015 17:48
-
-
Save JanGorman/290555b0d3a77c011dc2 to your computer and use it in GitHub Desktop.
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
let opts : [Int?] = [1, nil, 2, nil, nil, 5, | |
nil, 3, 8, 11, 2, 6, nil, 9] | |
// "1 2 5 3 8 11 2 6 9 " | |
for case let x? in opts { | |
print("\(x) ", false) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment