Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSURLConnection is deprecated #34

Open
Quarezz opened this issue Nov 14, 2017 · 2 comments
Open

NSURLConnection is deprecated #34

Quarezz opened this issue Nov 14, 2017 · 2 comments

Comments

@Quarezz
Copy link

Quarezz commented Nov 14, 2017

Could you please consider replacing deprecated NSURLConnection call with NSURLSession? Xcode right now highlights a warning:

.../OKSDK.m:301:22: 'sendAsynchronousRequest:queue:completionHandler:' is deprecated: first deprecated in iOS 9.0 - Use [NSURLSession dataTaskWithRequest:completionHandler:] (see NSURLSession.h
@dmitry-grytsovets
Copy link
Contributor

Could u place a pull request for this?

@Quarezz
Copy link
Author

Quarezz commented Nov 14, 2017

@dgreenru already did: #35

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

No branches or pull requests

2 participants