• 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
Lots of items in an NSOutline view.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Lots of items in an NSOutline view.


  • Subject: Lots of items in an NSOutline view.
  • From: Stefan Pantos <email@hidden>
  • Date: Wed, 21 Dec 2005 12:06:33 +0000

Hi,
I've been trying to put 200'000 elements into a NSOutline view. Each element contains at least one leaf an no tree nodes. I'm using a binding from an NSTreeController. I've specified a isLeaf method so that it doesn't have to request the nodes contents to find out if it a node or not. But it's super slow and uses a huge amount of memory.

Using the same data but displaying it in an NSTable ignoring the objects it contains works very quickly. All the tree nodes in the Outline view are collapsed so I see no reason why it should be accessing them. If I just add say 10 elements it's fine so it does seem to be doing the correct thing.

Could it be because I'm using an NSTreeController? Or is there something that I'm missing.

Thanks,
stefan
_______________________________________________
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: Lots of items in an NSOutline view.
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Re: Stopping a TableView being sortable
  • Next by Date: Re: Testing universal binary one the cheap
  • Previous by thread: Re: Stopping a TableView being sortable
  • Next by thread: Re: Lots of items in an NSOutline view.
  • Index(es):
    • Date
    • Thread