MichalMMac / installapplications-swiftly

Swift successor to InstallApplications
MIT License
9 stars 1 forks source link

Separate class for downloading DeployItems #5

Open MichalMMac opened 3 years ago

MichalMMac commented 3 years ago

Originally there was single static URLSession.shared object to be used across all DeployItems. This changed with the need to use delegates for the authentication challenges.

Currently every DeployItem object uses its own URLSession to download its file. It might be prudent to revisit idea of dedicated "DownloadManager" class for downloading the DeployItems.

Reasons: