I am using Core Data and want to display an Entity’s attributes as TableView headings.
In the example below, “Color” has three attributes and I would like to display each of these (consistent, inconsistent and multicolored) as headings in a tableview. I can access the ‘values’ in each of these attributes, but not the names of the attributes themselves. Help appreciated.

NSManagedObject.entity.attributesByName will return an NSDictionary with all the attribute names of the entity as the keys.