Re: [NSTableView reloadData] doesn't seem to work
Re: [NSTableView reloadData] doesn't seem to work
- Subject: Re: [NSTableView reloadData] doesn't seem to work
- From: Scott Stevenson <email@hidden>
- Date: Sat, 27 Nov 2004 11:53:12 -0800
On Nov 26, 2004, at 8:21 PM, Michael A. Crawford wrote:
The problem is that when I run the example the table-view, which
should show any active RCE clients, is blank all the time. I can see
from the debugger and trace output that two service instances are
being discovered added to the NSMutableArray associated with the
table-view, but they don't show up in the table-view. The reloadData
method is being called when the services are added and removed from
the array, per the example in the articles.
Besides instrumenting the code, which I've done, is there any other
way I can see what is going on when reloadData is called? I have
breakpoints on the following methods but they only seem to be called
at application startup, when the array has zero entries.
Are you sure the outlet to the table is connected?
For example, what happens if you do:
NSLog(@"tableView: %@", tableView);
- Scott
--
http://treehouseideas.com/
http://theobroma.treehouseideas.com/ [blog]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden