diff --git a/AsyncDisplayKit/ASTableView.h b/AsyncDisplayKit/ASTableView.h index 9213a865d7..f390a380e8 100644 --- a/AsyncDisplayKit/ASTableView.h +++ b/AsyncDisplayKit/ASTableView.h @@ -38,8 +38,8 @@ NS_ASSUME_NONNULL_BEGIN /// The corresponding table node, or nil if one does not exist. @property (nonatomic, weak, readonly) ASTableNode *tableNode; -@property (nonatomic, weak) id asyncDelegate; -@property (nonatomic, weak) id asyncDataSource; +@property (nonatomic, weak) id asyncDelegate ASDISPLAYNODE_DEPRECATED_MSG("Use ASTableNode's .delegate property instead."); +@property (nonatomic, weak) id asyncDataSource ASDISPLAYNODE_DEPRECATED_MSG("Use ASTableNode .dataSource property instead."); /** * Retrieves the node for the row at the given index path. diff --git a/AsyncDisplayKit/Private/ASTableView+Undeprecated.h b/AsyncDisplayKit/Private/ASTableView+Undeprecated.h index d45a672601..3af9fd838b 100644 --- a/AsyncDisplayKit/Private/ASTableView+Undeprecated.h +++ b/AsyncDisplayKit/Private/ASTableView+Undeprecated.h @@ -19,6 +19,9 @@ NS_ASSUME_NONNULL_BEGIN */ @interface ASTableView (Undeprecated) +@property (nonatomic, weak) id asyncDelegate; +@property (nonatomic, weak) id asyncDataSource; + /** * Initializer. *