Re: tableView: objectValueForTableColumn: row: method not getting called
Re: tableView: objectValueForTableColumn: row: method not getting called
- Subject: Re: tableView: objectValueForTableColumn: row: method not getting called
- From: Scott Anguish <email@hidden>
- Date: Fri, 24 Jun 2011 00:44:41 -0400
On Jun 23, 2011, at 5:49 PM, Jens Alfke wrote:
>
> On Jun 23, 2011, at 2:46 PM, Sandeep Mohan Bhandarkar wrote:
>
>> I have just wired up the delegate outlet and for the second query. The count shows up as zero but will this be the reason for the method not getting called…?
>
> Yes. If there aren’t any rows, the table view won’t need to ask for what objects to put in them.
>
This may be happening because of timing of the NIB loading vs the data. make sure to reload the data at the right point (windowDidLoad or after your document does if you’re using documents, there is a special hook for that)
_______________________________________________
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