Instance Method

synchronize()

Waits for any pending asynchronous updates to the defaults database and returns; this method is unnecessary and shouldn't be used.

Declaration

func synchronize() -> Bool

Return Value

true if the data was saved successfully to disk, otherwise false.

See Also

Legacy

init?(user: String)

Creates a user defaults object initialized with the defaults for the specified user account.

Deprecated
class func resetStandardUserDefaults()

This method has no effect and shouldn't be used.