How to write a do while loop in swift ?

We can use repeat-while which is equivalent to do-while loop in swift. Here the single passthrough will happens first after that condition will be verified