• 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
Redrawing table cells
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: NSMatrix shift selection
  • Next by Date: Re: how to create webloc file in programming?
  • Previous by thread: Re: NSMatrix shift selection
  • Next by thread: Having NSSecureTextField display the hidden text
  • Index(es):
    • Date
    • Thread