Closed wtimme closed 6 years ago
Just a quick update: The counter seems to work reliably. 👍🏼
I was able to achieve the same using the Alamofire/AlamofireNetworkActivityIndicator, and the network layer is of course more appropriate to keep track of the requests. 😅
In my own app, I've implemented a simple counter that is increased before a request is started, and decreased when the request finished (in the completion closure). It would be great if such functionality was offered by
OverpassAPI
, e. g. in the form of a publicly accessibleWhat do you think, @holyturt? I have no idea whether my approach is the way to go. The last thing that I want is an infinite loading spinner. Is the completion closure of the network request always executed? Your input is highly appreciated!