<!--
{
  "availability" : [
    "iOS: 9.0.0 - 27.0.0",
    "iPadOS: 9.0.0 - 27.0.0",
    "macCatalyst: 13.1.0 - 27.0.0",
    "tvOS: 9.0.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0",
    "watchOS: 2.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSBundleResourceRequest/bundle",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSBundleResourceRequest(py)bundle"
  },
  "title" : "bundle"
}
-->

# bundle

A reference to the bundle used for storing the downloaded resources. (read-only)

```
var bundle: Bundle { get }
```

## Discussion

This value is either the main bundle or the one specified in the call to [`init(tags:bundle:)`](/documentation/Foundation/NSBundleResourceRequest/init(tags:bundle:)). It is valid as soon as the [`NSBundleResourceRequest`](/documentation/Foundation/NSBundleResourceRequest) object is created.

---

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)