fedor@boulder.colorado.edu
)Version: 1.47
Date: 2004/06/22 22:40:36
Copyright: (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
- Declared in:
- Foundation/NSCharacterSet.h
- Conforms to:
- NSCoding
- NSCopying
- NSMutableCopying
Standards:
- MacOS-X
- OpenStep
- GNUstep
Represents a set of unicode characters. Used by NSScanner and NSString for parsing-related methods.
Method summaryReturns a character set containing letters, numbers, and diacritical marks. Note that "letters" includes all alphabetic as well as Chinese characters, etc..
Returns a character set containing characters as encoded in the data object.
Returns set with characters in aString,
or empty set for empty string. Raises an exception if
given a nil
string.
Initializes from a bitmap. (See
NSBitmapCharSet
.) File must have extension " .bitmap
".
(To get around this load the file into data yourself
and use [NSCharacterSet
-characterSetWithBitmapRepresentation].
Returns set containing unicode index range given by aRange.
Returns a character set containing control and format characters.
Returns a character set containing characters that represent the decimal digits 0 through 9.
Returns a character set containing individual charactars that can be represented also by a composed character sequence.
Returns a character set containing unassigned (illegal) character values.
Returns a character set containing letters, including all alphabetic as well as Chinese characters, etc..
Returns a character set that contains the lowercase characters. This set does not include caseless characters, only those that have corresponding characters in uppercase and/or titlecase.
Returns a character set containing characters for diacritical marks, which are usually only rendered in conjunction with another character.
Returns a character set containing punctuation marks.
Returns a character set containing mathematical symbols, etc..
Returns a character set that contains the uppercase characters. This set does not include caseless characters, only those that have corresponding characters in lowercase and/or titlecase.
Returns a character set that contains the whitespace characters, plus the newline characters, values 0x000A and 0x000D.
Returns a character set that contains the whitespace characters.
Returns a bitmap representation of the receiver's character set suitable for archiving or writing to a file, in an NSData object.
Returns YES
if the receiver contains
aCharacter, NO
if it
does not.
Returns a character set containing only characters that the receiver does not contain.
- Declared in:
- Foundation/NSCharacterSet.h
Standards:
- MacOS-X
- OpenStep
- GNUstep
An NSCharacterSet that can be modified.
Method summaryAdds characters specified by unicode indices in aRange to set.
Adds characters in aString to set.
Set intersection of character sets.
Set union of character sets.
Remove all characters currently in set and add all other characters.
Drop given range of characters. No error for characters not currently in set.
Drop characters in aString. No error for characters not currently in set.