Sheetable

public protocol Sheetable : Identifiable

This protocol represents a model used for presenting a SwiftUI sheet element.

  • id

    A unique identifier.

    Declaration

    Swift

    var id: UUID { get }
  • A unique identifier of the associated Destination being presented.

    Declaration

    Swift

    var destinationID: UUID { get set }
  • An options object that configures how the sheet is presented.

    Declaration

    Swift

    var options: ViewSheetPresentationOptions? { get set }
  • The View to be presented in the sheet.

    Declaration

    Swift

    var view: ContainerView<AnyView> { get set }
  • A debugging description.

    Declaration

    Swift

    var description: String { get }