Created
March 22, 2016 00:23
-
-
Save scotteg/ef431ab2916132a53a58 to your computer and use it in GitHub Desktop.
Using Labels, from Swift 2 Essential Training ://www.lynda.com/Swift-tutorials/Using-labels/422096/447960-4.html
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
// From Swift 2 Essential Training http://www.lynda.com/Swift-tutorials/Using-labels/422096/447960-4.html | |
var i = 0 | |
let hello = "Hello, playground!" | |
start: do { | |
i++ | |
do { | |
print(hello) | |
if i < 3 { | |
continue start | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment