I'm using JASidePanels for my App (Facebook menu style).
The LeftPanel is my menu (tableView) and the CenterPanel where I display my contents has a collectionView.
When I tapped an item in the center collectionView, I would also like to selected the same indexPath as the tapped item in my LeftPanel, the menu.
I tried doing this but it didn't work.
-(void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath
{
// Other codes ...
LeftMenuViewController *leftMC = [[LeftMenuViewController alloc] init];
[leftMC.tableView selectRowAtIndexPath:indexPath animated:NO scrollPosition:0];
}
What should I be doing?
Thank you for your help!