I must be missing something.
I have inserted the code that enables the application to undo/redo adding and subtracting employees from RaiseMan. The application works however what I’m wondering is why is that when I link the “Add Employee” button to the NSArrayController add method (using the .xib file) it calls
- (void)insertObject:(Person *)p inEmployeesAtIndex:(int)index;
According to the Key-Value Coding, shouldn’t the add method call?
I’m linking the ‘add’ method not the ‘insert’ method. What’s going on behind the scenes?