Actually the reloadData and datasource issues with NSTableView are reported often. Please try to "google" or "bing" these issues and you will be amazed on how many complaints are out there.
Xcode could for example flag the datasource method where I had capitalized objectValueForTableColumn, either by pointing out that the method does not exist in interface or that I need to implement datasource methods correctly. Unfortunately, sometimes one may not share all the code for confidentiality reasons. As you said, one bites the bullet, rewrites the code, and moves on. Thanks again. -----Original Message----- From: Greg Guerin [mailto:glgue...@amug.org] Sent: Thursday, December 24, 2009 12:21 PM To: 'list-cocoa-dev' Subject: Re: NSTableview datasource issues > ... The issue is that reloadData was not launching datasource > methods, > regardless.>> ... My concern though: how come Xcode does not flag issues with > > datasource? What is so strange is that [segmentTableView > editColumn:k > row:i withEvent:nil select:YES] was launching the > datasource methods, > whereas reloadData was not.What would Xcode do, debug the code by itself?If > reloadData was the actual cause of the bug, then why isn't this problem > reported more often? Surely, you're not the only one using reloadData.There > was obviously some kind of bug in the code or in its connections to other > things. Finding out exactly what that bug is would require the full source > project of the malfunctioning program. If you haven't saved that, then the > information is lost forever. If you have saved it, then send it in a bug > report to Apple. You can also post the zipped project somewhere like > pastebin.com and post the URL to the list. Anyone who's interested can then > attack the problem.Every programmer eventually creates code that they > themselves can't debug. Sometimes the bug isn't found despite considerable > effort, and a rewrite ensues. Sometimes another programmer finds the bug, but > I've never seen that happen without the source. Occasionally the bug is > eventually found by its creator, and with luck, it's accompanied by a > profound feeling of revelation, even epiphany. One doesn't always have the > time, though, so sometimes one must rewrite and move on. -- > GG_______________________________________________Cocoa-dev mailing list > (Cocoa-dev@lists.apple.com)Please do not post admin requests or moderator > comments to the list.Contact the moderators at > cocoa-dev-admins(at)lists.apple.comHelp/Unsubscribe/Update your > Subscription:http://lists.apple.com/mailman/options/cocoa-dev/aronisoft%40afroamerica.netThis > email sent to aronis...@afroamerica.net _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com