Re: NSTableview datasource issues
Re: NSTableview datasource issues
- Subject: Re: NSTableview datasource issues
- From: Greg Guerin <email@hidden>
- Date: Thu, 24 Dec 2009 10:21:49 -0700
... 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 (email@hidden)
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:
This email sent to email@hidden