---
title: "init(bundle:)"
framework: Compute Graph
role: symbol
role_heading: Initializer
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "computegraph/computenodegraph/library/init(bundle:)"
---

# init(bundle:)

Creates a library from the Metal default library in the given bundle, if available.

## Declaration

```swift
convenience init?(bundle: Bundle)
```
