Calls a selector on a target. More...
#import <OALUtilityActions.h>
Instance Methods | |
(id) | - initWithCallTarget:selector: |
Initialize an action. More... | |
(id) | - initWithCallTarget:selector:withObject: |
Initialize an action. More... | |
(id) | - initWithCallTarget:selector:withObject:withObject: |
Initialize an action. More... | |
Instance Methods inherited from OALAction | |
(id) | - initWithDuration: |
Initialize an action. More... | |
(void) | - runWithTarget: |
Run this action on a target. More... | |
(void) | - prepareWithTarget: |
Called by runWithTraget to do any final preparations before running. More... | |
(void) | - startAction |
Called by runWithTarget to start the action running. More... | |
(void) | - updateCompletion: |
Called by OALActionManager to update this action's progress. More... | |
(void) | - stopAction |
Stop this action. More... | |
Class Methods | |
(id) | + actionWithCallTarget:selector: |
Create an action. More... | |
(id) | + actionWithCallTarget:selector:withObject: |
Create an action. More... | |
(id) | + actionWithCallTarget:selector:withObject:withObject: |
Create an action. More... | |
Protected Attributes | |
id | callTarget_ |
The target to call the selector on. More... | |
SEL | selector_ |
The selector to invoke. More... | |
int | numObjects_ |
The number of parameters which will be passed to the selector. More... | |
id | object1_ |
The first object to pass to the selector, if any. More... | |
id | object2_ |
The second object to pass to the selector, if any. More... | |
Protected Attributes inherited from OALAction | |
bool | runningInManager_ |
If TRUE, this action is running via OALActionManager. More... | |
Additional Inherited Members | |
Properties inherited from OALAction | |
id | target |
The target to perform the action on. More... | |
float | duration |
The duration of the action, in seconds. More... | |
float | elapsed |
The amount of time that has elapsed for this action, in seconds. More... | |
bool | running |
If true, the action is currently running. More... | |
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.
+ (id) actionWithCallTarget: | (id) | callTarget | |
selector: | (SEL) | selector | |
Create an action.
callTarget | The target to call. |
selector | The selector to invoke. |
+ (id) actionWithCallTarget: | (id) | callTarget | |
selector: | (SEL) | selector | |
withObject: | (id) | object | |
Create an action.
callTarget | The target to call. |
selector | The selector to invoke. |
object | The object to pass to the selector. |
+ (id) actionWithCallTarget: | (id) | callTarget | |
selector: | (SEL) | selector | |
withObject: | (id) | firstObject | |
withObject: | (id) | secondObject | |
Create an action.
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. |
- (id) initWithCallTarget: | (id) | callTarget | |
selector: | (SEL) | selector | |
Initialize an action.
callTarget | The target to call. |
selector | The selector to invoke. |
- (id) initWithCallTarget: | (id) | callTarget | |
selector: | (SEL) | selector | |
withObject: | (id) | object | |
Initialize an action.
callTarget | The target to call. |
selector | The selector to invoke. |
object | The object to pass to the selector. |
- (id) initWithCallTarget: | (id) | callTarget | |
selector: | (SEL) | selector | |
withObject: | (id) | firstObject | |
withObject: | (id) | secondObject | |
Initialize an action.
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. |
|
protected |
The target to call the selector on.
|
protected |
The number of parameters which will be passed to the selector.
|
protected |
The first object to pass to the selector, if any.
|
protected |
The second object to pass to the selector, if any.
|
protected |
The selector to invoke.