-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Milestone
Description
We could simplify creation by using macros and convenience methods:
id group1 = sequentialGroup();
id group2 = sequentialAutoStartGroup();
id group3 = concurrentGroup();
id group4 = concurrentAutoStartGroup();
[group1 addCommand:[[DelayCommand alloc] initWithDelayInSeconds:1]];
[group1 addCommand:group3];
[group1 addBlockCommand:^(CommandCallback complete)
{
NSLog(@"block command executed");
complete();
}];