CKComponentDebugController Class Reference

Inherits from NSObject
Declared in CKComponentDebugController.h

Overview

CKComponentDebugController exposes the functionality needed by the lldb helpers to control the debug behavior for components.

+ setDebugMode:

Setting the debug mode enables the injection of debug configuration into the component.

+ (void)setDebugMode:(BOOL)debugMode

Declared In

CKComponentDebugController.h

+ reflowComponents

Components are an immutable construct. Whenever we make changes to the parameters on which the components depended, the changes won’t be reflected in the component hierarchy until we explicitly cause a reflow/update. A reflow essentially rebuilds the component hierarchy and mounts it back on the view.

+ (void)reflowComponents

Discussion

This is particularly used in reflowing the component hierarchy when we set the debug mode.

Declared In

CKComponentDebugController.h