Contents

applicationOpenUntitledFile(_:)

Returns a Boolean value that indicates if the app opens an untitled file.

Declaration

@MainActor optional func applicationOpenUntitledFile(_ sender: NSApplication) -> Bool

Parameters

  • sender:

    The application object associated with the delegate.

Return Value

true if the file was successfully opened or false if it was not.

Discussion

Sent directly by theApplication to the delegate to request that a new, untitled file be opened.

See Also

Opening Files