Predefined CFCharacterSet Selector Values

Identifiers for the available predefined CFCharacterSet objects.

Declaration

enum {
   kCFCharacterSetControl = 1,
   kCFCharacterSetWhitespace,
   kCFCharacterSetWhitespaceAndNewline,
   kCFCharacterSetDecimalDigit,
   kCFCharacterSetLetter,
   kCFCharacterSetLowercaseLetter,
   kCFCharacterSetUppercaseLetter,
   kCFCharacterSetNonBase,
   kCFCharacterSetDecomposable,
   kCFCharacterSetAlphaNumeric,
   kCFCharacterSetPunctuation,
   kCFCharacterSetCapitalizedLetter = 13,
   kCFCharacterSetSymbol = 14,
   kCFCharacterSetNewline = 15,
   kCFCharacterSetIllegal = 12
};

Overview

Use these constants with the CFCharacterSetGetPredefined function to get one of the predefined character sets.

Topics

Constants

kCFCharacterSetControl

Control character set (Unicode General Category Cc and Cf).

kCFCharacterSetWhitespace

Whitespace character set (Unicode General Category Zs and U0009 CHARACTER TABULATION).

kCFCharacterSetWhitespaceAndNewline

Whitespace and Newline character set (Unicode General Category Z*, U000A ~ U000D, and U0085).

kCFCharacterSetDecimalDigit

Decimal digit character set.

kCFCharacterSetLetter

Letter character set (Unicode General Category L* & M*).

kCFCharacterSetLowercaseLetter

Lowercase character set (Unicode General Category Ll).

kCFCharacterSetUppercaseLetter

Uppercase character set (Unicode General Category Lu and Lt).

kCFCharacterSetNonBase

Non-base character set (Unicode General Category M*).

kCFCharacterSetDecomposable

Canonically decomposable character set.

kCFCharacterSetAlphaNumeric

Alpha Numeric character set (Unicode General Category L*, M*, & N*).

kCFCharacterSetPunctuation

Punctuation character set (Unicode General Category P*).

kCFCharacterSetCapitalizedLetter

Titlecase character set (Unicode General Category Lt).

kCFCharacterSetSymbol

Symbol character set (Unicode General Category S*).

kCFCharacterSetNewline

Newline character set (U000A ~ U000D, U0085, U2028, and U2029).

kCFCharacterSetIllegal

Illegal character set.