Contents

init(for:isStoredInMemoryOnly:)

Creates a model configuration for the specified model types.

Declaration

init(for forTypes: any PersistentModel.Type..., isStoredInMemoryOnly: Bool = false)

Parameters

  • forTypes:

    A list of persistent model types.

  • isStoredInMemoryOnly:

    A Boolean value that determines whether the associated persistent storage is ephemeral and exists only in memory. The default value is false.

See Also

Creating a model configuration