• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Predicate warning from text view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Predicate warning from text view (From: Shane Stanley <email@hidden>)
 >Re: Predicate warning from text view (From: Shane Stanley <email@hidden>)
 >Re: Predicate warning from text view (From: Kyle Sluder <email@hidden>)
 >Re: Predicate warning from text view (From: Martin Wierschin <email@hidden>)

  • Prev by Date: Re: Predicate warning from text view
  • Next by Date: Swift: Any way to extract the bound "self" from a closure?
  • Previous by thread: Re: Predicate warning from text view
  • Next by thread: Swift: Any way to extract the bound "self" from a closure?
  • Index(es):
    • Date
    • Thread