Link Search Menu Expand Document

App

A type that represents the structure and behaviour of an application.

public protocol App 

Default Implementations

main()

public static func main() 

Requirements

Body

The type of scene representing the content of the application.

associatedtype Body: Scene

body

The content and behaviour of the application.

@SceneBuilder
  var body: Self.Body 

init()

Creates an instance of the application using the body as the content.

init()

main()

Initializes and runs the application.

static func main()