Hi Tarek, I have this code:
SCClassDefinition *pDef = [SCClassDefinition definitionWithEntityName:@"PEntity" withManagedObjectContext:self.managedObjectContext
withPropertyNames:[NSArray arrayWithObjects:@"pItem1", @"pItem2", @"pItem3", nil]];
SCClassDefinition *tDef = [SCClassDefinition definitionWithEntityName:@"TEntity" withManagedObjectContext:self.managedObjectContext
withPropertyNames:[NSArray arrayWithObjects:@"tItem1", @"tItem2", @"tItem3", nil]];
[tDef propertyDefinitionWithName:@"tDefTitle"].attributes = [SCObjectAttributes attributesWithObjectClassDefinition:pDef];
SCClassDefinition *vDef = [SCClassDefinition definitionWithEntityName:@"VEntity" withManagedObjectContext:self.managedObjectContext
withPropertyNames:[NSArray arrayWithObjects:@"vItem1", @"vItem2", @"tNames", nil]];
[vDef propertyDefinitionWithName:@"tNames"].attributes = [SCObjectAttributes attributesWithObjectClassDefinition:tDef];
I would like to show "tItem1,2 and 3" in the vDef class instead of tNames. Can you refer to items from one class in another? Can you show me what that would look like?
Thanks again.