Great suggestion Brian!
How about adding a new delegate method that will let you completely handle saving the image to disk. A sample implementation of this method might look something like this:
- (BOOL)tableViewModel:(SCTableViewModel *)tableViewModel
saveImage:(UIImage *)image toPath:(NSString *)imagePath
forRowAtIndexPath:(NSIndexPath *)indexPath
{
// save image as PNG
return [UIImagePNGRepresentation(image) writeToFile:imagePath atomically:YES];
}
We will also most probably add another delegate method that will let you handle loading the image too (might be helpful if you need decide to save the image to a location that's different from "imagePath".
Please tell me what you think.