I have a handful of images with names such as area, volume, etc.
I want to use data to drive the images displayed. This is an example of what places can be:
let places = {
names: ["area", "volume"]
}
I tried something like this below but getting Referencing initializer 'init(_:content:)' on 'ForEach' requires that 'String' conform to 'Identifiable'
ForEach(places.name) { place in
NavigationLink (destination: Any()) {
HStack {
Image(place)
}