Contents

init(named:from:)

Creates a reference object from a bundle.

Declaration

init(named: String, from bundle: Bundle? = nil) async throws

Parameters

  • named:

    Name of object to load in bundle.

  • bundle:

    Bundle to load from. If unspecified, defaults to the main bundle.

See Also

Creating reference objects