Hi
I have an SCArrayOfObjectsModel bound to a core data store, showing a list of "folder names"
When the user starts searching I customPresent a detailModel viewcontroller that shows the matching "files" from all "folders":
self.folderTableModel.sectionActions.customPresentDetailModel = ^(SCTableViewSection *section, SCTableViewModel *detailModel, NSIndexPath *indexPath) {
[self.navigationController pushViewController:detailModel.viewController animated:NO];
};
- (void)textFieldTextDidChange:(UITextField *)textField {
...
SCArrayOfObjectsSection *section = (SCArrayOfObjectsSection*)[self.folderTableModel sectionAtIndex:0];
[section dispatchEventSelectRowAtIndexPath:nil];
...
}
This worked fine in STV3. But in STV5pro the contentView of the cells in the detailviewcontroller are too narrow (see image).
I don't understand why. All views use autolayout. I am not manually touching any frames. I have not changed this part of the code going from STV3 to 5.
Dennis