Initializer

init()

Creates a user defaults object initialized with the defaults for the app and current user.

Declaration

convenience init()

Discussion

This initializer is equivalent to passing nil to the init(suiteName:) initializer.

Use this initializer only if you're not using the shared standard user defaults.

See Also

Creating User Defaults Objects

init?(suiteName: String?)

Creates a user defaults object initialized with the defaults for the specified database name.