List

A container that presents rows of data arranged in a single column, optionally providing the ability to select one or more members.

32 components
initializer

Outline Group

A structure that computes views and disclosure groups on demand from an underlying collection of tree-structured, identified data.

initializer

Disclosure Group

A view that shows or hides another content view, based on the state of a disclosure control.

initializer

Edit Button

A button that toggles the edit mode environment value.

modifier

Section Index Label and Visibility

Sets the label that is used in a section index to point to this section, typically only a single character long. Changes the visibility of the list section index.

modifier

Move Disabled

Adds a condition for whether the view’s view hierarchy is movable.

modifier

Delete Disabled

Adds a condition for whether the view’s view hierarchy is deletable.

modifier

Refreshable List

Marks this view as refreshable.

modifier

Swipe Action

Adds custom swipe actions to a row in a list.

modifier

List Badge Prominence

Specifies the prominence of badges created by this view.

modifier

List Badge

Generates a badge for the view from an integer value.

environment

List Background Prominence

The prominence of the background underneath views associated with this environment.

modifier

List Row Background

Places a custom background view behind a list row item.

modifier

Hidden List Row Separator

Sets the display mode to hidden for the separator associated with this specific row.

modifier

Hidden List Section Separator

Sets whether to hide the separator associated with a list section.

modifier

List Section Separator Tint

Sets the tint color associated with a section.

modifier

List Row Separator Tint

Sets the tint color associated with a row.

modifier

List Item Tint

Sets a fixed tint color for content in a list.

modifier

List Section Margins

Set the section margins for the specific edges.

modifier

Compact List Section Spacing

Compact spacing between sections

modifier

Custom List Section Spacing

Sets the spacing between adjacent sections in a List to a custom value.

modifier

List Row Spacing

Sets the vertical spacing between two adjacent rows in a List.

modifier

Default Min List Header Height

The default minimum height of a header in a list.

modifier

Default Min List Row Height

The default minimum height of rows in a list.

modifier

List Row Insets

Applies an inset to the rows in a list.

modifier

Increased Header Prominence

Sets the header prominence to increased for this view.

style

SidebarListStyle

The list style that describes the behavior and appearance of a sidebar list.

style

InsetGroupedListStyle

The list style that describes the behavior and appearance of an inset grouped list.

style

InsetGroupedListStyle

The list style that describes the behavior and appearance of an inset grouped list.

style

InsetListStyle

The list style that describes the behavior and appearance of an inset list.