To fully set up the array controller you also need to set the mode to 'Entity Name'
in the identity inspector of the array controller and specify this as 'Employee'
After that you need to bind the 'content value' of the combo box(in bindings inspector) to employeeName
of the array controller. (arrangedObjects
).
i.e in the Bindings inspector,
- click on bind :Array controller
- Controller Key :
arrangedObjects
- Model Key Path :
employeeName