I'm working now on my first really big app to a client. This app will have a server communication and data download/upload.
I want to create a good server communication design at the beginning so i wouldn't have to change it a lot when it hits some problems.
My question is about NSURLSession. As i see it i have 3 options:
1 - Create a serverCommunicator helper class that will managed all of the server traffic
2 - Do all the communication with the server from the viewController itself
3 - Create a helper class only to create the session task, and in the viewController use that task with a completion handler to manage the returned data
What would be the better Design? if there is another option or a helper class you know please let e know..
Thanks,