Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions AsyncDisplayKit/ASViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@

NS_ASSUME_NONNULL_BEGIN

@interface ASViewController : UIViewController
@interface ASViewController<__covariant DisplayNodeType : ASDisplayNode *> : UIViewController

- (instancetype)initWithNode:(ASDisplayNode *)node NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithNode:(DisplayNodeType)node NS_DESIGNATED_INITIALIZER;

@property (nonatomic, strong, readonly) ASDisplayNode *node;
@property (nonatomic, strong, readonly) DisplayNodeType node;

/**
* @abstract Passthrough property to the the .interfaceState of the node.
Expand Down