CKComponentActionSendBehavior Constants Reference
Declared in | CKComponentAction.h |
---|
CKComponentActionSendBehavior
A component action is simply a selector. The selector may optionally take one argument: the sending component.
Component actions provide a way for components to communicate to supercomponents using CKComponentActionSend. Since components are in the responder chain, the message will reach its supercomponents.
Definition
typedef NS_ENUM(NSUInteger, CKComponentActionSendBehavior ) {
CKComponentActionSendBehaviorStartAtSenderNextResponder,
CKComponentActionSendBehaviorStartAtSender,
};
Constants
CKComponentActionSendBehaviorStartAtSenderNextResponder
-
Starts searching at the sender’s next responder. Usually this is what you want to prevent infinite loops.
Declared In
CKComponentAction.h
. CKComponentActionSendBehaviorStartAtSender
-
If the sender itself responds to the action, invoke the action on the sender.
Declared In
CKComponentAction.h
.
Declared In
CKComponentAction.h