2019-11-16a few seconds read (About 51 words)How to show list with section in SwiftUIIssue #511 12345678910111213141516171819202122232425struct CountriesView: View { let groups: [Group] init(countries: [Country]) { self.groups = CountryManager.shared.groups(countries: countries) } var body: some View { List { ForEach(groups) { group in Section( header: Text(group.initial) .foregroundColor(Color.yellow) .styleTitle(), content: { ForEach(group.countries) { country in CountryRow(country: country) } } ) } } }}#swiftUIwatchOS