How to switch NSTableViews
===

I am designing an app which requires 5 separate tableViews to store data to CoreData. In the main nib I have created a custom view which switches subviews using an NSPopUPButton. 

    For example:
    NSPopUP.selectedIndex = 0 --> (subView0 - tableView0) appears
    NSPopUp.selectedIndex = 1 --> (subView1 - tableView1) appears

I have correctly bound each tableview to a separate array controller object in interface builder. Upon selection, the correct subview appears, however the corresponding tableview which is bound to its array controller does not work. 

Any suggestions are appreciated.

Thanks.