Are plists the best way to store multiple settings in an app for my iOS app?

I immerse myself in iOS development and create a game with several types of games. When the user selects what type of game they want to play, he is presented with a game configuration screen where they can configure their game settings. Since there are two different types of games, there will be two different configuration screens. With my limited knowledge of iOS programming, I planned to use two separate layers to represent the settings and save the settings. Anyone suggest a better way to do this?

Many thanks for your help!

+4
source share
2 answers

If this is an actual application, you can use NSUserDefaults to save information at the default default values. Thus, you do not need to bother with files.

+5
source

This is a pretty decent approach. Although you can use one plist file with a dictionary that has two keys (one for each game).

+2
source

All Articles