Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Swift
swift continue
user183590
Programming language:
Swift
2021-03-22 21:55:53
0
Q:
swift continue
Ryan
Code:
Swift
2021-08-01 14:17:09
for i in 1...3 { if i == 2 { continue } else{ print(i) } } //output: 1, 3
1
Tags
con
Related
while loop swift
swift completion handler
round up swift
swift dismiss keyboard on return
swift code
foreach swift
swift quit app
loop backwards swift
perform segue swift
round down swift
disable dark mode swift
swift VStack
swift how to wait in a loop
swift switch
swift wait 5 seconds
switch statements swift
prevent iphone to sleep swift
swift try catch
swift set keyboard next functionality
New to Communities?
Join the community