---
title: infoDictionary
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/bundle/infodictionary
---

# infoDictionary

A dictionary, constructed from the bundle’s Info.plist file, that contains information about the receiver.

## Declaration

```swift
var infoDictionary: [String : Any]? { get }
```

## Discussion

Discussion If the bundle does not contain an Info.plist file, this dictionary contains only private keys that are used internally by the Bundle class. The Bundle class may add extra keys to this dictionary for its own use. Common keys for accessing the values of the dictionary are CFBundleIdentifier, NSMainNibFile, and NSPrincipalClass.

## See Also

### Related Documentation

- [principalClass](foundation/bundle/principalclass.md)

### Getting bundle information

- [bundleURL](foundation/bundle/bundleurl.md)
- [bundlePath](foundation/bundle/bundlepath.md)
- [bundleIdentifier](foundation/bundle/bundleidentifier.md)
- [object(forInfoDictionaryKey:)](foundation/bundle/object(forinfodictionarykey:).md)
