Can I see some sample code for customizing a detail view model please?
I want to have an imageView in the first line of the detailTableViewModel and I would like a switch in the navigationController allowing me to switch (flip) to an image only view.
I have this code so far, and it doesn't work for me. I am using a bound array of objects.
- (void)tableViewModel:(SCTableViewModel *)tableViewModel detailViewWillAppearForSectionAtIndex:(NSUInteger)index withDetailTableViewModel:(SCTableViewModel *)detailTableViewModel
{
//SCTableViewSection *detailSection = [detailTableViewModel sectionAtIndex:0];
//SCTableViewCell *imagePickerCell = [detailSection cellAtIndex:0];
//SCObjectSection *detailSection = [detailTableViewModel sectionAtIndex:0];
//SCObjectCell *imagePickerCell = [detailTableViewModel cellAtIndexPath:index];
//Shoe *myManagedObject = detailSection.boundObject;
//
// Set your managed object's attributes normally here
NSLog(@"IDetwail will appear");
}