From f3f92423ad8967c67c579d4a0d6fdd7d451240aa Mon Sep 17 00:00:00 2001 From: Levi McCallum Date: Thu, 10 Mar 2016 19:57:33 -0800 Subject: [PATCH] Use property underscore notation for recursivelyTriggerDisplayAndBlock Now that I understand the notation, finding that we're not using it correctly. --- AsyncDisplayKit/ASDisplayNode.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AsyncDisplayKit/ASDisplayNode.mm b/AsyncDisplayKit/ASDisplayNode.mm index ebedf8aef1..613c37ad2b 100644 --- a/AsyncDisplayKit/ASDisplayNode.mm +++ b/AsyncDisplayKit/ASDisplayNode.mm @@ -219,7 +219,7 @@ static ASDisplayNodeMethodOverrides GetASDisplayNodeMethodOverrides(Class c) renderQueue = [[ASRunLoopQueue alloc] initWithRunLoop:CFRunLoopGetMain() andHandler:^(ASDisplayNode * _Nonnull dequeuedItem, BOOL isQueueDrained) { CFAbsoluteTime timestamp = isQueueDrained ? CFAbsoluteTimeGetCurrent() : 0; - [dequeuedItem __recursivelyTriggerDisplayAndBlock:NO]; + [dequeuedItem _recursivelyTriggerDisplayAndBlock:NO]; if (isQueueDrained) { [[NSNotificationCenter defaultCenter] postNotificationName:ASRenderingEngineDidDisplayScheduledNodesNotification object:nil @@ -1808,7 +1808,7 @@ void recursivelyTriggerDisplayForLayer(CALayer *layer, BOOL shouldBlock) } } -- (void)__recursivelyTriggerDisplayAndBlock:(BOOL)shouldBlock +- (void)_recursivelyTriggerDisplayAndBlock:(BOOL)shouldBlock { ASDisplayNodeAssertMainThread(); @@ -1824,7 +1824,7 @@ void recursivelyTriggerDisplayForLayer(CALayer *layer, BOOL shouldBlock) - (void)recursivelyEnsureDisplaySynchronously:(BOOL)synchronously { - [self __recursivelyTriggerDisplayAndBlock:synchronously]; + [self _recursivelyTriggerDisplayAndBlock:synchronously]; } - (void)setShouldBypassEnsureDisplay:(BOOL)shouldBypassEnsureDisplay