---
title: iCloud
framework: foundation
role: collectionGroup
role_heading: API Collection
path: foundation/icloud
---

# iCloud

Manage files and key-value data that automatically synchronize among a user’s iCloud devices.

## Topics

### iCloud Storage

- [FileManager](foundation/filemanager.md)
- [FileManagerDelegate](foundation/filemanagerdelegate.md)

### App Preferences

- [Synchronizing App Preferences with iCloud](foundation/synchronizing-app-preferences-with-icloud.md)
- [NSUbiquitousKeyValueStore](foundation/nsubiquitouskeyvaluestore.md)

### File Search

- [NSMetadataQuery](foundation/nsmetadataquery.md)
- [NSMetadataQueryDelegate](foundation/nsmetadataquerydelegate.md)
- [NSMetadataItem](foundation/nsmetadataitem.md)

### Entitlements

- [com.apple.developer.icloud-container-development-container-identifiers](bundleresources/entitlements/com.apple.developer.icloud-container-development-container-identifiers.md)
- [com.apple.developer.icloud-container-environment](bundleresources/entitlements/com.apple.developer.icloud-container-environment.md)
- [iCloud Container Identifiers Entitlement](bundleresources/entitlements/com.apple.developer.icloud-container-identifiers.md)
- [iCloud Services Entitlement](bundleresources/entitlements/com.apple.developer.icloud-services.md)
- [iCloud Key-Value Store Entitlement](bundleresources/entitlements/com.apple.developer.ubiquity-kvstore-identifier.md)

### Errors

- [iCloud Error Codes](foundation/icloud-error-codes.md)

## See Also

### Files and Data Persistence

- [File System](foundation/file-system.md)
- [Archives and Serialization](foundation/archives-and-serialization.md)
- [Settings](foundation/settings.md)
- [Spotlight](foundation/spotlight.md)
- [Optimizing Your App’s Data for iCloud Backup](foundation/optimizing-your-app-s-data-for-icloud-backup.md)
