When I struct my SwiftUI View named Recipe and I assign Hashable, Codable, and Identifiable to it, I get an error saying:
Type 'Recipe' does not conform to protocol 'Identifiable'. Then when I try to add Protocol Stubbs the error message changes to Type 'Recipe' does not conform to protocol 'Decodable' and Type 'Recipe' does not conform to protocol 'Encodable'
1
0
2.3k