Skip to content

Glossary: SwiftUI

inMemory

Also written: inMemory: true

An option that makes a ModelContainer live only in memory, so nothing is written to disk. Previews use it to start with a throwaway database.

Where the book teaches it

Related terms

ModelContainer#Preview