Is there simple way to parse the binary plist file into the NSDictionary representation? I am searching something like that:
NSString* strings = [NSString st
Considering a file called DataStorageFile.plist
, you can use:
NSString *dataPath = [[NSBundle mainBundle] pathForResource:@"DataStorageFile" ofType:@"plist"];
self.data = [NSDictionary dictionaryWithContentsOfFile:dataPath];
If you want an array:
self.data = [NSArray arrayWithContentsOfFile:dataPath];
Are you looking for [NSDictionary dictionaryWithContentsOfFile:]
?