user3582537
user3582537

Reputation: 424

How do I handle saving data in my iOS application?

My application needs to save several information about the user therefore I have planned methods to achieve this target. I managed this step by saving those information in two different location but I'm starting doubt about this, let me explain better:

I'm creating the application in order to be ready to some updates. During those updates I don't want the user to lose any of those saved data. Am I doing something wrong or confused? Should I save everything inside NSUserDefaults?.

Upvotes: 0

Views: 44

Answers (1)

nsinvocation
nsinvocation

Reputation: 7637

1) Using NSUserDefaults to save tutorial status is ok. Not very clear what you mean by "user configuration" ? Is it some sensitive data (password, email) ? If yes than it's not good to save it in a plist without encryption.

2) User Defaults is not deleted when app is updated.

Upvotes: 1

Related Questions