Kodeco Forums

Video Tutorial: Networking With NSURLSession Part 5: Threading And Operation Queues

Learn how NSURLSession handles threading and how to control it if necessary.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/3759-networking-with-nsurlsession/lessons/6

Thanks for a great tutorial, I’ve read that we should call the finishTasksAndInvalidate after resuming a task. Not sure I saw it done in the tutorials, do you have a recommendation on calling?

I haven’t seen that recommendation and that method will invalidate the session once all currently pending tasks are complete. I think it has a place, but I don’t think it’s necessary to call any time after resuming a task.

Thanks,
Jerry