Protocol

DynamicViewContent

A type of view that generates views from an underlying collection of data.

Declaration

protocol DynamicViewContent

Topics

Managing the Data

var data: Self.Data

The collection of underlying data.

Required.

associatedtype Data

The type of the underlying collection of data.

Required.

Relationships

Inherits From

Conforming Types

  • ForEach
  • ModifiedContent

See Also

Lists and Scroll Views

struct List

A container that presents rows of data arranged in a single column.

struct ForEach

The collection of underlying identified data that SwiftUI uses to create views dynamically.

struct ScrollView

A scrollable view.

protocol Identifiable

A class of types whose instances hold the value of an entity with stable identity.

enum Axis

The horizontal or vertical dimension in a 2D coordinate system.