Raiseman - UndoManager - insertObject/removeObject

Working through the 5th Edition Cocoa book, but in Swift 3. <<<< 3.0.1 and XCode 8.1

The book says these methods will be called automatically by the array controller when they call the add: and remove: methods. They are not. The methods are never called.

func insertObject(employee: Employee, inEmployeesAtIndex index: Int) {

func removeObjectFromEmployeesAtIndex(index: Int) {

Any luck with this? I haven’t found an answer either.

Did you ever get it to work? Mine is called from the array controller automatically as advertised.