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

Commit 6297fa5

Browse files
committed
[ASTableNode] Minor fix so visibleNodes is in the same position as declaration in ASCollectionNode.
1 parent f7ea4f6 commit 6297fa5

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

AsyncDisplayKit/ASTableNode.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,13 @@ NS_ASSUME_NONNULL_BEGIN
307307
*/
308308
@property (nonatomic, readonly) NSInteger numberOfSections;
309309

310+
/**
311+
* Similar to -visibleCells.
312+
*
313+
* @return an array containing the nodes being displayed on screen. This must be called on the main thread.
314+
*/
315+
@property(readonly, copy) NSArray<__kindof ASCellNode *> *visibleNodes;
316+
310317
/**
311318
* Retrieves the node for the row at the given index path.
312319
*/
@@ -417,13 +424,6 @@ NS_ASSUME_NONNULL_BEGIN
417424
*/
418425
- (NSInteger)tableNode:(ASTableNode *)tableNode numberOfRowsInSection:(NSInteger)section;
419426

420-
/**
421-
* Similar to -visibleCells.
422-
*
423-
* @return an array containing the nodes being displayed on screen. This must be called on the main thread.
424-
*/
425-
@property(readonly, copy) NSArray<__kindof ASCellNode *> *visibleNodes;
426-
427427
/**
428428
* Asks the data source for a block to create a node to represent the row at the given index path.
429429
* The block will be run by the table node concurrently in the background before the row is inserted

0 commit comments

Comments
 (0)