title: Edit an existing data in plist
body: <p>How can i override an existing data in a plist after checking if the data is already present or not, through coding</p>
  
  <p>In Detail:</p>
  
  <p>I am saving username and password in my plist file located in document directory. Now if user selects an change password option, the plist should check if his username exists or not. if it exists then the new password that he is entering should override the existing password in the plist.</p>
  
  <p>can anyone help me with some piece of sample code</p>