identifier(_:)
Tells SwiftData to use the specified group container as the root location for the app’s persistent storage.
Declaration
static func identifier(_ groupName: String) -> ModelConfiguration.GroupContainerParameters
- groupName:
The identifier of the group container to use. You find these in the App Groups capabilities section of your Xcode project. For more information, see Configuring App Groups.