I have the following plist structure.I am really confused about what to do for writing the items into the plist without overwriting the existing data and reading them out.
The following is how my plist is,Please suggest me an appropriate coding logic for storing mechanism without overwriting the contents of it and how can i retrieve it later.
<?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>PlacesID</key>
<array/>
<key>PlaceName</key>
<array/>
</dict>
</plist>
I have two arrays which is populated dynamically and i have to store the contents of that array into this plist.How can i achieve this?
Anybody help me please.
Looking for a positive response...Thank you all in advance....