Check out example codes for "swift continue". It will help you in understanding the concepts better.

Code Example 1

for i in 1...3 {
    if i == 2 {
        continue
    }
    else{
      print(i)
    }
}
//output: 1, 3

Learn ReactJs, React Native from akashmittal.com