• 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
NSOutlineView reloadData speed tips needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineView reloadData speed tips needed


  • Subject: NSOutlineView reloadData speed tips needed
  • From: Matt Neuburg <email@hidden>
  • Date: Thu, 23 May 2002 08:21:25 -0700

I have a fairly long NSOutlineView (about 1000 top-level items, 2000 rows
when fully expanded since each top-level item has one subitem).

When the user selects a row and hits Delete, I want to delete that row.
There is no method for doing this directly (as far as I can tell), so I
delete the corresponding item in my data source and tell the NSOutlineView
to reloadData.

The reloadData operation takes 10 seconds. That's unacceptable; the deleted
row should just vanish, poof, instantly. My data source's replies to the
Five Big Questions are all simple one-liners. Has anyone any words of
wisdom on how to speed this up? Thx - m.
--

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes gar anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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.

  • Prev by Date: Re: Issue with dataWithPDFInsideRect:
  • Next by Date: strange crash
  • Previous by thread: Re: Issue with dataWithPDFInsideRect:
  • Next by thread: strange crash
  • Index(es):
    • Date
    • Thread