title: How to add and read items to the plist in iPhone?
body: <p>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.</p>
  
  <p>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.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  &lt;plist version="1.0"&gt;
  &lt;dict&gt;
      &lt;key&gt;PlacesID&lt;/key&gt;
      &lt;array/&gt;
      &lt;key&gt;PlaceName&lt;/key&gt;
      &lt;array/&gt;
  &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>
  
  <p>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?</p>
  
  <p>Anybody help me please.</p>
  
  <p>Looking for a positive response...Thank you all in advance....</p>