Written in the front: There will always be some problems in daily development, and the resources on the Internet are scarce and repetitive, so I specially opened a post to record them. Welcome to advise~
1. NSTableView related
1.1 [Problem] In the loading data source method tableView:viewForTableColumn:row :, the view returned by the makeViewWithIdentifier:owner: method is nil.
[Solution] The Column of tableView and the Identifier of TableCellView need to be set to the same value (or Automatic, just don't write it), which is written in the official document.