Shai UI
Shai UI

Reputation: 51958

IPhone App Settings: Settings.bundle vs plist file?

I'm a bit confused. I'd like to implement some simple settings for my app. I was thinking of just creating a simple plist file. But now I see that there's something called "Settings.bundle" (that also has a plist in there but some other stuff too).

What I'm wondering, which one should I use? (I'm looking for the easiest way)

Thanks!!

Upvotes: 1

Views: 1490

Answers (3)

johnnieb
johnnieb

Reputation: 4532

See the Displaying Application Settings section in the iOS Application Programming Guide.

Upvotes: 0

sbonkosk
sbonkosk

Reputation: 102

I would suggest looking into NSUserDefaults to store basic app settings.

Upvotes: 2

Andrew Pouliot
Andrew Pouliot

Reputation: 5421

The settings bundle is for having settings that show up in the system Settings.app. You can use a plist (or easier, NSUserDefaults, which handles the plist for you) to store settings that you change within the app itself.

Upvotes: 2

Related Questions