init()
Creates a new defaults object and initializes it with the app’s current settings.
Declaration
convenience init()Discussion
Use this method to create a new defaults object to manage the app’s settings. If you add a domain using the addSuite(named:) method, the returned object retrieves values in that domain in addition to the standard ones. Custom domains remain in the search list until you remove them or release the object. When you write setting values using this object, it writes them to the current app’s settings.