Group Group Group Group Group Group Group Group Group

How to make parallel background NSURLSession datatasks?

Hello guys! I need to download few jsons but one of them are too big for default session configuration and can’t be loaded fully by it. So i want to achieve it with parallel background nsurlsessions but i don’t know how to implement it. Anyone did something similar before? Tried to google it but did not found anything helpful.

Hi @observerward,
Have you looked at NSOperationQueue (I guess it might now be simply OperationQueue)

cheers,

Yeah. I need parallel download and wait until they all done to save all data at once. NSOperationQueue does not allow to wait other threads.