Enumeration Case

NSNumericSearch

Numbers within strings are compared using numeric value, that is, Name2.txt < Name7.txt < Name25.txt.

Declaration

NSNumericSearch = 64

Discussion

Numeric comparison only applies to the numerals in the string, not other characters that would have meaning in a numeric representation such as a negative sign, a comma, or a decimal point.

This option only applies to compare methods, not find.

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