plistファイルの辞書の辞書の文字列にアクセスするにはどうすればよいですか?私はこれを試しましたが、機能しません:
NSString *myfile = [[NSBundle mainBundle] pathForResource: arrayname ofType:@"plist"];
WordsDic = [[NSDictionary alloc] initWithContentsOfFile:myfile];
words = [WordsDic allKeys];
insidedic = [[NSDictionary alloc] initWithDictionary:[[words objectAtIndex:0] ]];;
level2 = [insidedic allKeys];
それから私はこれを試しましたが、エラーが発生しました
for (NSString *parent in words) {
insidedic = [WordsDic objectForKey:parent];
level2 = [insidedic allKeys];
NSLog(@"%@", level2);
}