An easy way to store user preferences using NSUserDefaults.
PAPreferences maps dynamic properties onto NSUserDefaults getters and setters so that you can access defaults as if they were regular properties on an object. That object is normally a singleton since you typically want a single set of preferences for the entire app.
Works with iOS and OSX.
Using @dynamic properties to access NSUserDefaults