fullName not populated in Employee table view


I have followed the chapter 32 instructions several times, and can’t get the employee list on the department view to fill with the fullName of the employees.

I downloaded the code provided and compared the two closely and realized I missed the “to-many relationship” .
I had a difficult time figuring out how to set the “to-many relationship” until I located the check box in the “relationship inspector” area.
Now the code is working fine.

If anyone else struggles with the code, make sure that the Department relationship to employees has the to-many designator set.


This is exactly the problem I was having - thank you! In fact I couldn’t use the employee view at all, and the console was giving an error which said something like “Cannot create NSSet from object”. I think the way to create a to-many relationship could be stated more clearly in the text.