Last active
October 8, 2015 12:58
-
-
Save ivangodfather/efaff3a4d818c1982303 to your computer and use it in GitHub Desktop.
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
| var myVar: Int? | |
| guard (myVar != nil) else { | |
| myVar = 1 //How i can continue here after setting a value? | |
| continue // continue is only allowd inside a loop | |
| } | |
| print(myVar) //i want 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment