Instance Method

persistentDomainNames

Returns an array of the current persistent domain names.

Declaration

- (NSArray *)persistentDomainNames;

Return Value

An array of NSString objects containing the domain names.

Discussion

You can get the keys and values for each domain by passing the returned domain names to the persistentDomainForName: method.

See Also

Maintaining Persistent Domains

- persistentDomainForName:

Returns a dictionary representation of the defaults for the specified domain.

- setPersistentDomain:forName:

Sets a dictionary for the specified persistent domain.

- removePersistentDomainForName:

Removes the contents of the specified persistent domain from the user’s defaults.