Re: Predicate warning from text view
Re: Predicate warning from text view
- Subject: Re: Predicate warning from text view
- From: Shane Stanley <email@hidden>
- Date: Sat, 25 Oct 2014 10:32:51 +1100
On 25 Oct 2014, at 10:23 am, Martin Wierschin <email@hidden> wrote:
>
> I observed this log statement during the Yosemite beta period, on a stock system with no additional extensions/apps installed, aside from my own app being tested on OS X 10.10. My app (which also uses an NSTextView subclass) produced that log statement, but TextEdit also produced a very similar log:
>
>> TextEdit[578]: _NSExtensionIsSafeExpressionForObjectWithSubquerySubstitutions: Expression considered unsafe: SUBQUERY($extensionItem.attachments, $attachment, ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.image")
Interesting. I didn't notice it until I installed the release version. TextEdit is one of the apps that triggers it here (I haven't tested apps exhaustively), but that message is slightly different.
>
> In any case, I never observed any actual ill effects in my app whenever the logging was triggered.
In my case I redirect stdErr output to my log window, so it's a bit of a pain. Looks like I can just filter it out, though.
--
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