OGWPerformSelectorTask Class Reference
Inherits from | OGWTask : NSObject |
Declared in | OGWPerformSelectorTask.h |
Overview
Performs a selector on a target when executed, optionally with an object as parameter. Finishes instantaneously.
Both target and object are weak references, the task does nothing if the target and/or (if provided) the object become nil before the task is executed.
Class Methods
performSelector:target:
The selector to perform. The selector takes no parameters.
+ (id)performSelector:(SEL)selector target:(id)target
Parameters
- selector
The selector to perform. The selector takes no parameters.
- target
The receiver that will performs the selector.
Return Value
The new task.
Declared In
OGWPerformSelectorTask.h
performSelector:target:withObject:
The selector to perform. The selector takes a single parameter of type id
.
+ (id)performSelector:(SEL)selector target:(id)target withObject:(id)object
Parameters
- selector
The selector to perform. The selector takes a single parameter of type
id
.
- target
The receiver that will performs the selector.
- object
The object passed to the selector as parameter.
Return Value
The new task.
Declared In
OGWPerformSelectorTask.h