Re: Asynchronous updating of NSTableView help
Re: Asynchronous updating of NSTableView help
- Subject: Re: Asynchronous updating of NSTableView help
- From: email@hidden
- Date: Sun, 15 Dec 2002 17:15:04 +0100
On dimanche, dicembre 15, 2002, at 03:49 PM, Jerry Shields wrote:
I have a NSTableView that I am trying to update asynchronous with a
callback from a thread that supplies the data. I add the data object
to the table's data source one cell at a time and for each cell I
have tried to get the table view to draw that cell. I have tried
calling "noteNumberOfRowsChanged", "reloadData" and
"setNeedsDisplay"as well as "display" for the NSTableView but none of
those will ensure that all the cells that arrive get drawn properly.
Which thread is calling reloadData? Only the main Thread should be
calling reloadData.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.