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 <sstan...@myriad-com.com.au> <www.macosxautomation.com/applescript/apps/> _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com