Instance Property

parameters

Returns the receiver's parameters.

Declaration

var parameters: NSMutableDictionary? { get set }

Discussion

The parameters of an action reflect the choices made and values entered in the action’s user interface. Keys in the parameters dictionary identify specific user-interface objects. If an action uses the Cocoa bindings mechanism, the parameters of an AMBundleAction object are automatically set. You can change the parameters wholesale with setParameters:. Or you can get the current parameters dictionary with the parameters property and update individual parameters.

See Also

Setting and getting action properties

var bundle: Bundle

Returns the receiver’s bundle object.

var hasView: Bool

Returns whether the receiver has a view associated with it.

var view: NSView?

Returns the receiver’s view object.