I would like to display my data in different sections based upon an attribute of my objects.
For example, suppose I have socks and I want my sections to be grouped by color.
Would I have to create a section for each color? like this:
SCArrayOfObjectsSection *shoesSection = [SCArrayOfObjectsSection sectionWithHeaderTitle:@"Shoes Section" withItems:[[mainDelegate socks] ofColor:red]
withClassDefinition:sockClassDef];
SCArrayOfObjectsSection *shoesSection = [SCArrayOfObjectsSection sectionWithHeaderTitle:@"Shoes Section" withItems:[[mainDelegate socks] ofColor:blue]
withClassDefinition:sockClassDef];
...
...