iOS-Hyperspace icon indicating copy to clipboard operation
iOS-Hyperspace copied to clipboard

Show a progress indicator for downloads

Open earlgaspard opened this issue 4 years ago • 2 comments

Have a way for Hyperspace to show a progress indicator or inform about current progress status. Not sure if this is already in there.

earlgaspard avatar Mar 12 '20 21:03 earlgaspard

I think this can currently be achieved by manually observing the URLSessionDelegate protocol and then injecting the corresponding URLSession into the Hyperspace NetworkService object that's used to execute requests. See this article for more information.

However, I do agree that we should look into adding this functionality to Hyperspace so that you can track progress if you just use the defaults.

tylermilner avatar Mar 13 '20 19:03 tylermilner

This may be simpler to add if/when we fully adopt structured concurrency (#159) using URLSessionTaskDelegate (https://developer.apple.com/documentation/foundation/urlsessiontaskdelegate).

wmcginty avatar May 23 '22 23:05 wmcginty