Playbook Documentation

Structure Playbook​Catalog

public struct PlaybookCatalog: View  

A view that displays scenarios manged by given Playbook instance with catalog-style appearance.

PlaybookCatalog PlaybookCatalog View View PlaybookCatalog->View

Conforms To

View

Initializers

init(name:​playbook:​)

public init(
        name: String = "PLAYBOOK",
        playbook: Playbook = .default
    )  

Creates a new view that displays scenarios managed by given Playbook instance.

Parameters

name String

A name of Playbook to be displayed on the user interface.

playbook Playbook

A Playbook instance that manages scenarios to be displayed.

Properties

body

public var body: some View  

Declares the content and behavior of this view.