This is a public service announcement. If you’re tempted to copy the tableView:validateDrop method definition from the documentation page here please note that it’s incorrect.
The method definition (but not the header or link) listed on that page starts with “aTableView:” but it should be “tableView:”.
I just spent 30 minutes trying to figure out why my validation method wasn’t getting called. Since I copied the definition right out of the docs to make sure I got it right, I didn’t even think to double-check it.
0 Responses to “NSTableDataSource documentation error”