---
title: allFrameworks
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/bundle/allframeworks
---

# allFrameworks

Returns an array of all of the application’s bundles that represent frameworks.

## Declaration

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

## Return Value

Return Value An array of all of the application’s bundles that represent frameworks. Only frameworks with one or more Objective-C classes in them are included.

## Discussion

Discussion The returned array includes frameworks that are linked into an application when the application is built and bundles for frameworks that have been dynamically created.

## See Also

### Getting standard bundle objects

- [main](foundation/bundle/main.md)
- [allBundles](foundation/bundle/allbundles.md)
