0
我需要向plist添加多个字典。怎么办?如何将字典添加到plist字典中?
NSMutableDictionary *rootDict = [[[NSMutableDictionary alloc] init] autorelease];
NSMutableDictionary *rowsDict = [[[NSMutableDictionary alloc] init] autorelease];
NSMutableDictionary *itemZeroDict1 = [[[NSMutableDictionary alloc] init] autorelease];
我需要添加rowsDict
和itemZeroDict1
至rootDict
。
发布您在.plist中创建或阅读的代码。然后人们可以告诉你如何添加字典。 – 2011-04-19 14:25:01
请用相关代码编辑您的问题,不要将其作为评论发布。 – Juliet 2011-04-19 14:28:37
在未来,也[正确地设置你的代码格式](http://stackoverflow.com/editing-help)。谢谢! – 2011-04-19 14:32:48