Protocol

Identifiable

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

Declaration

protocol Identifiable

Topics

Specifying the Associated Type

associatedtype ID

A type representing the stable identity of the entity associated with self.

Required.

Specifying the Identified Item

var id: Self.ID

The stable identity of the entity associated with self.

Required. Default implementation provided.

See Also

Lists and Scroll Views

struct List

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

Beta
protocol DynamicViewContent

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

Beta
struct ForEach

A structure that computes views on demand from an underlying collection of of identified data.

Beta
struct ScrollView

A scroll view.

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