Avoid using the call of web service with iOS/Swift API inside a loop | CAST Appmarq