Instance Method

stopBrowsingVersions(completionHandler:)

Dismiss the Versions browser for the current document.

Declaration

func stopBrowsingVersions(completionHandler: (() -> Void)? = nil)

Parameters

completionHandler

The completion handler block to call when the Versions browser is fully dismissed. AppKit calls this block on your app's main thread, waiting for any dismissal animations to complete before calling it. The block block has no return value and no parameters.

See Also

Browsing Document Versions

func browseVersions(Any?)

Opens the Versions browser in the document’s main window.

var isBrowsingVersions: Bool

A Boolean value that indicates whether the document is currently displaying the Versions browser.