A structure that computes views on demand from an underlying collection of of identified data.
SDKs
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
Framework
- Swift
UI
Declaration
struct ForEach<Data, ID, Content> where Data : Random Access Collection, ID : Hashable