Re: NSWindow reference remains null after window did load
Re: NSWindow reference remains null after window did load
- Subject: Re: NSWindow reference remains null after window did load
- From: Andy Lee <email@hidden>
- Date: Tue, 28 Jul 2009 20:38:38 -0400
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.
--Andy
On Tuesday, July 28, 2009, at 04:12PM, "Daniel Child" <email@hidden> wrote:
>The correct number, a value obtained from the model.
>
>On Jul 28, 2009, at 3:02 PM, email@hidden wrote:
>
>>> The only datasource method to get called is numberOfRowsInTableView.
>>
>> What number is it returning?
>>
>> --Andy
_______________________________________________
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