From abd725d8c149b50c1e3989d80ae0106a9cbbb9b0 Mon Sep 17 00:00:00 2001 From: Ethan Nagel Date: Fri, 27 Mar 2015 18:14:05 -0700 Subject: [PATCH] update documentation for reloadData:completion --- AsyncDisplayKit/ASCollectionView.h | 3 ++- AsyncDisplayKit/ASTableView.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/AsyncDisplayKit/ASCollectionView.h b/AsyncDisplayKit/ASCollectionView.h index de9bf0df92..cb5bfd33dc 100644 --- a/AsyncDisplayKit/ASCollectionView.h +++ b/AsyncDisplayKit/ASCollectionView.h @@ -73,7 +73,8 @@ /** * Reload everything from scratch, destroying the working range and all cached nodes. * - * @param completion Block to run on completion or nil. + * @param completion block to run on completion of asynchronous loading or nil. If supplied, the block is run on + * the main thread. * @warning This method is substantially more expensive than UICollectionView's version. */ - (void)reloadDataWithCompletion:(void (^)())completion; diff --git a/AsyncDisplayKit/ASTableView.h b/AsyncDisplayKit/ASTableView.h index 01415b29ca..8b399a01b4 100644 --- a/AsyncDisplayKit/ASTableView.h +++ b/AsyncDisplayKit/ASTableView.h @@ -73,7 +73,8 @@ /** * Reload everything from scratch, destroying the working range and all cached nodes. * - * @param completion Block to run on completion or nil. + * @param completion block to run on completion of asynchronous loading or nil. If supplied, the block is run on + * the main thread. * @warning This method is substantially more expensive than UITableView's version. */ -(void)reloadDataWithCompletion:(void (^)())completion;