Well, I suppose your controller has the IBTutView NSTableView * personTable property, which is bound in the interface builder?
In addition, a protocol must be declared in the controller interface, but again, since the implementation of the controller has the appropriate methods, I assume that you configured this correctly as well.
Another detail, are table column identifiers set correctly in the interface builder? From this example, I do not understand how the column identifiers relate to Person properties (name and gender). Should the personList array hold dictionary objects, where the dictionary object is human and the dictionary key is mapped to the column identifier that you specified in the interface builder?
Another technical characteristic, the property name (PersonList) should not start with a capital letter. I just think that the compiler should at least protest when you try to get personList using lowercase p.
source share