Why doesnt Swift use do-while | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why doesnt Swift use do-while

30th Jul 2016, 12:48 AM
AshBreez450
AshBreez450 - avatar
5 Answers
+ 8
I think it uses. But it is “repeat……while” Same as do while.
30th Jul 2016, 4:03 AM
Yunfan
Yunfan - avatar
+ 3
Repeat while is identical to do while
2nd Aug 2016, 2:55 AM
John Titor
+ 2
Yes, the repeat ... while loop ist the same!
30th Jul 2016, 11:38 PM
Andre Dombrowski
Andre Dombrowski - avatar
+ 1
Thankyou I didn't know that keyword
29th Dec 2016, 6:37 AM
Brandon Del Pozo Rojas
Brandon Del Pozo Rojas - avatar
+ 1
Maybe because Swift isn't C.
7th Jan 2021, 12:12 PM
Sonic
Sonic - avatar