我想取字典的名称,或者换句话说,它们是字典的键并将其存储在 NSString 中。例如:
<dict>
<key>dictionary1</key>
<dict/>
<key>string1</key>
<string></string>
<key>string2</key>
<string></string>
<key>dictionary2</key>
<dict/>
<key>string3</key>
<string></string>
<key>dictionary3</key>
<dict/>
<key>string4</key>
<string></string>
`
我想获取dictionary1 和dictionary2 并将其存储在如下所示的NSString 中:@"dictionary1" 和@"dictionary2"。谢谢你的帮助。