Property Lists – plists – are a standard way of storing data in iPhone and MacOS programs. Here’s how you use them on the iPhone.
NSString* plistPath = [[NSBundle mainBundle] pathForResource:@"dwarves" ofType:@"plist"];
NSDictionary *plistDict = [[NSDictionary alloc] initWithContentsOfFile:plistPath];
// use plistDict
[plistPath release];
[plistDict release];