Type Property

whitespaceCharacterSet

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

Declaration

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

Return Value

A character set containing all the whitespace characters.

Discussion

This set doesn’t contain the newline or carriage return characters.

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.

decimalDigitCharacterSet

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

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.