Link Search Menu Expand Document

ContentConfiguration

The requirements for an object that provides the configuration for a content view.

public protocol ContentConfiguration 

Requirements

makeContentView()

Creates a new instance of the content view using this configuration.

func makeContentView() -> View & ContentView

updated(for:​)

Generates a configuration for the specified state by applying the configuration’s default values for that state to any properties that you haven’t customized.

func updated(for state: ConfigurationState) -> Self