description(withLocale:)
Returns a string that represents the contents of the set, formatted as a property list.
Declaration
func description(withLocale locale: Any?) -> StringParameters
- locale:
On iOS and macOS 10.5 and later, either an instance of
NSDictionaryor anNSLocaleobject may be used forlocale.In OS X v10.4 and earlier it must be an instance ofNSDictionary.
Return Value
A string that represents the contents of the set, formatted as a property list.
Discussion
This method sends each of the set’s members descriptionWithLocale: with locale passed as the sole parameter. If the set’s members do not respond to descriptionWithLocale:, this method sends description instead.