OALCallAction Class Reference
Inherits from | OALAction |
Declared in | OALUtilityActions.h |
Overview
Calls a selector on a target. This action will ignore whatever target it is run against, and will invoke the selector on the target specified at creation time.
Tasks
-
+ actionWithCallTarget:selector:
Create an action.
-
+ actionWithCallTarget:selector:withObject:
Create an action.
-
+ actionWithCallTarget:selector:withObject:withObject:
Create an action.
-
– initWithCallTarget:selector:
Initialize an action.
-
– initWithCallTarget:selector:withObject:
Initialize an action.
-
– initWithCallTarget:selector:withObject:withObject:
Initialize an action.
Class Methods
actionWithCallTarget:selector:
Create an action.
+ (id)actionWithCallTarget:(id)callTarget selector:(SEL)selector
Parameters
- callTarget
The target to call.
- selector
The selector to invoke.
Return Value
A new action.
Declared In
OALUtilityActions.h
actionWithCallTarget:selector:withObject:
Create an action.
+ (id)actionWithCallTarget:(id)callTarget selector:(SEL)selector withObject:(id)object
Parameters
- callTarget
The target to call.
- selector
The selector to invoke.
- object
The object to pass to the selector.
Return Value
A new action.
Declared In
OALUtilityActions.h
actionWithCallTarget:selector:withObject:withObject:
Create an action.
+ (id)actionWithCallTarget:(id)callTarget selector:(SEL)selector withObject:(id)firstObject withObject:(id)secondObject
Parameters
- callTarget
The target to call.
- selector
The selector to invoke.
- firstObject
The first object to pass to the selector.
- secondObject
The second object to pass to the selector.
Return Value
A new action.
Declared In
OALUtilityActions.h
Instance Methods
initWithCallTarget:selector:
Initialize an action.
- (id)initWithCallTarget:(id)callTarget selector:(SEL)selector
Parameters
- callTarget
The target to call.
- selector
The selector to invoke.
Return Value
The initialized action.
Declared In
OALUtilityActions.h
initWithCallTarget:selector:withObject:
Initialize an action.
- (id)initWithCallTarget:(id)callTarget selector:(SEL)selector withObject:(id)object
Parameters
- callTarget
The target to call.
- selector
The selector to invoke.
- object
The object to pass to the selector.
Return Value
Initialize an action.
Declared In
OALUtilityActions.h
initWithCallTarget:selector:withObject:withObject:
Initialize an action.
- (id)initWithCallTarget:(id)callTarget selector:(SEL)selector withObject:(id)firstObject withObject:(id)secondObject
Parameters
- callTarget
The target to call.
- selector
The selector to invoke.
- firstObject
The first object to pass to the selector.
- secondObject
The second object to pass to the selector.
Return Value
The initialized action.
Declared In
OALUtilityActions.h