I had to add getter function to RaiseMan


#1

The RaiseMan example has a setEmployees function, but I was not able to set employees as the Model Key Path for the Aray Controller. I had to add a getter called employees in order to make this possible. I assume this is a mistake in the book but if not, I must be getting something else wrong - there is no syntesize for this attribute.

I presume that the name in Model Key Path is ment to be a property name and not the name of any instance variable.