我有一个字典数组,它保存在应用程序的文档目录中如何更新特定键和索引的值?例如:我想更新第二个字典人的名字
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>personName</key>
<string>John Sculey</string>
<key>isPersonAdult</key>
<true/>
<key>personID</key>
<integer>12541</integer>
<key>personPicture</key>
<string>john.jpg</string>
<key>personDesignation</key>
<string>Branding Manager</string>
<key>personDepartment</key>
<integer>2</integer>
<key>personEmail</key>
<string>john@johnsculey.com</string>
</dict>
<dict>
<key>personName</key>
<string>Chris Seattle</string>
<key>isPersonAdult</key>
<true/>
<key>personID</key>
<integer>89854</integer>
<key>personPicture</key>
<string>chris.jpg</string>
<key>personDesignation</key>
<string>Branding Manager</string>
<key>personDepartment</key>
<integer>2</integer>
<key>personEmail</key>
<string>chris@johnsculey.com</string>
</dict>
等等....