I want to have a "dynamic setup" of my SCClassDefinition and I have problem refreshing the display.
I explain a bit more :
I have a "settings" view where the user can switch on/off the display of some fields for edition (displayHeart for instance).
So I created the array of propertyNames as follow
NSMutableArray *fields=[NSMutableArray array];
if (displayHeart) [fields addObject:@"heart"];
SCClassDefinition *measureClassDef = [SCClassDefinition definitionWithClass:[Measure class]