<!--
{
  "availability" : [
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ReferenceObject/init(named:from:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "s:5ARKit15ReferenceObjectV5named4fromACSS_So8NSBundleCSgtYaKcfc"
  },
  "title" : "init(named:from:)"
}
-->

# init(named:from:)

Creates a reference object from a bundle.

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)