diff --git a/Source/IGListAdapter.h b/Source/IGListAdapter.h index 79f50eec..5e4f76c3 100644 --- a/Source/IGListAdapter.h +++ b/Source/IGListAdapter.h @@ -103,14 +103,14 @@ IGLK_SUBCLASSING_RESTRICTED - (void)performUpdatesAnimated:(BOOL)animated completion:(nullable IGListUpdaterCompletion)completion; /** - Perform an immediate reload of the data in the data source, discarding the old objectss. + Perform an immediate reload of the data in the data source, discarding the old objects. @param completion A block executed when the reload completes. */ - (void)reloadDataWithCompletion:(nullable IGListUpdaterCompletion)completion; /** - Reload the infra for specific objectss only. + Reload the infra for specific objects only. @param objects The objects to reload. */ diff --git a/Source/IGListAdapter.m b/Source/IGListAdapter.m index cb9524b2..05610204 100644 --- a/Source/IGListAdapter.m +++ b/Source/IGListAdapter.m @@ -248,8 +248,8 @@ if (dataSource == nil || collectionView == nil) { if (completion) { completion(NO); - return; } + return; } NSArray *newItems = [[dataSource objectsForListAdapter:self] copy];