Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit e338098

Browse files
author
Adlai Holler
authored
Have ASVideoNode override its superclass's designated initializer (#3009)
1 parent 1ec6922 commit e338098

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

AsyncDisplayKit/ASVideoNode.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ @implementation ASVideoNode
9090

9191
#pragma mark - Construction and Layout
9292

93-
- (instancetype)init
93+
- (instancetype)initWithCache:(id<ASImageCacheProtocol>)cache downloader:(id<ASImageDownloaderProtocol>)downloader
9494
{
95-
if (!(self = [super init])) {
95+
if (!(self = [super initWithCache:cache downloader:downloader])) {
9696
return nil;
9797
}
9898

0 commit comments

Comments
 (0)