iOS store just a little bit of data

前端 未结 3 937
时光说笑
时光说笑 2020-12-17 04:12

I was wondering if there is a way to store small amounts of data, without going to a full-blown core-data API. I just need to store 6 \'double\' values somewhere... What\'

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-17 05:07

    The easiest way to store small amounts of data without using some of the larger API's is the NSUserDefaults class. It's really easy to set up and use.

提交回复
热议问题