Challenge 2 is working fine. However it would be nice to disable the ‘Remove Employee’ menu item when there are zero employees in the tableView. This is how the ‘Delete’ button works by binding to the ArrayController’s canRemove Controller Key.
I’ve been trying to bind it to an ArrayController pointing to the employees array in the MainMenu.xib doc window, but there there is an uncaught exception at app launch. So both MyDocument.xib and MainMenu.xib each have array controllers pointing to employees. What am I missing? Or is there a way to bind between .xib’s?