• 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: NSMetadataQuery not handling scopes and predicates as expected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMetadataQuery not handling scopes and predicates as expected


  • Subject: Re: NSMetadataQuery not handling scopes and predicates as expected
  • From: Scott Anguish <email@hidden>
  • Date: Sun, 3 Jul 2005 07:28:12 -0400

which is interesting, as I don't believe anything in /System is actually indexed. You'll be able to search on File metadata items, but nothing else...


I'm just using it as a quick way to get a list of paths to specific types of ".strings" files. I loop through the result list, read the content and process them myself.






again.. interesting.. I think this must be a problem with your app, because if you run the Spotlighter example, and enter *String File* you get loads of .strings files showing up


I'm thinking that the string parser in NSPredicate's predicateWithFormat method might not be 100% yet.

you can always construct the predicates directly.


I don't see anything glaring.. but it's 7:30am , and I've been up all night... :-)


    but as i said, typing*Strings File* into spotlighter worked nice.


_______________________________________________ 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: NSMetadataQuery not handling scopes and predicates as expected
      • From: Ken Tozier <email@hidden>
References: 
 >NSMetadataQuery not handling scopes and predicates as expected (From: Ken Tozier <email@hidden>)
 >Re: NSMetadataQuery not handling scopes and predicates as expected (From: Scott Anguish <email@hidden>)
 >Re: NSMetadataQuery not handling scopes and predicates as expected (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: NSMetadataQuery not handling scopes and predicates as expected
  • Next by Date: Re: NSMetadataQuery not handling scopes and predicates as expected
  • Previous by thread: Re: NSMetadataQuery not handling scopes and predicates as expected
  • Next by thread: Re: NSMetadataQuery not handling scopes and predicates as expected
  • Index(es):
    • Date
    • Thread