From c9143fb5df027d32336930df4d0078bfa9dd1aec Mon Sep 17 00:00:00 2001 From: Hannah Trosi Date: Thu, 17 Nov 2016 15:18:55 +0900 Subject: [PATCH] tableView only --- AsyncDisplayKit/ASTableView.h | 4 ++-- AsyncDisplayKit/Private/ASTableView+Undeprecated.h | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) 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. *