FROM : stephen joseph butler
DATE : Mon Jun 02 22:30:16 2008
On Mon, Jun 2, 2008 at 11:08 AM, Gerriet M. Denkmann
<<email_removed>> wrote:
> Constucting the format properly (copying your suggestion):
> NSPredicate *predicate = [NSPredicate predicateWithFormat:@"%K contains %@",
> kMDItemTextContent, @"To be, or not to be"];
I'm sorry. I forget that the Spotlight predicate strings are slightly
different from the regular ones. This works for me:
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"%K LIKE
%@", kMDItemTextContent, @"To be, or not to be"];
DATE : Mon Jun 02 22:30:16 2008
On Mon, Jun 2, 2008 at 11:08 AM, Gerriet M. Denkmann
<<email_removed>> wrote:
> Constucting the format properly (copying your suggestion):
> NSPredicate *predicate = [NSPredicate predicateWithFormat:@"%K contains %@",
> kMDItemTextContent, @"To be, or not to be"];
I'm sorry. I forget that the Spotlight predicate strings are slightly
different from the regular ones. This works for me:
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"%K LIKE
%@", kMDItemTextContent, @"To be, or not to be"];
| Related mails | Author | Date |
|---|---|---|
| Gerriet M. Denkman… | Jun 1, 16:17 | |
| stephen joseph but… | Jun 1, 17:24 | |
| Gerriet M. Denkman… | Jun 2, 04:10 | |
| stephen joseph but… | Jun 2, 07:20 | |
| Gerriet M. Denkman… | Jun 2, 18:08 | |
| stephen joseph but… | Jun 2, 22:30 | |
| Gerriet M. Denkman… | Jun 3, 02:37 | |
| stephen joseph but… | Jun 3, 04:59 | |
| Gerriet M. Denkman… | Jun 3, 10:18 | |
| Hamish Allan | Jun 3, 10:33 | |
| Gerriet M. Denkman… | Jun 3, 11:23 | |
| Jason Wiggins | Jun 3, 16:27 | |
| Hamish Allan | Jun 3, 17:16 |






Cocoa mail archive

