Ios swift – In Swift, how to send network requests upon tap such that each request has a few seconds delay in between?
I have created this simple example to show the issue. I have 4 buttons for upvoting, favouriting, flagging, and hiding. User can tap any button whenever they like and as many times as they want. However, the network request which…