init(named:in:loadingPolicy:)
Creates a reference component with a name, loading policy, and bundle.
Declaration
init(named name: String, in bundle: Bundle, loadingPolicy: ReferenceComponent.LoadingPolicy = .onDemand)Parameters
- name:
The name of the entity to load.
- bundle:
The bundle to search for the resource.
- loadingPolicy:
A loading policy indicating when the app loads the entity.