Re: NSTreeController search
Re: NSTreeController search
- Subject: Re: NSTreeController search
- From: Scott Anguish <email@hidden>
- Date: Thu, 23 Jun 2005 16:47:43 -0400
On Jun 23, 2005, at 5:33 AM, Aidas Dailide wrote: Hi everyone,
Anyone has found a good way to implement search in NSTreeController? So far I was able to find only -(void)rearrangeObjects ,but I am not really sure how to use it properly to filter content.
so, it seems that filtering (which granted is different than searching) is not easily achieved (and may not even be possible) for developers at this time.
To search, you could search the original data source, and set selections based on that..
this isn't in the doc at the moment, but it will be shortly.
arrangedObjects is a totally opaque object for treecontroller.. it is suitable for binding, but you can't, and shouldn't count on the object supporting any specific methods.
and the filtering comment in the insertObjects: method in NSTreeController is being removed..
|
_______________________________________________
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