CKUpdateMode Constants Reference

Declared in CKUpdateMode.h

CKUpdateMode

The update mode is used to inform ComponentKit how to apply changes.

Definition

typedef NS_ENUM(NSInteger, CKUpdateMode ) {
   CKUpdateModeAsynchronous,
   CKUpdateModeSynchronous,
};

Constants

CKUpdateModeAsynchronous

Apply the update off the main thread.

Declared In CKUpdateMode.h.

CKUpdateModeSynchronous

Apply the update on the main thread. The synchronous update mode will not immediately block the executing thread when apply updates. Instead ComponentKit will schedule the update to be performed on the next tick of the main thread’s run loop.

Declared In CKUpdateMode.h.

Declared In

CKUpdateMode.h