---
title: "What is the use of NSBundle in Objective-C?"  
description: "What is the use of NSBundle in Objective-C?"  
author: "Tarun Kumar"  
published: 2016-02-05  
updated: 2020-09-22  
canonical: https://www.mindstick.com/interview/22979/what-is-the-use-of-nsbundle-in-objective-c  
category: "iphone"  
tags: ["iphone", "ios", "objective c"]  
reading_time: 1 minute  

---

# What is the use of NSBundle in Objective-C?

**NSBundle** class is a subclass of NSObject and available from version iOS 2.0. Its object represents a location in the file system that groups code and resources which can be used by any program.

Means whenever we create any application the data of application is stored in the *"application bundle"* by the system - which can include resources like *strings, images, videos, icons, and so on*. So if we want to access (use) those resources from our application then it is necessary to know about **NSBundle** class.

## Answers

### Answer by Tarun Kumar

**NSBundle** class is a subclass of NSObject and available from version iOS 2.0. Its object represents a location in the file system that groups code and resources which can be used by any program.

Means whenever we create any application the data of application is stored in the *"application bundle"* by the system - which can include resources like *strings, images, videos, icons, and so on*. So if we want to access (use) those resources from our application then it is necessary to know about **NSBundle** class.


---

Original Source: https://www.mindstick.com/interview/22979/what-is-the-use-of-nsbundle-in-objective-c

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
