Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift infinite while loop

var counter = 0

while true {
    print(" 
    counter += 1

    if counter == 273 {
        break
    }
}
Source by www.hackingwithswift.com #
 
PREVIOUS NEXT
Tagged: #swift #infinite #loop
ADD COMMENT
Topic
Name
3+5 =