NSUserDefaults is there to store things that look more like settings. For your task you'd better use Core Data or store data yourself in a separate file.
Here is the official tutorial which is pretty good. It can (actually, intended to) be integrated with table views. There are lots of tutorials out there.
发布评论
评论(1)
NSUserDefaults
用于存储看起来更像设置的内容。对于您的任务,您最好使用核心数据或将数据自己存储在单独的文件中。这是官方教程这非常好。它可以(实际上,有意)与表视图集成。有很多教程那里。
您还应该检查此线程。
NSUserDefaults
is there to store things that look more like settings. For your task you'd better use Core Data or store data yourself in a separate file.Here is the official tutorial which is pretty good. It can (actually, intended to) be integrated with table views. There are lots of tutorials out there.
You should also check this SO thread.