This repository has been archived by the owner on Aug 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
How to use URLSession's Progress #230
Comments
Hm, that’s exactly how we’re doing it in several projects. I’ll look into it, thanks as always! Can you provide any additional information about how you’re calling the code you pasted, like through |
Adding a test case for this, seems legitimate. |
zwaldowski
added a commit
that referenced
this issue
May 12, 2018
zwaldowski
added a commit
that referenced
this issue
May 12, 2018
zwaldowski
added a commit
that referenced
this issue
May 12, 2018
Thanks a lot @zwaldowski !!! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Maybe this is more of a
Progress
question instead ofDeferred
's, but here it is anyways:Is there a way to pass the progress of a
URLSessionTask
as the progress to create aTask
?Executing the following code launches an exception:
2018-05-09 13:08:35.030826+0200 xctest[74737:3872356] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSProgress addChild:withPendingUnitCount:]: NSProgress 0x7fbc49824650 was already the child of another progress 0x7fbc49915bc0'
The text was updated successfully, but these errors were encountered: