init(named:from:)
Creates a reference object from a bundle.
Declaration
init(named: String, from bundle: Bundle? = nil) async throwsParameters
- named:
Name of object to load in bundle.
- bundle:
Bundle to load from. If unspecified, defaults to the main bundle.