• 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
to make NSOutlineView faster
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

to make NSOutlineView faster


  • Subject: to make NSOutlineView faster
  • From: Nick Rogers <email@hidden>
  • Date: Thu, 17 Apr 2008 20:18:01 +0530

Hi,
I have NSOutlineView display a tree of files and folders in the root "/" filesystem.
I also have checkboxes in the first column.
whenever a item is clicked, say first time, then this item and all its children are also marked internally.
so the check/uncheck mechanism also works internally to check/uncheck the files and folders.


when displaying outline view i'm not reloading the root's children.

I run the app, it creates a tree of around 450000 entries in my Macintosh HD.
Now when i click to check root item, it takes around 2 mins to reflect and show the check boxes checked.
then I uncheck root item. And when I check again it takes around 20 seconds and the time stays at that.


This shows that my internal checking/unchecking mechanism is fast. as the second time the time is considerably less.

Is there a way to make this checking/unchecking faster?
Is there anything that can be done to outline view to achieve this?

Any ideas?

Wishes,
Nick

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: to make NSOutlineView faster
      • From: Corbin Dunn <email@hidden>
    • Re: to make NSOutlineView faster
      • From: "Hamish Allan" <email@hidden>
    • Re: to make NSOutlineView faster
      • From: "Sherm Pendley" <email@hidden>
  • Prev by Date: Re: Vended Object Setters
  • Next by Date: Re: how to wait the finish of NSURLDownload
  • Previous by thread: Re: Vended Object Setters
  • Next by thread: Re: to make NSOutlineView faster
  • Index(es):
    • Date
    • Thread