Skip to content

Instantly share code, notes, and snippets.

import SwiftUI
import UniformTypeIdentifiers
struct MyStruct: Codable, Identifiable {
let id: Int
var name: String
}
struct ContentView: View {
@State private var structs = [MyStruct]()