Hi there,
Having spend loads of time on this I'm kind of at a dead end... Faced with the need of making a serie of REST calls to get data before displaying it in a UITableViewController. It's a bit hard as the some calls depends on data from some of the prev calls... using the session.dataTaskWithRequest will spawn a new thread, leaving me with little, or no, control. Is there by anychace someone who have ideas on this matter? Reading the doc for the api of NSMutableURLRequest, indicate that one can send more requests or reuse the request object for url loads. Note that in my case I don't know the calls before I start... it depends on my start parameters to the first call.
Just solved it... Got some ideas from this post and rewrote my code