CKComponentController() Category Reference

Declared in CKComponentControllerInternal.h

  latestComponent

The latest generation of component. This makes sure self.component is always referring to the latest generation of component when components are managed by CKDataSource.

@property (nonatomic, weak) CKComponent *latestComponent

Declared In

CKComponentControllerInternal.h

– threadSafe_component

Provides a thread safe access to underlying component. This should only be used by ComponentKit infra in a very rare case.

- (CKComponent *)threadSafe_component

Declared In

CKComponentControllerInternal.h

+ shouldAcquireLockWhenUpdatingComponent

This gives us the ability to avoid acquiring lock when threadSafe_component is not needed.

+ (BOOL)shouldAcquireLockWhenUpdatingComponent

Declared In

CKComponentControllerInternal.h