Last active
July 14, 2017 23:20
-
-
Save loucimj/edd05ad3e1aed5e2928b884de7d85545 to your computer and use it in GitHub Desktop.
Description of gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
content <key>NSExtension</key> | |
<dict> | |
<key>NSExtensionAttributes</key> | |
<dict> | |
<key>NSExtensionActivationRule</key> | |
<string>SUBQUERY ( | |
extensionItems, | |
$extensionItem, | |
SUBQUERY ( | |
$extensionItem.attachments, | |
$attachment, | |
( | |
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.image" | |
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.png" | |
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpeg" | |
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.jpeg-2000" | |
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.compuserve.gif" | |
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.microsoft.bmp" | |
) | |
).@count == 1 | |
).@count == 1 | |
</string> | |
</dict> | |
<key>NSExtensionMainStoryboard</key> | |
<string>MainInterface</string> | |
<key>NSExtensionPointIdentifier</key> | |
<string>com.apple.share-services</string> | |
</dict> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment