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

Instance Properties

Instance Methods

Relationships

Conforms To

See Also

Container Views

struct Group

An affordance for grouping view content.

Beta
struct GroupBox

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

Beta
struct Section

An affordance for creating hierarchical view content.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software