title: Replace a value in NSDictionary in iPhone
body: <p>I have a array (dataArray) of NSDictionary "item". It has datas like "david" for key "name" and "85" for key "marks" etc for 5 students. I want to replace the mark of david to 90 with respect to the array index value (ie 0 for dictionary containing david and 85). How can I do it?</p>
  
  <p>The code for content in array is </p>
  
  <pre><code>[item setobject:name forkey:@"Name"];
  [item setobject:mark forkey:@"Marks"];
  [dataArray addOject:item]
  </code></pre>
  
  <p>The above code goes inside parsing, so i have array with 5 objects (students), their name and marks, now I want to replace the mark of the first object in the dataArray.</p>