-
Notifications
You must be signed in to change notification settings - Fork 627
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
2,413 additions
and
382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
238 changes: 238 additions & 0 deletions
238
...s/Cassettes/XCDYouTubeClientTestCase/testThatQueryingLiveVideoReturnsPlayableStreams.json
Large diffs are not rendered by default.
Oops, something went wrong.
100 changes: 73 additions & 27 deletions
100
...es/XCDYouTubeClientTestCase/testVideo1ReturnsNoPlayableStreamsBecauseConnectionError.json
Large diffs are not rendered by default.
Oops, something went wrong.
207 changes: 145 additions & 62 deletions
207
...ubeKit Tests/Cassettes/XCDYouTubeClientTestCase/testVideo1ReturnsSomePlayableStreams.json
Large diffs are not rendered by default.
Oops, something went wrong.
164 changes: 110 additions & 54 deletions
164
...lientTestCase/testVideo1ReturnsSomePlayableStreamsEvenIfSomeFailDueToConnectionError.json
Large diffs are not rendered by default.
Oops, something went wrong.
801 changes: 629 additions & 172 deletions
801
...TubeKit Tests/Cassettes/XCDYouTubeClientTestCase/testVideo2ReturnsAllPlayableStreams.json
Large diffs are not rendered by default.
Oops, something went wrong.
737 changes: 737 additions & 0 deletions
737
...ubeKit Tests/Cassettes/XCDYouTubeClientTestCase/testVideo3ReturnsSomePlayableStreams.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// | ||
// XCDURLGetOperation.h | ||
// XCDYouTubeKit | ||
// | ||
// Created by Soneé John on 2/18/20. | ||
// Copyright © 2020 Cédric Luthi. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
__attribute__((visibility("hidden"))) | ||
@interface XCDURLGETOperation : NSOperation | ||
|
||
- (instancetype) initWithURL:(NSURL *)url info:(nullable NSDictionary *)info cookes:(nullable NSArray <NSHTTPCookie *> *)cookies; | ||
|
||
@property (atomic, strong, readonly) NSURL *url; | ||
@property (atomic, copy, readonly, nullable) NSDictionary *info; | ||
@property (atomic, copy, readonly, nullable) NSArray <NSHTTPCookie *> *cookies; | ||
|
||
@property (atomic, readonly, nullable) NSURLResponse *response; | ||
|
||
@property (atomic, readonly, nullable) NSError *error; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
Oops, something went wrong.