Type Method

localized​Name(of:​)

Returns a human-readable string giving the name of a given encoding.

Declaration

class func localizedName(of encoding: UInt) -> String

Parameters

encoding

A string encoding. For possible values, see NSString​Encoding.

Return Value

A human-readable string giving the name of encoding in the current locale.