Instance Method

volatileDomainForName:

Returns the dictionary for the specified volatile domain.

Declaration

- (NSDictionary<NSString *,id> *)volatileDomainForName:(NSString *)domainName;

Parameters

domainName

The domain whose keys and values you want.

Return Value

The dictionary of keys and values belonging to the domain. The keys in the dictionary are names of defaults, and the value corresponding to each key is a property list object (NSData, NSString, NSNumber, NSDate, NSArray, or NSDictionary).

See Also

Maintaining Volatile Domains

volatileDomainNames

The current volatile domain names.

- setVolatileDomain:forName:

Sets the dictionary for the specified volatile domain.

- removeVolatileDomainForName:

Removes the specified volatile domain from the user’s defaults.