AMWorkflowController
An object that lets you manage an Automator workflow in your app.
Declaration
class AMWorkflowControllerOverview
A controller can run and stop a workflow and obtain information about its state. The controller’s delegate (AMWorkflowControllerDelegate) receives messages as the workflow is executed and its actions are run.
You can load and run a workflow with minimal overhead by using the AMWorkflow class method run(at:withInput:). Use AMWorkflowController where you need greater control, such as the ability to start and stop the workflow. In that case, you must create and initialize both the workflow and the workflow controller objects.