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 *latestComponentDeclared 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_componentDeclared In
CKComponentControllerInternal.h
shouldAcquireLockWhenUpdatingComponent
This gives us the ability to avoid acquiring lock when threadSafe_component is not needed.
The returned value shouldn’t change over an instance’s lifecycle.
@property (nonatomic, readonly, assign) BOOL shouldAcquireLockWhenUpdatingComponentDeclared In
CKComponentControllerInternal.h