Type Alias


An integer type for constants used to specify supported string encodings in various CFString functions.


typealias CFStringEncoding = UInt32


This type is used to define the constants for the built-in encodings (see CFStringBuiltInEncodings for a list) and for platform-dependent encodings (see External String Encodings). If CFString does not recognize or support the string encoding of a particular string, CFString functions will identify the string’s encoding as kCFStringEncodingInvalidId.