Saving Setting Option (Local or Database)

Hi,

I am adding various intro pop up screens / messages to my app that explain various parts of the app... such as:


==============================

WELCOME

This section allows you to... etc.

[ ] don't show this again

==============================


User's can click the 'don't show this again' option and the setting will be saved,so that they don't see the message again, however i am trying to decide where to save this setting.

Which do you think is a better method?

A - save the setting to locally within the app (quicker access, but would future updates cause problems)

B - save the setting to the user's profile in the database (slower, but would not effect future updates)


Any advice on this would be greatly appreciated, thank you.
oo7mlAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

KRUNAL TAILORFreelance Mobile DeveloperCommented:
Hi oo7ml,

You may use the " NSUserDefaults class". Here is the class ref: https://developer.apple.com/library/prerelease/ios/documentation/Cocoa/Reference/Foundation/Classes/NSUserDefaults_Class/index.html

You can save settings and properties within application, saved data will persist through application sessions.
Here is tutorial: http://code.tutsplus.com/tutorials/ios-sdk-working-with-nsuserdefaults--mobile-6039

Thanks & Regards,
Krunal T. Tailor
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
oo7mlAuthor Commented:
Thanks. Woukd updating the app in the future every affect the data saved locally?
0
KRUNAL TAILORFreelance Mobile DeveloperCommented:
No, it want affect the data until you remove and install again.
Update is not cause any problem. I had already used in my apps to save data similar way.
0
oo7mlAuthor Commented:
Excellent, thank you.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Smartphone Programming

From novice to tech pro — start learning today.