Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Why use NSURLConnection and not NSURLSession? #157

Open
felipeflorencio opened this issue Sep 1, 2015 · 2 comments
Open

Why use NSURLConnection and not NSURLSession? #157

felipeflorencio opened this issue Sep 1, 2015 · 2 comments

Comments

@felipeflorencio
Copy link
Contributor

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 :)

@mikey0000
Copy link
Collaborator

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?

@felipeflorencio
Copy link
Contributor Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants