• 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
Load an NSTableView with a separate thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Load an NSTableView with a separate thread


  • Subject: Load an NSTableView with a separate thread
  • From: malcom <email@hidden>
  • Date: Tue, 7 Mar 2006 23:25:55 +0100

I've loaded data for an NSTableView using a separate thread.
ow I need to call reloadData: to reload the NSTableView. So I've add

[table reloadData]
[table setNeedsToDisplay:yes]

before [pool release] of my thread function (invoked using
deteachNewThread...). However it not works well and while sometimes
the list shows to me correctly, other times nothing has showed (and I
need to scroll the list to realod the gui...a sort of redraw problem).

Where is the error?

--
www.malcom-mac.com
mac/win software development
email@hidden
 _______________________________________________
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

  • Follow-Ups:
    • Re: Load an NSTableView with a separate thread
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Reading unknown class from NSKeyedUnarchiver
  • Next by Date: Re: Load an NSTableView with a separate thread
  • Previous by thread: Re: Reading unknown class from NSKeyedUnarchiver
  • Next by thread: Re: Load an NSTableView with a separate thread
  • Index(es):
    • Date
    • Thread