var body: some View {
VStack {
List {
ForEach(starSigns) {ZodiacSign in
NavigationLink(destination: ZodiacSign.DestinationView) {
Text(ZodiacSign.Symbol)
Text(ZodiacSign.name)
}
}
}
}
}
}
I have this basic view which gets information from a list I created, but how do I get the destination view to work where an example of it would be AriesView(), I would like the destination to be there. Currently it comes up with an error of "Protocol 'View ' cannot conform to the protocol itself"
Sorry for the complexity of this question, I was struggling to explain it.
THANK YOU IN ADVANCE!!!
5
0
519