CKSystraceListener Protocol Reference

Conforms to NSObject
Declared in CKAnalyticsListener.h

Overview

This protocol is being used by the infrastructure to collect data of the components' life cycles.

Will be used only when systrace is enabled.

– willBuildComponent: required method

Called before/after building a scoped component.

- (void)willBuildComponent:(Class)componentClass

Discussion

Will be called only when systrace is enabled.

Declared In

CKAnalyticsListener.h

– willMountComponent: required method

Called before/after mounting a component.

- (void)willMountComponent:(CKComponent *)component

Discussion

Will be called only when systrace is enabled.

Declared In

CKAnalyticsListener.h

– willLayoutComponent: required method

Called before/after layout a component.

- (void)willLayoutComponent:(CKComponent *)component

Discussion

Will be called only when systrace is enabled.

Declared In

CKAnalyticsListener.h

– willCheckShouldComponentUpdate: required method

Called before/after evaluating a component should be updated or not.

- (void)willCheckShouldComponentUpdate:(CKComponent *)component

Discussion

Will be called only when systrace is enabled.

Declared In

CKAnalyticsListener.h

– willBlockThreadOnGeneratingItemLayout required method

Called before/after we block on the main thread because we’re not yet finished generating the component on a background thread.

- (void)willBlockThreadOnGeneratingItemLayout

Declared In

CKAnalyticsListener.h