CKComponentGeneratorDelegate Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | CKComponentGenerator.h |
– componentGeneratorShouldApplyAsynchronousGenerationResult:
required method
This is called on the affined queue before applying result from asynchronous generation.
It gives a chance to discard the result by returning NO.
- (BOOL)componentGeneratorShouldApplyAsynchronousGenerationResult:(CKComponentGenerator *)componentGeneratorDeclared In
CKComponentGenerator.h
– componentGenerator:didAsynchronouslyGenerateComponentResult:
required method
This is called on the affined queue when asynchronous component generation is finished.
- (void)componentGenerator:(CKComponentGenerator *)componentGenerator didAsynchronouslyGenerateComponentResult:(CKBuildComponentResult)resultDeclared In
CKComponentGenerator.h
– componentGenerator:didReceiveComponentStateUpdateWithMode:
required method
This is called on the affined queue when a component state update is received.
You should normally call either generateComponentSynchronously or generateComponentAsynchronously after this delegate method is called.
- (void)componentGenerator:(CKComponentGenerator *)componentGenerator didReceiveComponentStateUpdateWithMode:(CKUpdateMode)modeDeclared In
CKComponentGenerator.h