CKAsyncLayerDisplayMode Constants Reference

Declared in CKAsyncLayer.h

CKAsyncLayerDisplayMode

Definition

typedef NS_ENUM(NSUInteger, CKAsyncLayerDisplayMode ) {
   CKAsyncLayerDisplayModeDefault,
   CKAsyncLayerDisplayModeAlwaysAsync,
   CKAsyncLayerDisplayModeAlwaysSync,
};

Constants

CKAsyncLayerDisplayModeDefault

Crawls up superlayers. If an async transaction container layer is found, renders async; otherwise, sync.

Declared In CKAsyncLayer.h.

CKAsyncLayerDisplayModeAlwaysAsync

Always renders async, even if no parent async transaction container layer is found.

Declared In CKAsyncLayer.h.

CKAsyncLayerDisplayModeAlwaysSync

Always render synchronously. This skips crawling superlayers to find a container, which may improve perf.

Declared In CKAsyncLayer.h.