Iterating through array of structs based on json causes preview to fail

后端 未结 0 1776
予麋鹿
予麋鹿 2021-01-21 07:25

The code takes json data from list.json and I created a swift view BookView as another file.

import SwiftUI

struct product: Codable, Hashable {
    var name: Str         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题