Afernoon
I have the following code:
// Create the AuditEntity definition
SCClassDefinition *auditDef = [SCClassDefinition definitionWithEntityName:@"AuditEntity" withManagedObjectContext:self.managedObjectContext
withPropertyNames:[NSArray arrayWithObjects:@"title", nil]];
tableModel = [SCTableViewModel alloc] initWithTableView:self.tableView withViewController:self];
SCArrayOfObjectsSection *auditsSection = [SCArrayOfObjectsSection sectionWithHeaderTitle:nil
withEntityClassDefinition:auditDef];
auditsSection.addButtonItem = self.navigationItem.rightBarButtonItem;
[tableModel addSection:auditsSection];
If I add the same entry into the filed under Title, I get two entries, whereas I would like to get one.
What is the best way to do this ?
Iain