• 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: Spotlight bindings example?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spotlight bindings example?


  • Subject: Re: Spotlight bindings example?
  • From: Corbin Dunn <email@hidden>
  • Date: Tue, 28 Jun 2005 08:19:08 -0700


Has anyone written any example code for using bindings to hook up an NSSearchField.

Yes; I have. It is the iSpend application on the apple developer website -- search for it.



an NSMetadataQuery and an NSTableView?

Yes, I have...it is in /Developer/Examples/AppKit/Spotlighter


It sounds as though NSMetadataQuery is designed to make this straightforward, but according to Apple's documentation, "Before your application interacts with the returned results, it must first temporarily disable updates of the results." Being a newcomer to bindings,

I believe that just entails calling disableUpdates.

--corbin
_______________________________________________
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


  • Follow-Ups:
    • Re: Spotlight bindings example?
      • From: Hamish Allan <email@hidden>
References: 
 >Spotlight bindings example? (From: Hamish Allan <email@hidden>)

  • Prev by Date: [NSPredicate predicateWithFormat:]
  • Next by Date: Re: Spotlight and API Docs
  • Previous by thread: Spotlight bindings example?
  • Next by thread: Re: Spotlight bindings example?
  • Index(es):
    • Date
    • Thread