Re: NSWindow reference remains null after window did load (SOLVED)
Re: NSWindow reference remains null after window did load (SOLVED)
- Subject: Re: NSWindow reference remains null after window did load (SOLVED)
- From: Daniel Child <email@hidden>
- Date: Wed, 29 Jul 2009 12:38:11 -0400
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 (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