Suponha que queremos exibir o conteúdo de um array em uma lista SwiftUI. Podemos fazer isso com ForEach:
struct PeopleList: View {
var people: [Person]
var body: some View {
List {
ForEach(people) { person in
Text(person.ForEach(zipextension Sequence {
/// Numbers the elements in `self`, starting with the specified number.
/// - Returns: An array of (Int, Element) pairs.
func numbered(startingAt start: Int = @dynamicMemberLookup
struct Numbered<Element> {
var number: extension Numbered: Identifiable where Element

