Re: Canceling and then retrying a bunch of tasks
Re: Canceling and then retrying a bunch of tasks
- Subject: Re: Canceling and then retrying a bunch of tasks
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Wed, 09 Dec 2015 09:29:23 +0000
On 8 Dec 2015, at 22:32, Rick Mann <email@hidden> wrote:
> All because NSURLSession has no mechanism to determine if it's finished with everything.
But it does have that, namely the -URLSession:didBecomeInvalidWithError: delegate callback. You should just have all the failed tasks record that they've failed and have -URLSession:didBecomeInvalidWithError: start tasks for the failed ones.
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden