Instance Method

write(to:)

Examines the parameters and other configuration information specified in the passed dictionary and adds its own information to it if appropriate.

Declaration

func write(to dictionary: NSMutableDictionary)

Parameters

dictionary

Possibly contains parameter and other configuration information about the receiver.

Discussion

Automator sends this message to an action object prior to archiving it. In its implementation of this method, the action object should first invoke the superclass implementation.

See Also

Initialization and encoding

init?(definition: [String : Any]?, fromArchive: Bool)

Initializes the receiver with the specified definition.

init(contentsOf: URL)

Loads an Automator action from a file URL.