0

Hey guys i need some help with logic in my app. I have an app that is a checklist that lets u add or delete cells. I want to store the cells in NSUserDefaults so that way, when i open the checklist page up again, the checklist will be just as it was when the page was closed! Any help would be appreciated! Thanks a lot everybody!!

XcoderX
  • 23
  • 7

1 Answers1

0

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.

Community
  • 1
  • 1
Anton
  • 2,342
  • 15
  • 17