Mac Developer Library

Developer

Automator Framework Reference AMWorkflowView Class Reference

Options
Deployment Target:

On This Page
Language:

AMWorkflowView

You use the AMWorkflowView class to provide viewing and editing of Automator workflows in your application. You use an instance of AMWorkflow to instantiate a workflow and an instance of AMWorkflowController to control its execution. Together, these three classes provide a Model-View-Controller suite for working with workflows. More...

Inheritance


Import Statement


import Automator @import Automator;

Availability


Available in OS X v10.5 and later.
  • editable editable Property

    A Boolean value indicating whether the workflow view is editable.

    Declaration

    Swift

    var editable: Bool

    Objective-C

    @property(getter=isEditable) BOOL editable

    Discussion

    YEStrue if the workflow view is editable, otherwise NOfalse. Use isEditable: to determine whether the workflow view is editable. Use setEditable: to set whether the workflow view is editable.

    Import Statement

    import Automator

    Availability

    Available in OS X v10.10 and later.

  • The receiver’s workflow controller.

    Declaration

    Swift

    var workflowController: AMWorkflowController!

    Objective-C

    @property(strong) AMWorkflowController *workflowController

    Discussion

    Use setWorkflowController: to set the receiver’s controller to the passed workflow controller.

    Import Statement

    import Automator

    Availability

    Available in OS X v10.9 and later.