In my application one is mainviewcontroller which is subclass of uiTableviewcontroller holds data from plist when clicked on a particular cell its displays detailviewcontroller(dvc) which is subclass of uiviewcontroller. dvc holds textfield & button .actually when i clicked on button i write textfield’s text on tableviewcell through plist but it is actually write data temporary but i want to write data permanently on tableview what can i do for that .its a navigation based application?
In my application one is mainviewcontroller which is subclass of uiTableviewcontroller holds data from
Share
Try this:
Loading the plist to dictionary:
Saving dictionary to plist:
Also use:
[nes.plistDict setObject:txtName.text forKey:@”col1″];
Not:
[nes.plistDict setValue:txtName.text forKey:@”col1″];
If this does not help can I see youre cellForRowAtIndexPath in mainviewcontroller?