debugDescription
- iOS
- 16.4+
- macOS
- 13.3+
- tvOS
- 16.4+
- watchOS
- 9.4+
var debugDescription: String { get }
var debugDescription: String { get }
s20FoundationEssentials6LocaleV9CollationV16debugDescriptionSSvp
What are these?BHD4
import FoundationEssentials
struct Collation
struct Locale
Locale
encapsulates information about linguistic, cultural, and technological conventions and standards. Examples of information encapsulated by a locale include the symbol used for the decimal separator in numbers and the way dates are formatted.
@frozen struct String
A Unicode string value that is a collection of characters.
init(_ identifier: String)
The complete list of collation identifiers can be found here, under the key named “co”
init(from decoder: any Decoder) throws
init(stringLiteral value: String)
static let cldrKeywordKey: ICUCLDRKey
static let legacyKeywordKey: ICULegacyKey
static let searchRules: Locale.Collation
Dedicated for string search. This is only appropriate for determining whether two strings should be considered equivalent. Using this may ignore or modify the string for searching purpose. For example, the contractions in Thai and Lao are suppressed. It should not be used to determine the relative order of the two strings.
static let standard: Locale.Collation
The default ordering for each language
var identifier: String { get set }
static func == (lhs: Locale.Collation, rhs: Locale.Collation) -> Bool
func encode(to encoder: any Encoder) throws
func hash(into hasher: inout Hasher)