31.4 Adding the List View
With the data structure added to the project, the next step is to modify the content view so that it uses a List configured to extract the structured data from the carItems array. Before doing that, however, we first need to design a custom view to be presented within each list cell. Add this view to the ContentView.swift file as follows:
struct CellView: View {
var item: CarInfo
var body: some View {
HStack {
Image(systemName: item.image)
.resizable()
.scaledToFit()
...