Contents

shouldRunSavePanelWithAccessoryView

A Boolean value that indicates whether the document’s Save panel displays a list of supported writable document types.

Declaration

var shouldRunSavePanelWithAccessoryView: Bool { get }

Discussion

When the value of this property is true, the document includes a pop-up menu of supported writable document types when it displays the Save panel. The default value of this property is true. Subclasses can override this property to provide a different value. For example, you might provide the following implementation:

- (BOOL)shouldRunSavePanelWithAccessoryView {
    return [self fileURL] == nil;
}

See Also

Presenting a Save Panel