Home > DeveloperSection > Interviews > What is the use of NSBundle in Objective-C?

Posted on    February-05-2016 7:32 AM

 iPhone iPhone  Ios  Objective C 
 1 Answer(s)
  286  View(s)
Rate this:

Tarun Kumar

Total Post:107

Posted on    February-05-2016 8:32 AM

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.

Don't want to miss updates? Please click the below button!

Follow MindStick