开发者

Saving and retrieving data from NSMutablearray

开发者 https://www.devze.com 2023-02-04 23:43 出处:网络
I have a NSMutableArray holding string data. I want to save my data. When i turn off the application and relaunch the application my saved data need to be presented.

I have a NSMutableArray holding string data.

I want to save my data. When i turn off the application and relaunch the application my saved data need to be presented.

And I ne开发者_如何学Ced to know where the file saved.


This question is basically the same as yours: Saving a NSArray

Another option is to save it in NSUserDefaults.

0

精彩评论

暂无评论...
验证码 换一张
取 消