[ASDisplayNode] Add Event Tracing to Help Debugging (#2243)

* Add some simple event logging for ASDisplayNode

Improve the tracing

* Add header to copy files phase

* Make event header public
This commit is contained in:
Adlai Holler
2016-09-15 13:24:19 -07:00
committed by GitHub
parent 8459c1e825
commit 25de53bb13
12 changed files with 315 additions and 27 deletions

View File

@@ -121,7 +121,10 @@ FOUNDATION_EXPORT NSString * const ASRenderingEngineDidDisplayNodesScheduledBefo
UIEdgeInsets _hitTestSlop;
NSMutableArray *_subnodes;
NSMutableArray<ASTraceEvent *> *_eventLog;
// The index of the most recent log entry. -1 until first entry.
NSInteger _eventLogHead;
// Main thread only
BOOL _automaticallyManagesSubnodes;
_ASTransitionContext *_pendingLayoutTransitionContext;