I would like to edit particular value in a dictionary of arrays (under the key: thumbnailImage). For example i want to change thepark.png to theplace.png. How do i go about doing that in objective C? I also have made a copy of the plist to documents folder from the appbundle.
Below is the sample of my plist:
<?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">
<dict>
<key>location</key>
<array>
<string>The Park</string>
<string>The Coffee Place</string>
<string>The Center Fountain</string>
</array>
<key>timestamp</key>
<array>
<string>Not found yet</string>
<string>Not found yet</string>
</array>
<key>thumbnailImage</key>
<array>
<string>thepark.png</string>
<string>thecoffeeplace.png</string>
<string>thecetnerfountain.png</string>
</array>
</dict>
</plist>