Predicate warning from text view
Predicate warning from text view
- Subject: Predicate warning from text view
- From: Shane Stanley <email@hidden>
- Date: Fri, 24 Oct 2014 18:37:42 +1100
I have a subclass of a text view in my app. When I double-click on other than a word (ie, a space or return), I get entries like these in the Console:
_NSExtensionIsSafeExpressionForObjectWithSubquerySubstitutions: Expression considered unsafe: SUBQUERY(extensionItems, $extensionItem, $extensionItem.attachments.@count == 1 AND SUBQUERY($extensionItem.attachments, $attachment, (NOT ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.adobe.pdf") AND (NOT ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.image")).@count == 0).@count
NSExtensionIsPredicateSafeToExecuteWithObject: NSPredicate considered unsafe: SUBQUERY(extensionItems, $extensionItem, $extensionItem.attachments.@count == 1 AND SUBQUERY($extensionItem.attachments, $attachment, (NOT ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.adobe.pdf") AND (NOT ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.image")).@count == 0).@count == 1
I have Graphics turned off in IB because I don't support attachments. I do override -selectionRangeForProposedRange:granularity:, but not in any way that I can see would produce this sort of thing. The only place I use predicates is my completion code, but nothing to do with UTIs.
This is only happening under Yosemite.
Any suggestions on where I might start looking?
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden