9.2 Enumerations
This section lists the enumeration constants defined by and used in
the Foundation framework.
enum {
NSNotFound = 0x7fffffff
};
NSOpenStepUnicodeReservedBase |
|
enum {
NSOpenStepUnicodeReservedBase = 0xF400
};
NSProcessInfo (Operating Systems) |
|
enum {
NSWindowsNTOperatingSystem = 1,
NSWindows95OperatingSystem,
NSSolarisOperatingSystem,
NSHPUXOperatingSystem,
NSMACHOperatingSystem,
NSSunOSOperatingSystem,
NSOSF1OperatingSystem
};
NSScriptCommand (General Command Execution Errors) |
|
enum {
NSNoScriptError = 0,
NSReceiverEvaluationScriptError,
NSKeySpecifierEvaluationScriptError,
NSArgumentEvaluationScriptError,
NSReceiversCantHandleCommandScriptError,
NSRequiredArgumentsMissingScriptError,
NSArgumentsWrongScriptError,
NSUnknownKeyScriptError,
NSInternalScriptError,
NSOperationNotSupportedForKeyScriptError,
NSCannotCreateScriptCommandError
};
NSScriptObjectSpecifier (Specifier Evaluation Errors) |
|
enum {
NSNoSpecifierError = 0,
NSNoTopLevelContainersSpecifierError,
NSContainerSpecifierError,
NSUnknownKeySpecifierError,
NSInvalidIndexSpecifierError,
NSInternalSpecifierError,
NSOperationNotSupportedForKeySpecifierError
};
NSUndoCloseGroupingRunLoopOrdering |
|
enum {
NSUndoCloseGroupingRunLoopOrdering = 350000
};
enum {
NSCaseInsensitiveSearch = 1,
NSLiteralSearch = 2,
NSBackwardsSearch = 4,
NSAnchoredSearch = 8
};
enum {
NSASCIIStringEncoding = 1,
NSNEXTSTEPStringEncoding = 2,
NSJapaneseEUCStringEncoding = 3,
NSUTF8StringEncoding = 4,
NSISOLatin1StringEncoding = 5,
NSSymbolStringEncoding = 6,
NSNonLossyASCIIStringEncoding = 7,
NSShiftJISStringEncoding = 8,
NSISOLatin2StringEncoding = 9,
NSUnicodeStringEncoding = 10,
NSWindowsCP1251StringEncoding = 11,
NSWindowsCP1252StringEncoding = 12,
NSWindowsCP1253StringEncoding = 13,
NSWindowsCP1254StringEncoding = 14,
NSWindowsCP1250StringEncoding = 15,
NSISO2022JPStringEncoding = 21,
NSMacOSRomanStringEncoding = 30,
NSProprietaryStringEncoding = 65536
};
|