Are you saying you want the selection of the cell to trigger the display of the view for the second controller? If so, your code is not even trying to do that.when user selected a cell, i will be display at the other controller.
Doesn't seem to work how? Do you have any compile-time errors/ warnings? How about at run-time? Is it crashing? Are you certain viewWillAppear: is even being called? How are you causing the view for controller 2 to appear? What is the relationship between the two controllers? Master-detail?for controller 2 i place the code for loading the plist at viewWillAppear:
but it doesnt seems to work
All calls to didSelectRowAtIndexPath: are writing to the same Data.plist file. Why would you expect it not to overwrite?one of the problem should be at didSelectRowAtIndexPath:
everytime i selected a cell and save. it just over write the previous save cell in the plist.
I would start by following chown33's advice:how can i solve this problem?
Post your code. Describing code does nothing. We can't debug descriptions. Even if we could, the translation from description to code could be incorrect.