SKTaskGroup Reference
File
ShellKit/SKTaskGroup.h
Copyright
© (c) 2017, Jean-David Gadina - www.xs-labs.com
Date
Monday, May 15, 2017
Class SKTaskGroup
Attributes
- initWithName:tasks:
Creates a task group object
- ( instancetype )initWithName: ( NSString * )name tasks: ( NSArray< id< SKRunableObject > > * )tasks NS_DESIGNATED_INITIALIZER;
Parameters
- name
The name of the task group
- tasks
The tasks to execute when the task group is run
Return value
The task group object
See also
+ taskGroupWithName:tasks:
Creates a task group object
+ ( instancetype )taskGroupWithName: ( NSString * )name
tasks: ( NSArray< id< SKRunableObject > > * )tasks;
Parameters
- name
The name of the task group
- tasks
The tasks to execute when the task group is run
Return value
The task group object
See also
currentTask
The task currently executing
@property( atomic,
readonly,
nullable ) id< SKRunableObject > currentTask;
Discussion
This property will be nil if the task group isn't running,
or if no task is actually executing.
See also
name
The name of the task group
@property( atomic,
readonly ) NSString * name;
tasks
The tasks contained in the task group
@property( atomic,
readonly ) NSArray< id< SKRunableObject > > * tasks;
See also