Contents

runModal(options:)

Displays the filter browser in a modal dialog that must be dismissed by the user but that is not attached to a window.

Declaration

func runModal(options inOptions: [AnyHashable : Any]! = [:]) -> Int32

Parameters

  • inOptions:

    A dictionary of options that describe the configuration to use for the filter browser user interface. For the possible keys you can supply see Filter Browser Option Keys and the constant Ikuisizeflavor.

Return Value

Either NSOKButton if the user validates, or NSCancelButton if the user cancels.

See Also

Displaying and Running the Panel