Range controller registers to rendering engine and extern to full range if needed

This commit is contained in:
Huy Nguyen
2016-02-01 23:42:13 -08:00
parent 1145b6e40e
commit 69e674c1c8
8 changed files with 143 additions and 76 deletions

View File

@@ -29,6 +29,7 @@
#import "ASCellNode.h"
NSInteger const ASDefaultDrawingPriority = ASDefaultTransactionPriority;
NSString * const ASRenderingEngineDidDisplayScheduledNodesNotification = @"ASRenderingEngineDidDisplayScheduledNodes";
@interface _ASDisplayNodePosition : NSObject
@@ -279,6 +280,8 @@ static ASDisplayNodeMethodOverrides GetASDisplayNodeMethodOverrides(Class c)
for (ASDisplayNode *node in displayingNodes) {
[node __recursivelyTriggerDisplayAndBlock:NO];
}
[[NSNotificationCenter defaultCenter] postNotificationName:ASRenderingEngineDidDisplayScheduledNodesNotification
object:nil];
});
}
}