开发者

How to store/retrieve an NSMutableArray of objects?

How do I store/retrieve an NSMutableArray of objects开发者_高级运维? The easy / fast way please. Thanks!


It depends on what format you'd like to use. If you are fine with using property lists, then you can use writeToFile to save the array, and you can use arrayWithContentsOfFile to load it back again.


Archiving? Missed the iPhone tag, not sure if this will work on the iPhone or not.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜