I am using XCode 4.0.2 for a iOS4 project.
When my app starts, the application didFinishLaunchingWithOptions method in the application delegate loads a NSDictionary form a plist:
NSString* plistPath = [[NSBundle mainBundle] pathForResource:@"RGBSpaces" ofType:@"plist"];
RGBSpacesDictionary = [NSDictionary dictionaryWithContentsOfFile:plistPath];
The NSDictionary is readonly. How can I read one or more elements of NSDictionary from an arbitrary class?
Thank you
And then you can use appDelegate to access its properties including dictionaries.