Skip to content

Glossary: SwiftUI

Identifiable

A protocol requiring an `id` property that is different for every value, so List and ForEach can tell rows apart. MenuItem has an `id`, so the conformance is free.

Where the book teaches it

Related terms

ListForEachUUIDHashable