Re: NSTableView stops updating.....

2009-08-24 Thread Joar Wingfors
On 24 aug 2009, at 21.00, Graham Cox wrote: From that thread I call [tableView reloadData] Try calling this on the main thread. I think reloadData marks the table view as needing display, and that should be done on the main thread. [tableView performSelectorOnMainThread:@selector(reload

Re: NSTableView stops updating.....

2009-08-24 Thread Graham Cox
On 25/08/2009, at 4:14 AM, tarek wrote: From that thread I call [tableView reloadData] Try calling this on the main thread. I think reloadData marks the table view as needing display, and that should be done on the main thread. [tableView performSelectorOnMainThread:@selector(reloadDat

NSTableView stops updating.....

2009-08-24 Thread tarek
Hi Everyone, I have a NSTableView that stops updating randomly. I have a separate thread that I use to all the hard work. I get there using performSelectorInBackground:withObject:. From that thread I call [tableView reloadData]. Like I said, it can work for hours or it will work for 10 se