Top "Nsbundle" questions

An NSBundle object represents a location in the file system that groups code and resources that can be used in a program.

Using NSBundle to load my resources

I wanted to separate my resources, nib files and localization files into a common reusable bundle. And so I created …

objective-c ios resources nsbundle
UILocalNotification custom sound

I have been searching for a solution for hours.. with absolutely zero luck. I set up a Local Notification: UILocalNotification *…

iphone ios4 nsbundle audio uilocalnotification
iPhone - Change bundle identifier

Initially my app's bundle identifier was the default MyCompany.${PRODUCT_NAME:rfc1034identifier} This wasn't matching the app ID I …

ios nsbundle
NSBundle, plist and other resources in an Obj-c Static Library

I've created a static library in Xcode, which I am able to successfully use in other projects. However, with resources …

iphone plist nsbundle
Problem getting path to .plist using [[NSBundle mainBundle] pathForResource

I'm an Objective C noob, and I don't know enough to explain the following problem. This code works: NSString *plistPath = @"/…

iphone objective-c nsbundle
OCUnit & NSBundle

I created OCUnit test in concordance with "iPhone Development Guide". Here is the class I want to test: // myClass.h #…

unit-testing resources ocunit nsbundle
NSBundle mainBundle pathForResource (maybe not the same problem)

Problem : [NSBundle mainBundle] pathForResource returns null (0x0) I read a lot of posts on this topic, here is what I …

ios ipad nsbundle
How can I load an image from Assets.car (compiled version of xcassets) within an NSBundle? (without using CocoaPods)

We're getting these kind of error messages: Could not load the "iconStatus" image referenced from a nib in the bundle …

ios nsbundle xcasset
Get file path from NSBundle in Swift

I have a file stored in: /var/mobile/Containers/Data/Application/083EA15E7/Documents/myFile.zip It got there after …

swift file nsbundle
How do I get an NSArray of filenames of all files in a given directory in my app?

What I want to do seems simple enough: Get an array of filenames in a given "directory" on my app. …

iphone xcode filesystems nsfilemanager nsbundle