5 ms·
Hm, that doesn't sound too bad. Do you say a certain extension "implements" a certain type of action or something? E.g. the Bing translate implements "com.apple
by jmgrosen 12y ago
Hm, that doesn't sound too bad. Do you say a certain extension "implements" a certain type of action or something? E.g. the Bing translate implements "com.apple.action.translate.web" and thus when Safari asks for actions that implement "com.apple.action.translate.web" Bing translate appears to the user, or Zxing implements "org.moreactions.scan.barcode" so then when the user taps "find by barcode" in a shopping app the Zxing app is presented to them as a choice?
- madeofpalk 12y agoThey're not quite as specific as "com.apple.action.translate.web". I believe it's more like "com.apple.web" - any action that can transform a website will include that in it's extension predicate.
- jmgrosen 12y agoI guess my primary question was whether apps can define their own actions -- can they, or is there an Apple-controlled set?
- objclxt 12y agoAction extensions can declare their support for any UTI (uniform type identifier), so yes - apps can effectively define their own actions. There is an 'Apple-controlled set' in the sense that the item being provided must have a UTI.