It happens for me when I assign the add button to the SCTableViewSection:
objectSection.addButtonItem = addButtonItem;
:
Is there a method that I can call directly from a selector method I'll assign to the button?
ie:
UIBarButtonItem *addButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd target:self action:@selector(addButtonClicked:)];
...
- (void)addButtonClicked:(id)sender {
[[model sectionWithName:@"sectionName"] simulateAddButtonClick];
}
Now I don't know if SCTableViewModel has a method "sectionWithName" or any thing similar, I just made it up to get the section so I can request the simulatedButtonClicked method.
Gary