From 66133f7e98f95880715a058510be96db439e37f6 Mon Sep 17 00:00:00 2001 From: Levi McCallum Date: Thu, 3 Mar 2016 14:56:36 -0800 Subject: [PATCH] Add direct implementation of endUpdatesAnimated to ASCollectionNode --- AsyncDisplayKit/ASCollectionNode.mm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/AsyncDisplayKit/ASCollectionNode.mm b/AsyncDisplayKit/ASCollectionNode.mm index df3d292007..5d0a24f6a2 100644 --- a/AsyncDisplayKit/ASCollectionNode.mm +++ b/AsyncDisplayKit/ASCollectionNode.mm @@ -194,7 +194,12 @@ - (void)endUpdatesAnimated:(BOOL)animated { - [self.view.dataController endUpdatesAnimated:animated completion:nil]; + [self endUpdatesAnimated:animated completion:nil]; +} + +- (void)endUpdatesAnimated:(BOOL)animated completion:(void (^)(BOOL))completion +{ + [self.view.dataController endUpdatesAnimated:animated completion:completion]; } #pragma mark - ASCollectionView Forwards