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

XCDYouTubeKit-master/XCDYouTubeKit/XCDYouTubeVideoOperation.m:112:57: 'initWithRequest:delegate:startImmediately:' is deprecated: first deprecated in iOS 9.0 - Use NSURLSession (see NSURLSession.h) #210

Closed
SatyanarayanaKV opened this issue Nov 18, 2015 · 2 comments

Comments

@SatyanarayanaKV
Copy link

Need help..

@SoneeJohn
Copy link
Collaborator

@SatyanarayanaKV NSURLConnection is deprecated however, it will still work on OS X 10.11 and iOS 9. The author of the library is currently working to migrate XCDYouTubeKit to NSURLSession. You can view this branch:
https://github.com/0xced/XCDYouTubeKit/tree/NSURLSession-diagnostic

@0xced
Copy link
Owner

0xced commented Nov 24, 2015

This is a duplicate of #190 and it will be addressed in the next release.

@0xced 0xced closed this as completed Nov 24, 2015
0xced added a commit that referenced this issue Nov 25, 2015
Version 2.4.0

* Support for tvOS. (#182)
* Replaced deprecated methods and classes: now using `NSURLSession` instead of `NSURLConnection` internally. (#190, #210)
* Support for Objective-C generics where applicable.
* The `XCDYouTubeVideoOperation` class has changed back from a synchronous to an asynchronous operation and can be started on the main thread.
Hesowcharov pushed a commit to Hesowcharov/XCDYouTubeKit that referenced this issue Sep 27, 2023
Version 2.4.0

* Support for tvOS. (0xced#182)
* Replaced deprecated methods and classes: now using `NSURLSession` instead of `NSURLConnection` internally. (0xced#190, 0xced#210)
* Support for Objective-C generics where applicable.
* The `XCDYouTubeVideoOperation` class has changed back from a synchronous to an asynchronous operation and can be started on the main thread.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@0xced @SoneeJohn @SatyanarayanaKV and others