I have a table generated from a Web Service Definition. It is modeled after the twitter and youtube examples. I am trying to configure a custom detail view, but clicking on a cell only makes the cell highlight grey. What am I missing? The youtube example does the same thing for me and the twitter example doesn't load any data so not sure if this is working.
SCArrayOfObjectsSection *webSection = [SCArrayOfObjectsSection sectionWithHeaderTitle:nil webServiceDefinition:activityDef batchSize:10];
// webSection.itemsAccessoryType = UITableViewCellAccessoryNone;
webSection.sectionActions.cellForRowAtIndexPath = ^SCCustomCell*(SCArrayOfItemsSection *webSection, NSIndexPath *indexPath)
{
NSString *bindingsString = @"1001:Russia.png;1002:UserName;1003:ActivityDescription;1004:Price;1005:Duration";
SCCustomCell *customCell = [SCCustomCell cellWithText:nil objectBindingsString:bindingsString nibName:@"ActivityCell"];
return customCell;
};
webSection.sectionActions.detailViewControllerForRowAtIndexPath = ^UIViewController*(SCTableViewSection *section, NSIndexPath *indexPath)
{
ActivityViewController *customVC = [[ActivityViewController alloc] initWithNibName:@"ActivityView" bundle:nil];
return customVC; };
[self.tableViewModel addSection:webSection];