Generic Structure

Form

A container for grouping controls used for data entry, such as in settings or inspectors.

Declaration

struct Form<Content> where Content : View

Overview

SwiftUI renders forms in a manner appropriate for the platform. For example, on iOS, forms appear as grouped lists. Use Section to group different parts of a form’s content.

Topics

Deprecated

Instance Properties

Instance Methods

Relationships

Conforms To

See Also

Container Views

struct Group

An affordance for grouping view content.

struct GroupBox

A stylized view with an optional label that is associated with a logical grouping of content.

struct Section

An affordance for creating hierarchical view content.