https://developer.apple.com/library/content/documentation/General/Conceptual/ExtensibilityPG/Action.html
Describes how to develop an app extension, which is an executable that adds functionality to other apps.