I have viewA and viewB inside of a containerview.
I passed Var from a viewA to the containerviewcontroller by delegate. I need to pass it from my containerviewcontroller to tableviewcontroller. I tried two ways, one way i was able to pass it, but I can't gain access to the viewA inside of the container view. I can open viewA with the second way, but the Var doesn't get passed.
Please help.
My storyboard flow is as follow.
containerview -> tabbarviewcontroller ->navigationviewcontroller -> tableviewcontroller
(void)openSavedProjectAt:(NSNumber *)index
{
    //delegate from another class   
    // works, and index value gets passed, but menu button doesn't work after, cuz didn't push with container?
    /*
    IncomeViewController *vc = [self.storyboard instantiateViewControllerWithIdentifier:@"incomeList"];
    [incomeNav pushViewController:vc animated:YES];
    vc.projectIndexToOpen = index;
    */  
    // the value doesn't get passed, but everything else works
    /*
    IncomeViewController *vc = [[IncomeViewController alloc]init];    
    vc.projectIndexToOpen = index;
    */    
    [self menuButtonPushed]; // close side menu
}
 
     
    