Re: Another TableView question...
Re: Another TableView question...
- Subject: Re: Another TableView question...
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 25 Jan 2005 21:58:44 +0100
On mardi, janvier 25, 2005, at 08:21 PM, Martha I. Espinosa wrote:
Hi,
My data is being read in using the init method. But, if the file
doesn't get created until half way through my application. Therefore,
my table is displaying nothing/zero/zip. Is there a way that I can
use the same code in a different method then call it or reload it to
get the data?
- (id)init
{
NSString *path = [NSString
stringWithFormat:@"/private/tmp/SWinstallers.txt", NSHomeDirectory()];
You're sure about this line?
You can create a method in your data source controller and call it
whenever you want. To refresh the content of the NSTableView, you will
then need to additionally call - [NSTableView reloadData];
_______________________________________________
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