• 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
Re: NSTreeController search
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSTreeController search (From: Aidas Dailide <email@hidden>)

  • Prev by Date: Re: NSImage is a pain
  • Next by Date: Re: NSImage is a pain
  • Previous by thread: NSTreeController search
  • Next by thread: CoreData: get/set methods in undo and flushing of caches
  • Index(es):
    • Date
    • Thread