Instance Method

removeObject(forKey:)

Removes the value of the specified default key.

Declaration

func removeObject(forKey defaultName: String)

Parameters

defaultName

The key whose value you want to remove.

Discussion

Removing a default has no effect on the value returned by the object(forKey:) method if the same key exists in a domain that precedes the standard application domain in the search list.

See Also