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

2010-03-31 Thread Tony Romano
Thanks Joanna, my data is not Core Data and I haven't had the opportunity to use it much. I did some research and it is definitely on my list of things to learn. Not sure why NSTreeController does not support predicate filters... Funny, Finder has a hidden preference to show or hide hidden fil

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

2010-03-31 Thread Joanna Carter
Hi Tony > 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 suppo

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

2010-03-31 Thread Tony Romano
After some research, NSTreeController does not support predicates. subclass'ing looks like the way to go. I'll look into to-many properties as well. Thanks so much! -tony On Mar 30, 2010, at 8:51 PM, Kyle Sluder wrote: > On Tue, Mar 30, 2010 at 8:35 PM, Tony Romano wrote: >> One obvious me

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

2010-03-30 Thread Kyle Sluder
On Tue, Mar 30, 2010 at 8:35 PM, Tony Romano wrote: > 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

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

2010-03-30 Thread Tony Romano
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