NSPredicate and NSMetadataQuery
NSPredicate and NSMetadataQuery
- Subject: NSPredicate and NSMetadataQuery
- From: Aleaxander Cohen <email@hidden>
- Date: Fri, 10 Mar 2006 21:57:56 -0500
I'm getting a weird error when using using an NSPredicate with a
NSMetadataQuery. Here's the format for the NSPredicate:
(kMDItemDisplayName = '*a*') && (kMDItemContentType !=
com.apple.mail.emlx) && (kMDItemContentType != public.vcard)
And here's the error i get in the console:
NSTimer discarding exception 'NSComparisonPredicate with right
expression which is not NSConstantValueExpressionType given to
NSMetadataQuery (kMDItemContentType != com.apple.mail.emlx)' that
raised during firing of timer with target 358e70 and selector
'_sendPartialString'
Any ideas whats going on?
Alex
_______________________________________________
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