I'm making a new app and like most i'll be using lot of APIs to communicate with the server. My question is: Should I be scheduling tasks within a dispatch queue?
For example:
implementing this method, session.dataTask(with: request) with a dispatch queue or a WorkItem?
Is it a good practice to queue the urlsession requests? Does it help?
I'm also potentially looking at doing many uploads, downloads and database syncs other than short-lived api requests, any suggestions?
I'm looking at implementiung a network manager to handle these at a central level and then use the network manager to schedule tasks.