App Extension Programming Guide: Handling Common Scenarios
Describes how to develop an app extension, which is an executable that adds functionality to other apps.