CKComponentController() Category Reference
The latest generation of component. This makes sure
self.component is always
referring to the latest generation of component when components are managed by
@property (nonatomic, weak) CKComponent *latestComponent
Provides a thread safe access to underlying component. This should only be used by ComponentKit infra in a very rare case.
- (CKComponent *)threadSafe_component
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 shouldAcquireLockWhenUpdatingComponent