init(from:configurations:)
Loads an entity from a configuration catalog and a dictionary of configuration choices.
Declaration
@MainActor @preconcurrency convenience init(from catalog: Entity.ConfigurationCatalog, configurations: [String : String]? = nil) async throwsParameters
- catalog:
A collection of alternative representations for an entity.
- configurations:
A dictionary of configuration choices the initializer applies as it loads the entity, mapping the ID of a configuration set to the ID of a configuration within that set.