I need to add delay between the execution of two lines in a(same) function. Is there is any favorable options to do this?
Note: I don\'t need two di
[checked 27 Nov 2020 and confirmed to be still accurate with Xcode 12.1]
The most convenient way these days: Xcode provides a code snippet to do this where you just have to enter the delay value and the code you wish to run after the delay.
+
button at the top right of Xcode.after