• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Another TableView question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Another TableView question... (From: "Martha I. Espinosa" <email@hidden>)

  • Prev by Date: Re: Mixing Objective C and C++
  • Next by Date: Re: Mixing Objective C and C++
  • Previous by thread: Re: Another TableView question...
  • Next by thread: Re: Another TableView question...
  • Index(es):
    • Date
    • Thread