DynamicTask Class Reference
Inherits from | NSObject |
---|---|
Conforms to | ORKTask |
Declared in | DynamicTask.h DynamicTask.m |
– identifier
The unique identifier for this task.
- (NSString *)identifier
Discussion
The identifier should be a short string that identifies the task. The identifier is copied
into the ORKTaskResult
objects generated by the task view controller for this
task. You can use a human-readable string for the task identifier
or a UUID; the exact string you use depends on your app.
In the case of apps whose tasks come from a server, the unique identifier for the task may be in an external database.
The task view controller uses the identifier when constructing the task result. The identifier can also be used during UI state restoration to identify the task that needs to be restored.
Declared In
ORKTask.h
– stepAfterStep:withResult:
- (ORKStep *)stepAfterStep:(ORKStep *)step withResult:(id<ORKTaskResultSource>)result
Declared In
ORKTask.h
– stepBeforeStep:withResult:
- (ORKStep *)stepBeforeStep:(ORKStep *)step withResult:(ORKTaskResult *)result
Declared In
ORKTask.h