From 89a0a25347511feeea78b924fb3490847e29e9c7 Mon Sep 17 00:00:00 2001 From: Nadine Salter Date: Tue, 16 Dec 2014 14:00:01 -0800 Subject: [PATCH] Remove CATransaction hack. ASRangeController previously enqueued display of individual nodes by adding their views to the hierarchy, wrapping each `-addSubview:` call in an explicit CATransaction to force displays to occur in order. This hack is no longer necessary -- kill it. --- AsyncDisplayKit/Details/ASRangeController.mm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/AsyncDisplayKit/Details/ASRangeController.mm b/AsyncDisplayKit/Details/ASRangeController.mm index e147d93381..d31fabfeab 100644 --- a/AsyncDisplayKit/Details/ASRangeController.mm +++ b/AsyncDisplayKit/Details/ASRangeController.mm @@ -121,12 +121,7 @@ ASDisplayNodeAssertMainThread(); ASDisplayNodeAssert(node && view, @"invalid argument, did you mean -removeNodeFromWorkingRange:?"); - // use an explicit transaction to force CoreAnimation to display nodes in the order they are added. - [CATransaction begin]; - [view addSubview:node.view]; - - [CATransaction commit]; } #pragma mark -