September 2002
Intermediate to advanced
1272 pages
31h 12m
English
The Foundation framework contains powerful string processing capabilities. Some are implemented directly by NSString methods such as –rangeOfString: and –componentsSeparatedByString:. The Foundation framework provides the NSCharacterSet and NSScanner classes that are used together to enable additional types of string processing. A character set defines a set of Unicode characters, and a scanner is used to find patterns involving characters from a set.
The NSCharacterSet class encapsulates a set of Unicode characters. NSCharacterSet is the public interface to a class cluster containing private classes optimized for different situations. For example, a character set composed solely of the ASCII subset of Unicode ...
Read now
Unlock full access