init(name:in:)
Creates the object anchoring source by reference object file asset with provided name and bundle.
Declaration
init(name: String, in bundle: Bundle = .main)Parameters
- name:
The name of the reference object in the bundle.
- bundle:
The bundle to load from.