You can see when , which can provide what you need and will be covered here .
Use a loop to put your promises in an array, and then do something like this:
when(fulfilled: promiseArray).then { results in // Do something }.catch { error in // Handle error }
source share