Contents

NSWindow.HostingSheetRepresentation

A class representing a SwiftUI view hosted in an AppKit sheet.

Declaration

class HostingSheetRepresentation<Content> where Content : View

Overview

This is created and returned by 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 endSheet(_:).

Topics

Instance Properties