I am wanting to create an NSArray from strings stored (at various levels) in a plist of nested NSDictionary's.

I am trying the following code, but it only reads the key from the root dictionary: (FolderPath, and PlistFullName, have been previously defined)

Code:
NSString *plistFolder = [FolderPath stringByExpandingTildeInPath];
NSString *PlistPath = [plistFolder stringByAppendingPathComponent:PlistFullName];
        
NSDictionary *myDictionary = [NSDictionary dictionaryWithContentsOfFile: PlistPath];
        NSArray *myArray = [myDictionary objectForKey:@"myKey"];
where do I begin?

Russell
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to