Hey guys i have a tableView and when the view is closed or left from, the tableViews data is saved! Could someone please provide some source code?? ANy help would be greatly appreciated!! Thanks 😀
-Kurt
Hey guys i have a tableView and when the view is closed or left
Share
First get the data from the tableview cell and save that to saveString..
Source
EDIT :1
To save the data from the array to the NSString:
then save the saveString in the NSUerdefaults.
EDIT :2
There are two options for you to store the array in the NSUserDefaults.
First one:
If you are having 10 elements in the array means Create 10 NSString and store in that strings.
Second one:
store the array in the nsuserdefaults