Type Property

decimalDigitCharacterSet

A character set containing the characters in the category of Decimal Numbers.

Declaration

@property(readonly, class, copy) NSCharacterSet *decimalDigitCharacterSet;

Return Value

A character set containing all the decimal digit characters.

Discussion

Informally, this set is the set of all characters used to represent the decimal values 0 through 9. These characters include, for example, the decimal digits of the Indic scripts and Arabic.

See Also

Getting Standard Character Sets

alphanumericCharacterSet

A character set containing the characters in Unicode General Categories L*, M*, and N*.

capitalizedLetterCharacterSet

A character set containing the characters in Unicode General Category Lt.

controlCharacterSet

A character set containing the characters in Unicode General Category Cc and Cf.

decomposableCharacterSet

A character set containing individual Unicode characters that can also be represented as composed character sequences (such as for letters with accents), by the definition of “standard decomposition” in version 3.2 of the Unicode character encoding standard.

illegalCharacterSet

A character set containing values in the category of Non-Characters or that have not yet been defined in version 3.2 of the Unicode standard.

letterCharacterSet

A character set containing the characters in Unicode General Category L* & M*.

lowercaseLetterCharacterSet

A character set containing the characters in Unicode General Category Ll.

newlineCharacterSet

A character set containing the newline characters (U+000A ~ U+000D, U+0085, U+2028, and U+2029).

nonBaseCharacterSet

A character set containing the characters in Unicode General Category M*.

punctuationCharacterSet

A character set containing the characters in Unicode General Category P*.

symbolCharacterSet

A character set containing the characters in Unicode General Category S*.

uppercaseLetterCharacterSet

A character set containing the characters in Unicode General Category Lu and Lt.

whitespaceAndNewlineCharacterSet

A character set containing characters in Unicode General Category Z*, U+000A ~ U+000D, and U+0085.

whitespaceCharacterSet

A character set containing the characters in Unicode General Category Zs and CHARACTER TABULATION (U+0009).

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software