---
title: allBundles
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/bundle/allbundles
---

# allBundles

Returns an array of all the application’s non-framework bundles.

## Declaration

```swift
class var allBundles: [Bundle] { get }
```

## Return Value

Return Value An array of all the application’s non-framework bundles.

## Discussion

Discussion The returned array includes the main bundle and all bundles that have been dynamically created but doesn’t contain any bundles that represent frameworks.

## See Also

### Getting standard bundle objects

- [main](foundation/bundle/main.md)
- [allFrameworks](foundation/bundle/allframeworks.md)
