• 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: Asynchronous updating of NSTableView help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Asynchronous updating of NSTableView help (From: Jerry Shields <email@hidden>)

  • Prev by Date: Re: spurious Mountain View and Redwood City
  • Next by Date: Re: spurious Mountain View and Redwood City
  • Previous by thread: Asynchronous updating of NSTableView help
  • Next by thread: IB palette and keyedCoding
  • Index(es):
    • Date
    • Thread