• 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
Best way to selectively show objects in a tree controller/outlineview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Best way to selectively show objects in a tree controller/outlineview


  • Subject: Best way to selectively show objects in a tree controller/outlineview
  • From: Tony Romano <email@hidden>
  • Date: Tue, 30 Mar 2010 20:35:39 -0700

Based on a user preference, I want to be able to selectively show/not show items contained in the tree controller by an outline view. For example, suppose the tree controller has these items: A,B,C,D,D,E,F,G,H.  The outline view will normally display all of the items.  Now suppose the user sets a preferences that he/she doesn't want to show item(s) 'D'.  The outline view should now display: A,B,C,E,F,G,H.

One obvious method(albeit brute force) is to rebuild the tree controller list and redisplay it.  For what I want to do, this is way too expensive of an operation.  In addition, the user can toggle back and forth the preference.  There doesn't seem to be an obvious way to tell the outline controller, "skip or hide this item".

Thanks,

-tony



_______________________________________________

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: Best way to selectively show objects in a tree controller/outlineview
      • From: Joanna Carter <email@hidden>
    • Re: Best way to selectively show objects in a tree controller/outlineview
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Terminating subtasks reliably
  • Next by Date: Re: Best way to selectively show objects in a tree controller/outlineview
  • Previous by thread: [iPhone] Move delete control in custom UITableViewCell
  • Next by thread: Re: Best way to selectively show objects in a tree controller/outlineview
  • Index(es):
    • Date
    • Thread