Hi Tarek,
Here is the Class definition:
SCClassDefinition *userDef =
[SCClassDefinition definitionWithEntityName:@"User"
withManagedObjectContext:managedObjectContext
withPropertyNames:[NSArray arrayWithObjects:@"firstName",@"lastName",@"userId",nil]];
SCPropertyDefinition *firstNamePropertyDef = [userDef propertyDefinitionWithName:@"firstName"];
firstNamePropertyDef.title = @"First Name";
firstNamePropertyDef.type = SCPropertyTypeTextView;
SCPropertyDefinition *lastNamePropertyDef = [userDef propertyDefinitionWithName:@"lastName"];
lastNamePropertyDef.title = @"Last Name";
lastNamePropertyDef.type = SCPropertyTypeTextView;
SCPropertyDefinition *userId = [userDef propertyDefinitionWithName:@"userId"];
userId.title = @"userId";
userId.type = SCPropertyTypeNumericTextField;
I would like "$FirstName $LastName" to appear as the attribute. However when clicked I'd like it to display a UIView with a WebView or ScrollView based on what row was selected.