Contents

container

The context’s model container.

Declaration

var container: ModelContainer { get }

Discussion

The property provides a reference to the model container you specify when calling the context’s initializer. For more information, see init(_:).