Contents

init(named:in:)

Asynchronously loads an environment resource from a bundle.

Declaration

@MainActor @preconcurrency convenience init(named name: String, in bundle: Bundle? = nil) async throws

See Also

Loading the resource