Re: NSMetadataQuery parsing error
Re: NSMetadataQuery parsing error
- Subject: Re: NSMetadataQuery parsing error
- From: mmalcolm crawford <email@hidden>
- Date: Sat, 2 Jul 2005 03:44:19 -0700
On Jul 2, 2005, at 3:27 AM, Ken Tozier wrote:
[NSPredicate predicateWithFormat: @"(kMDItemDisplayName like[cd]
'*.jpg') && (kMDItemContent != com.apple.mail.emix) &&
(kMDItemContent != public.vcard)"]
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 [...]
NSPredicate *predicate = [NSPredicate predicateWithFormat:
@"(kMDItemDisplayName like[cd] '*.jpg') && (kMDItemContent !=
'com.apple.mail.emix') && (kMDItemContent != 'public.vcard')"];
?
(Sorry, too tired to test at the moment.)
mmalc
_______________________________________________
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