VOYouTubeManager
@interface VOYouTubeManager : NSObject <VOYoutubeManagerProtocol>
VOYouTubeManager
is the default implementation of VOYoutubeManagerProtocol
.
It is responsible for requesting and parsing Youtube Videos from Youtube / Google.
-
Default initializer for
VOYouTubeManager
.Declaration
Objective-C
- (nonnull instancetype) initWithNetworkManager:(nonnull id<VONetworkManagerProtocol>)networkManager accessKey:(nonnull NSString *)youtubeAccessKey;
Parameters
networkManager
- Used to send requests to Youtube’s servers.
youtubeAccessKey
- The access key required to successfully request Youtube videos.
Return Value
Instance of
VOYouTubeManager
.