Swift, Swiftui, iOS App Development, Mobile App Development, Programming.
sharedModelContainer: ModelContainer = { let schema = Schema(CurrentScheme.models) let modelConfiguration = ModelConfiguration(schema: schema, isStoredInMemoryOnly: false) ​ do { return try ModelContainer(for: schema, configurations: [modelConfiguration]) } catch { fatalError("Could not create