Redrawing table cells
Redrawing table cells
- Subject: Redrawing table cells
- From: Thomas Davie <email@hidden>
- Date: Mon, 17 Jan 2005 10:53:13 +0000
Hi,
I've hit a slight problem with NSOutlineView. I am attempting to
draw images associated with each row of the view, and have implemented
this successfully. In order to try keep the UI responsive though, I
have now separated the loading of the images into a different thread.
This causes a slight problem in that I must re-draw the outline view
when the thread stops running, so I post a notification to re-draw.
Unfortunately, because none of the data in the view has changed,
reloadData and setNeedsDisplay:YES, both have no effect - the icons
remain undrawn. Is there any way to force NSOutlineView to call
willDrawCell on each of it's rows again?
Thanks
Tom Davie
--
Computer Science is as much about computers as astronomy is about
telescopes -- Edsgar Dijkstra
_______________________________________________
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