Re: NSMetadataQuery parsing error
Re: NSMetadataQuery parsing error
- Subject: Re: NSMetadataQuery parsing error
- From: David Masters <email@hidden>
- Date: Sat, 2 Jul 2005 11:51:45 +0100
Ken,
On 2 Jul 2005, at 11:27, Ken Tozier wrote:
I can get it working if I omit "&& (kMDItemContent !=
com.apple.mail.emix) && (kMDItemContent != public.vcard)" from the
predicate but if either (or both) of these are included, it spits
out the error "
I've got a similar query working using kMDItemContentType (not sure
about kMDItemContent), and by enclosing the com.apple.mail.emix in
single quotes:
NSPredicate *predicate = [NSPredicate
predicateWithFormat:@"((kMDItemContentType != 'com.apple.mail.emlx')...
Hope this helps!
David
_______________________________________________
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