NSWindow.HostingSheetRepresentation
A class representing a SwiftUI view hosted in an AppKit sheet.
Declaration
class HostingSheetRepresentation<Content> where Content : ViewOverview
This is created and returned NSWindow.beginSheet(content:completionHandler:) as a representation of the presented sheet. It can be used to change the root view of the sheet while presented or be used to programamtically dismiss the sheet from an AppKit context using NSWindow.endSheet(_:).