Returns a character set containing the characters in Unicode General Category Cc and Cf.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
class func control() -> NSMutable Character Set
Returns a character set containing the characters in Unicode General Category Cc and Cf.
SDKs
Framework
class func control() -> NSMutable Character Set
class func alphanumeric() -> NSMutable Character Set
Returns a character set containing the characters in Unicode General Categories L*, M*, and N*.
class func capitalized Letter() -> NSMutable Character Set
Returns a character set containing the characters in Unicode General Category Lt.
class func decimal Digit() -> NSMutable Character Set
Returns a character set containing the characters in the category of decimal numbers.
class func decomposable() -> NSMutable Character Set
Returns 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.
class func illegal() -> NSMutable Character Set
Returns 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.
class func letter() -> NSMutable Character Set
Returns a character set containing the characters in Unicode General Category L* & M*.
class func lowercase Letter() -> NSMutable Character Set
Returns a character set containing the characters in Unicode General Category Ll.
class func newline() -> NSMutable Character Set
Returns a character set containing the newline characters (U+000A
~ U+000D
, U+0085
, U+2028
, and U+2029
).
class func non Base() -> NSMutable Character Set
Returns a character set containing the characters in Unicode General Category M*.
class func punctuation() -> NSMutable Character Set
Returns a character set containing the characters in Unicode General Category P*.
class func symbol() -> NSMutable Character Set
Returns a character set containing the characters in Unicode General Category S*.
class func uppercase Letter() -> NSMutable Character Set
Returns a character set containing the characters in Unicode General Category Lu and Lt.
class func whitespace And Newline() -> NSMutable Character Set
Returns a character set containing characters in Unicode General Category Z*, U+000A
~ U+000D
, and U+0085
.
class func whitespace() -> NSMutable Character Set
Returns a character set containing the characters in Unicode General Category Zs and CHARACTER TABULATION
(U+0009
).