ObjectiveDDP
ObjectiveDDP copied to clipboard
Why use NSURLConnection and not NSURLSession?
Hello guys, coming here for a question, why use NSURLConnection and not NSURLSession, like apple launch past 2013 NSURLSession they had a lot of advantages.
If it was not something thought this view ok, i would like some talk about, and if you think be something interesting i could create some fork and implement.
Please share and talk here about this possibility :)
Since NSURLConnection is only being used for oauth get request, I don't see the point in changing what is already working. Can you list some of the advantages and any current issues with the implementation?
Actually is more for getting better and improvement, size Apple has a history of deprecate code already is a good idea. For continue improvement lib i believe its good if we could upgrade with new methods.
Thinking in this way, for not right again one of great advantages you could see in this amazing post from objc.io : https://www.objc.io/issues/5-ios7/from-nsurlconnection-to-nsurlsession/
But, sure, its just for getting improvement to the lib and maybe start updating :D