---
title: "What is bundle , document directory and sandbox ?"  
description: "What is bundle , document directory and sandbox ?"  
author: "Sunil Singh"  
published: 2015-05-11  
updated: 2020-09-22  
canonical: https://www.mindstick.com/interview/2508/what-is-bundle-document-directory-and-sandbox  
category: "iphone"  
tags: ["iphone", "ios", "ipad"]  
reading_time: 1 minute  

---

# What is bundle , document directory and sandbox ?

**Sandbox:** sandbox is a set of fine-grained controls that limit the app’s access to files, preferences, network resources, hardware, and so on. As part of the sandboxing process, the system installs each app in its own sandbox directory, which acts as the home for the app and its data.

**Bundle :** A bundle is a directory with a standardized hierarchical structure that holds executable code and the resources used by that code.

**Documents :** Documents directory allows you to store files and subdirectories your app creates or may need.

## Answers

### Answer by Sunil Singh

**Sandbox:** sandbox is a set of fine-grained controls that limit the app’s access to files, preferences, network resources, hardware, and so on. As part of the sandboxing process, the system installs each app in its own sandbox directory, which acts as the home for the app and its data.

**Bundle :** A bundle is a directory with a standardized hierarchical structure that holds executable code and the resources used by that code.

**Documents :** Documents directory allows you to store files and subdirectories your app creates or may need.


---

Original Source: https://www.mindstick.com/interview/2508/what-is-bundle-document-directory-and-sandbox

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
