No, the syntax was right. The problem mysteriously disappeared when I
altered the timing of the method to redraw the table, including the
time data is loaded. Thanks for your suggestions.
On Jul 28, 2009, at 8:38 PM, Andy Lee wrote:
Just to be sure -- your method is numberOfRowsInTableView:, not
numberOfRowsInTableView, right? You mentioned you'd tried copying
working method declarations, so I suspect that's not the problem,
but I figured I'd double-check just in case *you* were calling it
somewhere you'd forgotten about and it wasn't the table view that
was calling it.
There was a similar mystery within the past few months, with very
similar "impossible" symptoms. I believe the solution was a missing
call to reloadData. But this doesn't sound like your problem,
because if numberOfRowsInTableView: returns 17, then the value-
getter method should have gotten called 17 times for each column.
_______________________________________________
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