Load an NSTableView with a separate thread
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