I have the following code:
SCArrayOfObjectsSection *itemsSection = [SCArrayOfObjectsSection sectionWithHeaderTitle:nil entityDefinition:itemsDefinition]; itemsSection.placeholderCell = [SCTableViewCell cellWithText:@"Edit to add an Item..." textAlignment:NSTextAlignmentCenter]; itemsSection.addNewItemCell = [SCTableViewCell cellWithText:@"Add an Item..."]; itemsSection.addNewItemCellExistsInNormalMode = NO; itemsSection.addNewItemCellExistsInEditingMode = YES;
Which all works. But the user has to tap Edit to get the "Add an Item..." cell. So how can I put the table into edit mode when there are no items? There don't seem to be any actions or delegates that I can hook into as far as I can see.