Up

Types and Constants

Authors

Richard Frith-Macdonald

Copyright: (C) 2005 Free Software Foundation, Inc.


Contents -

  1. Type index
  2. Variable index
  3. Constant index
  4. NSArchiver constants
  5. NSBundle constants
  6. NSClassDescription constants
  7. NSConnection constants
  8. NSDate constants
  9. NSDistributedNotificationCenter constants
  10. NSError constants
  11. NSException constants
  12. NSFileHandle constants
  13. NSFileManager constants
  14. NSGeometry constants
  15. NSHashTable constants
  16. NSHTTPCookie constants
  17. NSHTTPCookieStorage constants
  18. NSKeyedArchiver constants
  19. NSKeyValueCoding constants
  20. NSKeyValueObserving constants
  21. NSMapTable constants
  22. NSNetServices constants
  23. NSPort constants
  24. NSRunLoop constants
  25. NSStream constants
  26. NSTask constants
  27. NSThread constants
  28. NSTimeZone constants
  29. NSUndoManager constants
  30. NSURLCredentialStorage constants
  31. NSURLError constants
  32. NSURL constants
  33. NSURLHandle constants
  34. NSURLProtectionSpace constants
  35. NSUserDefaults constants
  36. NSValueTransformer constants
  37. NSXMLParser constants
  38. NSArray types
  39. NSAutoreleasePool types
  40. NSData types
  41. NSDateFormatter types
  42. NSDate types
  43. NSDecimal types
  44. NSDistributedNotificationCenter types
  45. NSException types
  46. NSFileManager types
  47. NSGeometry types
  48. NSHashTable types
  49. NSHTTPCookieStorage types
  50. NSKeyValueObserving types
  51. NSMapTable types
  52. NSNetServices types
  53. NSNotificationQueue types
  54. NSNumberFormatter types
  55. NSObjCRuntime types
  56. NSPathUtilities types
  57. NSPointerFunctions types
  58. NSPort types
  59. NSPropertyList types
  60. NSRange types
  61. NSRunLoop types
  62. NSStream types
  63. NSString types
  64. NSTimeZone types
  65. NSURLCache types
  66. NSURLCredential types
  67. NSURLHandle types
  68. NSURLRequest types
  69. NSXMLDocument types
  70. NSXMLDTDNode types
  71. NSXMLNode types
  72. NSXMLParser types
  73. NSZone types
  74. NSDebug variables
  75. NSGeometry variables
  76. NSMapTable variables
  77. NSNotificationQueue variables
  78. NSObjCRuntime variables
  79. NSObject variables
  80. NSRange variables
  81. NSString variables
  82. NSZone variables

Type index

Type

Variable index

Variable

Constant index

Constant

NSArchiver constants

NSInconsistentArchiveException

NSString* const NSInconsistentArchiveException;
Availability: OpenStep

Specified in OpenStep to be raised by NSArchiver or subclasses if there are problems initializing or encoding. Not currently used. NSInternalInconsistencyException usually raised instead.

NSBundle constants

NSBundleDidLoadNotification

NSString* const NSBundleDidLoadNotification;
Availability: OpenStep

Notification posted when a bundle is loaded. The notification object is the NSBundle itself. The notification also contains a userInfo dictionary, containing the single key ' NSLoadedClasses ', mapped to an NSArray containing the names of each class and category loaded (as strings).

NSLoadedClasses

NSString* const NSLoadedClasses;
Availability: OpenStep

When an NSBundle loads classes and posts a NSBundleDidLoadNotification, its userInfo dictionary contains this key, mapped to an NSArray containing the names of each class and category loaded (as strings).

NSShowNonLocalizedStrings

NSString* const NSShowNonLocalizedStrings;
Availability: OpenStep

A user default affecting the behavior of [NSBundle -localizedStringForKey:value:table:] . If set, the value of the key will be returned as an uppercase string rather than any localized equivalent found. This can be useful during development to check where a given string in the UI is "coming from".

NSClassDescription constants

NSClassDescriptionNeededForClassNotification

NSString* const NSClassDescriptionNeededForClassNotification;
Availability: MacOS-X 10.0.0

Posted by [NSClassDescription +classDescriptionForClass:] when a class description cannot be found for a class. The implementation will check again after the notification is (synchronously) processed, allowing descriptions to be registered lazily.

NSConnection constants

NSConnectionDidDieNotification

NSString* const NSConnectionDidDieNotification;
Availability: OpenStep

Posted when an NSConnection is deallocated or it is notified its port is deactivated. (Note, connections to remote ports don't get such a notification.) Receivers should deregister themselves for notifications from the given connection.

NSConnectionDidInitializeNotification

NSString* const NSConnectionDidInitializeNotification;
Availability: OpenStep

Posted when an NSConnection is initialized.

NSConnectionLocalCount

NSString* const NSConnectionLocalCount;
Availability: OpenStep

GNUstep-specific key for dictionary returned by [NSConnection -statistics] : number of local objects currently in use remotely.

NSConnectionProxyCount

NSString* const NSConnectionProxyCount;
Availability: OpenStep

GNUstep-specific key for dictionary returned by [NSConnection -statistics] : number of remote objects currently in use.

NSConnectionRepliesReceived

NSString* const NSConnectionRepliesReceived;
Availability: OpenStep

Key for dictionary returned by [NSConnection -statistics] : number of messages replied to so far by the remote connection.

NSConnectionRepliesSent

NSString* const NSConnectionRepliesSent;
Availability: OpenStep

Key for dictionary returned by [NSConnection -statistics] : number of messages sent so far to the remote connection.

NSConnectionReplyMode

NSString* const NSConnectionReplyMode;
Availability: OpenStep

NSRunLoop mode for NSConnection objects waiting for replies. Mainly used internally by distributed objects system.

NSConnectionRequestsReceived

NSString* const NSConnectionRequestsReceived;
Availability: OpenStep

Key for dictionary returned by [NSConnection -statistics] : number of messages received so far from the remote connection.

NSConnectionRequestsSent

NSString* const NSConnectionRequestsSent;
Availability: OpenStep

Key for dictionary returned by [NSConnection -statistics] : number of messages sent so far to the remote connection.

NSFailedAuthenticationException

NSString* const NSFailedAuthenticationException;
Availability: OpenStep

Raised by an NSConnection on receiving a message that it or its delegate cannot authenticate.

NSDate constants

NSTimeIntervalSince1970

const NSTimeInterval NSTimeIntervalSince1970;
Availability: OpenStep

Time interval between the unix standard reference date of 1 January 1970 and the OpenStep reference date of 1 January 2001
This number comes from:
(((31 years * 365 days) + 8 days for leap years) = total number of days
24 hours * 60 minutes * 60 seconds)
This ignores leap-seconds.

NSDistributedNotificationCenter constants

GSNetworkNotificationCenterType

NSString* const GSNetworkNotificationCenterType;
Availability: Not in OpenStep/MacOS-X

Type of [NSDistributedNotificationCenter +notificationCenterForType:] - localhost and LAN broadcast. This type is available only on GNUstep.

GSPublicNotificationCenterType

NSString* const GSPublicNotificationCenterType;
Availability: Not in OpenStep/MacOS-X

Type of [NSDistributedNotificationCenter +notificationCenterForType:] - all users on the local host. This type is available only on GNUstep.

NSLocalNotificationCenterType

NSString* const NSLocalNotificationCenterType;
Availability: MacOS-X 10.0.0

Type for [NSDistributedNotificationCenter +notificationCenterForType:] - localhost current user broadcast only. This is the only type on OS X.

NSError constants

NSCocoaErrorDomain

NSString* const NSCocoaErrorDomain;
Availability: MacOS-X 10.4.0

Domain for Foundation and AppKit (base and gui) errors.

NSFilePathErrorKey

NSString* const NSFilePathErrorKey;
Availability: MacOS-X 10.4.0

This key can be used to store the file path of a resource involved in the error (eg unreadable file).

NSLocalizedDescriptionKey

NSString* const NSLocalizedDescriptionKey;
Availability: MacOS-X 10.3.0

Key for user info dictionary component which describes the error in a human readable format.

NSLocalizedFailureReasonErrorKey

NSString* const NSLocalizedFailureReasonErrorKey;
Availability: MacOS-X 10.4.0

Key to store a string describing what caused the error to occur.

NSLocalizedRecoveryOptionsErrorKey

NSString* const NSLocalizedRecoveryOptionsErrorKey;
Availability: MacOS-X 10.4.0

Key to store an NSArray of strings suitable for use as the titles of buttons in an alert panel used to attempt error recovery in a GUI application.

NSLocalizedRecoverySuggestionErrorKey

NSString* const NSLocalizedRecoverySuggestionErrorKey;
Availability: MacOS-X 10.4.0

Key to store a string providing a hint on how to use the buttons in an alert panel.

NSMACHErrorDomain

NSString* const NSMACHErrorDomain;
Availability: MacOS-X 10.3.0

Domain for system errors (on MACH).

NSOSStatusErrorDomain

NSString* const NSOSStatusErrorDomain;
Availability: MacOS-X 10.3.0

Domain for system errors.

NSPOSIXErrorDomain

NSString* const NSPOSIXErrorDomain;
Availability: MacOS-X 10.3.0

Domain for system and system library errors.

NSRecoveryAttempterErrorKey

NSString* const NSRecoveryAttempterErrorKey;
Availability: MacOS-X 10.4.0

Key to store an object which can be used to attempt to recover from the error.

NSStringEncodingErrorKey

NSString* const NSStringEncodingErrorKey;
Availability: MacOS-X 10.4.0

Key for an NSNumber containing an NSStringEncoding value.

NSURLErrorKey

NSString* const NSURLErrorKey;
Availability: MacOS-X 10.4.0

This can be used to store the URLK involved in the error.

NSUnderlyingErrorKey

NSString* const NSUnderlyingErrorKey;
Availability: MacOS-X 10.3.0

Where one error has caused another, the underlying error can be stored in the user info dictionary using this key.

NSException constants

NSAssertionHandlerKey

NSString* const NSAssertionHandlerKey;
Availability: OpenStep

Description forthcoming.

NSCharacterConversionException

NSString* const NSCharacterConversionException;
Availability: OpenStep

An exception when character set conversion fails.

NSDestinationInvalidException

NSString* const NSDestinationInvalidException;
Availability: OpenStep

Attempt to use an invalidated destination.

NSGenericException

NSString* const NSGenericException;
Availability: OpenStep

A generic exception for general purpose usage.

NSInternalInconsistencyException

NSString* const NSInternalInconsistencyException;
Availability: OpenStep

An exception for cases where unexpected state is detected within an object.

NSInvalidArgumentException

NSString* const NSInvalidArgumentException;
Availability: OpenStep

An exception used when an invalid argument is passed to a method or function.

NSInvalidReceivePortException

NSString* const NSInvalidReceivePortException;
Availability: OpenStep

Attempt to use a receive port which has been invalidated.

NSInvalidSendPortException

NSString* const NSInvalidSendPortException;
Availability: OpenStep

Attempt to use a send port which has been invalidated.

NSMallocException

NSString* const NSMallocException;
Availability: OpenStep

An exception used when the system fails to allocate required memory.

NSObjectInaccessibleException

NSString* const NSObjectInaccessibleException;
Availability: OpenStep

An exception when a remote object is sent a message from a thread unable to access the object.

NSObjectNotAvailableException

NSString* const NSObjectNotAvailableException;
Availability: OpenStep

Attempt to send to an object which is no longer available.

NSOldStyleException

NSString* const NSOldStyleException;
Availability: OpenStep

UNused... for MacOS-X compatibility.

NSParseErrorException

NSString* const NSParseErrorException;
Availability: MacOS-X 10.0.0

An exception used when some form of parsing fails.

NSPortReceiveException

NSString* const NSPortReceiveException;
Availability: OpenStep

Some failure to receive on a port.

NSPortSendException

NSString* const NSPortSendException;
Availability: OpenStep

Some failure to send on a port.

NSPortTimeoutException

NSString* const NSPortTimeoutException;
Availability: OpenStep

Exception raised by NSPort , NSConnection , and friends if sufficient time elapses while waiting for a response, or if the receiving port is invalidated before a request can be received. See [NSConnection -setReplyTimeout:] .

NSRangeException

NSString* const NSRangeException;
Availability: OpenStep

An exception used when an illegal range is encountered... usually this is used to provide more information than an invalid argument exception.

NSFileHandle constants

GSFileHandleConnectCompletionNotification

NSString* const GSFileHandleConnectCompletionNotification;
Availability: Not in OpenStep/MacOS-X

Notification posted when an asynchronous NSFileHandle connection attempt (to an FTP, HTTP, or other internet server) has succeeded.

GSFileHandleNotificationError

NSString* const GSFileHandleNotificationError;
Availability: Not in OpenStep/MacOS-X

Message describing error in asynchronous NSFileHandle accept,read,write operation.

GSFileHandleWriteCompletionNotification

NSString* const GSFileHandleWriteCompletionNotification;
Availability: Not in OpenStep/MacOS-X

Notification posted when an asynchronous NSFileHandle write operation (to an FTP, HTTP, or other internet server) has succeeded.

GSTLSCAFile

NSString* const GSTLSCAFile;
Availability: Not in OpenStep/MacOS-X

Dictionary key for the path to a PEM encoded certificate authority file.

GSTLSCertificateFile

NSString* const GSTLSCertificateFile;
Availability: Not in OpenStep/MacOS-X

Dictionary key for the path to a PEM encoded certificate used to identify this end of a connection.

GSTLSCertificateKeyFile

NSString* const GSTLSCertificateKeyFile;
Availability: Not in OpenStep/MacOS-X

Dictionary key for the path to a PEM encoded private key used to unlock the certificate used by this end of a connection.

GSTLSCertificateKeyPassword

NSString* const GSTLSCertificateKeyPassword;
Availability: Not in OpenStep/MacOS-X

Dictionary key for the password used to decrypt the key file used to unlock the certificate used by this end of a connection.

GSTLSDebug

NSString* const GSTLSDebug;
Availability: Not in OpenStep/MacOS-X

Dictionary key for a boolean to enable TLS debug for a session.

GSTLSPriority

NSString* const GSTLSPriority;
Availability: Not in OpenStep/MacOS-X

Dictionary key for a GNUTLS priority setting for a session.

GSTLSRemoteHosts

NSString* const GSTLSRemoteHosts;
Availability: Not in OpenStep/MacOS-X

Dictionary key for a list of hosts to use in certificate verification.

GSTLSRevokeFile

NSString* const GSTLSRevokeFile;
Availability: Not in OpenStep/MacOS-X

Dictionary key for the path to a PEM encoded certificate revocation file.

GSTLSVerify

NSString* const GSTLSVerify;
Availability: Not in OpenStep/MacOS-X

Dictionary key for a boolean to enable certificate verification.

NSFileHandleConnectionAcceptedNotification

NSString* const NSFileHandleConnectionAcceptedNotification;
Availability: OpenStep

Posted when one of the NSFileHandle methods acceptConnectionInBackground... succeeds and has connected to a stream-type socket in another process. The notification's userInfo dictionary will contain the NSFileHandle for the near end of the connection (associated to the key ' NSFileHandleNotificationFileHandleItem ').

NSFileHandleDataAvailableNotification

NSString* const NSFileHandleDataAvailableNotification;
Availability: OpenStep

Posted when one of the NSFileHandle methods waitForDataInBackground... has been informed that data is available. The receiving NSFileHandle is passed in the notification.

NSFileHandleNotificationDataItem

NSString* const NSFileHandleNotificationDataItem;
Availability: OpenStep

Dictionary key for NSFileHandle notifications used to access an NSData object containing received data.

NSFileHandleNotificationFileHandleItem

NSString* const NSFileHandleNotificationFileHandleItem;
Availability: OpenStep

Dictionary key for NSFileHandle notifications used to mark the NSFileHandle that has established a stream-socket connection.

NSFileHandleNotificationMonitorModes

NSString* const NSFileHandleNotificationMonitorModes;
Availability: OpenStep

Dictionary key for NSFileHandle notifications postable to certain run loop modes, associated to an NSArray containing the modes allowed.

NSFileHandleOperationException

NSString* const NSFileHandleOperationException;
Availability: OpenStep

Exception raised when attempts to read from an NSFileHandle channel fail.
An exception used when a file error occurs.

NSFileHandleReadCompletionNotification

NSString* const NSFileHandleReadCompletionNotification;
Availability: OpenStep

Posted when one of the NSFileHandle methods readDataInBackground... has consumed data. The receiving NSFileHandle is passed in the notification's userInfo dictionary associated to the key ' NSFileHandleNotificationDataItem '.

NSFileHandleReadToEndOfFileCompletionNotification

NSString* const NSFileHandleReadToEndOfFileCompletionNotification;
Availability: OpenStep

Posted when one of the NSFileHandle methods readToEndOfFileInBackground... has finished. The receiving NSFileHandle is passed in the notification's userInfo dictionary associated to the key ' NSFileHandleNotificationDataItem '.

NSFileManager constants

NSFileAppendOnly

NSString* const NSFileAppendOnly;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileCreationDate

NSString* const NSFileCreationDate;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileDeviceIdentifier

NSString* const NSFileDeviceIdentifier;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileExtensionHidden

NSString* const NSFileExtensionHidden;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileGroupOwnerAccountID

NSString* const NSFileGroupOwnerAccountID;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileGroupOwnerAccountName

NSString* const NSFileGroupOwnerAccountName;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileHFSCreatorCode

NSString* const NSFileHFSCreatorCode;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileHFSTypeCode

NSString* const NSFileHFSTypeCode;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileImmutable

NSString* const NSFileImmutable;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileModificationDate

NSString* const NSFileModificationDate;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileOwnerAccountID

NSString* const NSFileOwnerAccountID;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileOwnerAccountName

NSString* const NSFileOwnerAccountName;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFilePosixPermissions

NSString* const NSFilePosixPermissions;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileReferenceCount

NSString* const NSFileReferenceCount;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileSize

NSString* const NSFileSize;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileSystemFileNumber

NSString* const NSFileSystemFileNumber;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileSystemFreeNodes

NSString* const NSFileSystemFreeNodes;
Availability: MacOS-X 10.0.0

File system attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileSystemFreeSize

NSString* const NSFileSystemFreeSize;
Availability: MacOS-X 10.0.0

File system attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileSystemNodes

NSString* const NSFileSystemNodes;
Availability: MacOS-X 10.0.0

File system attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileSystemNumber

NSString* const NSFileSystemNumber;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileSystemSize

NSString* const NSFileSystemSize;
Availability: MacOS-X 10.0.0

File system attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileType

NSString* const NSFileType;
Availability: MacOS-X 10.0.0

File attribute key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileTypeBlockSpecial

NSString* const NSFileTypeBlockSpecial;
Availability: MacOS-X 10.0.0

Possible value for ' NSFileType ' key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileTypeCharacterSpecial

NSString* const NSFileTypeCharacterSpecial;
Availability: MacOS-X 10.0.0

Possible value for ' NSFileType ' key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileTypeDirectory

NSString* const NSFileTypeDirectory;
Availability: MacOS-X 10.0.0

Possible value for ' NSFileType ' key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileTypeFifo

NSString* const NSFileTypeFifo;
Availability: MacOS-X 10.0.0

Possible value for ' NSFileType ' key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileTypeRegular

NSString* const NSFileTypeRegular;
Availability: MacOS-X 10.0.0

Possible value for ' NSFileType ' key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileTypeSocket

NSString* const NSFileTypeSocket;
Availability: MacOS-X 10.0.0

Possible value for ' NSFileType ' key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileTypeSymbolicLink

NSString* const NSFileTypeSymbolicLink;
Availability: MacOS-X 10.0.0

Possible value for ' NSFileType ' key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSFileTypeUnknown

NSString* const NSFileTypeUnknown;
Availability: MacOS-X 10.0.0

Possible value for ' NSFileType ' key in dictionary returned by [NSFileManager -fileAttributesAtPath:traverseLink:] .

NSGeometry constants

NSZeroPoint

const NSPoint NSZeroPoint;
Availability: OpenStep

Point at 0,0

NSZeroRect

const NSRect NSZeroRect;
Availability: OpenStep

Zero-size rectangle at 0,0

NSZeroSize

const NSSize NSZeroSize;
Availability: OpenStep

Zero size

NSHashTable constants

NSIntHashCallBacks

const NSHashTableCallBacks NSIntHashCallBacks;
Availability: OpenStep

Description forthcoming.

NSIntegerHashCallBacks

const NSHashTableCallBacks NSIntegerHashCallBacks;
Availability: OpenStep

Description forthcoming.

NSNonOwnedPointerHashCallBacks

const NSHashTableCallBacks NSNonOwnedPointerHashCallBacks;
Availability: OpenStep

Description forthcoming.

NSNonRetainedObjectHashCallBacks

const NSHashTableCallBacks NSNonRetainedObjectHashCallBacks;
Availability: OpenStep

Description forthcoming.

NSObjectHashCallBacks

const NSHashTableCallBacks NSObjectHashCallBacks;
Availability: OpenStep

Description forthcoming.

NSOwnedPointerHashCallBacks

const NSHashTableCallBacks NSOwnedPointerHashCallBacks;
Availability: OpenStep

Description forthcoming.

NSPointerToStructHashCallBacks

const NSHashTableCallBacks NSPointerToStructHashCallBacks;
Availability: OpenStep

Description forthcoming.

NSHTTPCookie constants

NSHTTPCookieComment

NSString* const NSHTTPCookieComment;
Availability: MacOS-X 10.2.0, Base 1.13.0

Obtain text of the comment

NSHTTPCookieCommentURL

NSString* const NSHTTPCookieCommentURL;
Availability: MacOS-X 10.2.0, Base 1.13.0

Obtain the comment URL

NSHTTPCookieDiscard

NSString* const NSHTTPCookieDiscard;
Availability: MacOS-X 10.2.0, Base 1.13.0

Obtain the sessions discard setting

NSHTTPCookieDomain

NSString* const NSHTTPCookieDomain;
Availability: MacOS-X 10.2.0, Base 1.13.0

Obtain cookie domain

NSHTTPCookieExpires

NSString* const NSHTTPCookieExpires;
Availability: MacOS-X 10.2.0, Base 1.13.0

Obtain cookie expiry date

NSHTTPCookieMaximumAge

NSString* const NSHTTPCookieMaximumAge;
Availability: MacOS-X 10.2.0, Base 1.13.0

Obtain maximum age (expiry)

NSHTTPCookieName

NSString* const NSHTTPCookieName;
Availability: MacOS-X 10.2.0, Base 1.13.0

Obtain name of cookie

NSHTTPCookieOriginURL

NSString* const NSHTTPCookieOriginURL;
Availability: MacOS-X 10.2.0, Base 1.13.0

Obtain cookie origin URL

NSHTTPCookiePath

NSString* const NSHTTPCookiePath;
Availability: MacOS-X 10.2.0, Base 1.13.0

Obtain cookie path

NSHTTPCookiePort

NSString* const NSHTTPCookiePort;
Availability: MacOS-X 10.2.0, Base 1.13.0

Obtain cookie ports

NSHTTPCookieSecure

NSString* const NSHTTPCookieSecure;
Availability: MacOS-X 10.2.0, Base 1.13.0

Obtain cookie security

NSHTTPCookieValue

NSString* const NSHTTPCookieValue;
Availability: MacOS-X 10.2.0, Base 1.13.0

Obtain value of cookie

NSHTTPCookieVersion

NSString* const NSHTTPCookieVersion;
Availability: MacOS-X 10.2.0, Base 1.13.0

Obtain cookie version

NSHTTPCookieStorage constants

NSHTTPCookieManagerAcceptPolicyChangedNotification

NSString* const NSHTTPCookieManagerAcceptPolicyChangedNotification;
Availability: MacOS-X 10.2.0, Base 1.13.0

Posted to the distributed notification center when the cookie accept policy is changed.

NSHTTPCookieManagerCookiesChangedNotification

NSString* const NSHTTPCookieManagerCookiesChangedNotification;
Availability: MacOS-X 10.2.0, Base 1.13.0

Posted when the set of cookies changes

NSKeyedArchiver constants

NSInvalidArchiveOperationException

NSString* const NSInvalidArchiveOperationException;
Availability: MacOS-X 10.0.0

An archiving error has occurred.

NSInvalidUnarchiveOperationException

NSString* const NSInvalidUnarchiveOperationException;
Availability: MacOS-X 10.0.0

An unarchiving error has occurred.

NSKeyValueCoding constants

NSUndefinedKeyException

NSString* const NSUndefinedKeyException;
Availability: MacOS-X 10.0.0

An exception for an unknown key in NSObject(NSKeyValueCoding) .

NSKeyValueObserving constants

NSKeyValueChangeIndexesKey

NSString* const NSKeyValueChangeIndexesKey;
Availability: MacOS-X 10.3.0, Base 1.2.0

Description forthcoming.

NSKeyValueChangeKindKey

NSString* const NSKeyValueChangeKindKey;
Availability: MacOS-X 10.3.0, Base 1.2.0

Description forthcoming.

NSKeyValueChangeNewKey

NSString* const NSKeyValueChangeNewKey;
Availability: MacOS-X 10.3.0, Base 1.2.0

Description forthcoming.

NSKeyValueChangeNotificationIsPriorKey

NSString* const NSKeyValueChangeNotificationIsPriorKey;
Availability: MacOS-X 10.5.0, Base 1.2.0

Description forthcoming.

NSKeyValueChangeOldKey

NSString* const NSKeyValueChangeOldKey;
Availability: MacOS-X 10.3.0, Base 1.2.0

Description forthcoming.

NSMapTable constants

NSIntMapKeyCallBacks

const NSMapTableKeyCallBacks NSIntMapKeyCallBacks;
Availability: OpenStep

Description forthcoming.

NSIntMapValueCallBacks

const NSMapTableValueCallBacks NSIntMapValueCallBacks;
Availability: OpenStep

Description forthcoming.

NSIntegerMapKeyCallBacks

const NSMapTableKeyCallBacks NSIntegerMapKeyCallBacks;
Availability: OpenStep

Description forthcoming.

NSIntegerMapValueCallBacks

const NSMapTableValueCallBacks NSIntegerMapValueCallBacks;
Availability: OpenStep

Description forthcoming.

NSNonOwnedPointerMapKeyCallBacks

const NSMapTableKeyCallBacks NSNonOwnedPointerMapKeyCallBacks;
Availability: OpenStep

Description forthcoming.

NSNonOwnedPointerMapValueCallBacks

const NSMapTableValueCallBacks NSNonOwnedPointerMapValueCallBacks;
Availability: OpenStep

Description forthcoming.

NSNonOwnedPointerOrNullMapKeyCallBacks

const NSMapTableKeyCallBacks NSNonOwnedPointerOrNullMapKeyCallBacks;
Availability: OpenStep

Description forthcoming.

NSNonRetainedObjectMapKeyCallBacks

const NSMapTableKeyCallBacks NSNonRetainedObjectMapKeyCallBacks;
Availability: OpenStep

Description forthcoming.

NSNonRetainedObjectMapValueCallBacks

const NSMapTableValueCallBacks NSNonRetainedObjectMapValueCallBacks;
Availability: OpenStep

Description forthcoming.

NSObjectMapKeyCallBacks

const NSMapTableKeyCallBacks NSObjectMapKeyCallBacks;
Availability: OpenStep

Description forthcoming.

NSObjectMapValueCallBacks

const NSMapTableValueCallBacks NSObjectMapValueCallBacks;
Availability: OpenStep

Description forthcoming.

NSOwnedPointerMapKeyCallBacks

const NSMapTableKeyCallBacks NSOwnedPointerMapKeyCallBacks;
Availability: OpenStep

Description forthcoming.

NSOwnedPointerMapValueCallBacks

const NSMapTableValueCallBacks NSOwnedPointerMapValueCallBacks;
Availability: OpenStep

Description forthcoming.

NSNetServices constants

NSNetServicesErrorCode

NSString* const NSNetServicesErrorCode;
Availability: OpenStep

This key identifies the most recent error.

NSNetServicesErrorDomain

NSString* const NSNetServicesErrorDomain;
Availability: OpenStep

This key identifies the originator of the error.

NSPort constants

NSPortDidBecomeInvalidNotification

NSString* const NSPortDidBecomeInvalidNotification;
Availability: OpenStep

Notification posted when an instance of NSPort or a subclass becomes invalid.

NSRunLoop constants

NSDefaultRunLoopMode

NSString* const NSDefaultRunLoopMode;
Availability: OpenStep

Run loop mode used to deal with input sources other than NSConnections or dialog windows. Most commonly used. Defined in Foundation/NSRunLoop.h.

NSStream constants

NSStreamDataWrittenToMemoryStreamKey

NSString* const NSStreamDataWrittenToMemoryStreamKey;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamFileCurrentOffsetKey

NSString* const NSStreamFileCurrentOffsetKey;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamSOCKSErrorDomain

NSString* const NSStreamSOCKSErrorDomain;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamSOCKSProxyConfigurationKey

NSString* const NSStreamSOCKSProxyConfigurationKey;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamSOCKSProxyHostKey

NSString* const NSStreamSOCKSProxyHostKey;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamSOCKSProxyPasswordKey

NSString* const NSStreamSOCKSProxyPasswordKey;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamSOCKSProxyPortKey

NSString* const NSStreamSOCKSProxyPortKey;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamSOCKSProxyUserKey

NSString* const NSStreamSOCKSProxyUserKey;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamSOCKSProxyVersion4

NSString* const NSStreamSOCKSProxyVersion4;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamSOCKSProxyVersion5

NSString* const NSStreamSOCKSProxyVersion5;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamSOCKSProxyVersionKey

NSString* const NSStreamSOCKSProxyVersionKey;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamSocketSSLErrorDomain

NSString* const NSStreamSocketSSLErrorDomain;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamSocketSecurityLevelKey

NSString* const NSStreamSocketSecurityLevelKey;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamSocketSecurityLevelNegotiatedSSL

NSString* const NSStreamSocketSecurityLevelNegotiatedSSL;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamSocketSecurityLevelNone

NSString* const NSStreamSocketSecurityLevelNone;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamSocketSecurityLevelSSLv2

NSString* const NSStreamSocketSecurityLevelSSLv2;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamSocketSecurityLevelSSLv3

NSString* const NSStreamSocketSecurityLevelSSLv3;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamSocketSecurityLevelTLSv1

NSString* const NSStreamSocketSecurityLevelTLSv1;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSTask constants

NSTaskDidTerminateNotification

NSString* const NSTaskDidTerminateNotification;
Availability: OpenStep

Notification posted when an NSTask terminates, either due to the subprocess ending or the [NSTask -terminate] method explicitly being called.

NSThread constants

NSThreadDidStartNotification

NSString* const NSThreadDidStartNotification;
Availability: Base
Likely to be changed/moved/removed at 0.0.0

Notification posted whenever a new thread is started up. This is a GNUstep extension.

NSThreadWillExitNotification

NSString* const NSThreadWillExitNotification;
Availability: OpenStep

Notification posted when an NSThread instance receives an exit message, or an external thread has been deregistered.

NSWillBecomeMultiThreadedNotification

NSString* const NSWillBecomeMultiThreadedNotification;
Availability: OpenStep

Notification posted the first time a new NSThread is created or a separate thread from another library is registered in an application. (The initial thread that a program starts with does not post this notification.) Before such a notification has been posted you can assume the application is in single-threaded mode and locks are not necessary. Afterwards multiple threads may be running.

NSTimeZone constants

NSSystemTimeZoneDidChangeNotification

NSString* const NSSystemTimeZoneDidChangeNotification;
Availability: MacOS-X 10.5.0

Description forthcoming.

NSUndoManager constants

NSUndoManagerCheckpointNotification

NSString* const NSUndoManagerCheckpointNotification;
Availability: MacOS-X 10.0.0

Notification posted whenever NSUndoManager opens or closes an undo group. The undo manager itself is the notification object, with no userInfo dictionary.

NSUndoManagerDidOpenUndoGroupNotification

NSString* const NSUndoManagerDidOpenUndoGroupNotification;
Availability: MacOS-X 10.0.0

Notification posted after an NSUndoManager opens an undo group.

NSUndoManagerDidRedoChangeNotification

NSString* const NSUndoManagerDidRedoChangeNotification;
Availability: MacOS-X 10.0.0

Notification posted after an NSUndoManager executes a redo operation.

NSUndoManagerDidUndoChangeNotification

NSString* const NSUndoManagerDidUndoChangeNotification;
Availability: MacOS-X 10.0.0

Notification posted after an NSUndoManager executes an undo operation.

NSUndoManagerWillCloseUndoGroupNotification

NSString* const NSUndoManagerWillCloseUndoGroupNotification;
Availability: MacOS-X 10.0.0

Notification posted before an NSUndoManager closes an undo group.

NSUndoManagerWillRedoChangeNotification

NSString* const NSUndoManagerWillRedoChangeNotification;
Availability: MacOS-X 10.0.0

Notification posted before an NSUndoManager will execute a redo operation.

NSUndoManagerWillUndoChangeNotification

NSString* const NSUndoManagerWillUndoChangeNotification;
Availability: MacOS-X 10.0.0

Notification posted before an NSUndoManager will execute an undo operation.

NSURLCredentialStorage constants

NSURLCredentialStorageChangedNotification

NSString* const NSURLCredentialStorageChangedNotification;
Availability: MacOS-X 10.2.0, Base 1.13.0

Notification sent when the set of stored credentials changes.

NSURLError constants

NSErrorFailingURLStringKey

NSString* const NSErrorFailingURLStringKey;
Availability: MacOS-X 10.2.0, Base 1.13.0

Obtain the URL which caused the failure

NSURLErrorDomain

NSString* const NSURLErrorDomain;
Availability: MacOS-X 10.2.0, Base 1.13.0

The domain for a URL error.

NSURL constants

NSURLFileScheme

NSString* const NSURLFileScheme;
Availability: MacOS-X 10.0.0

URL scheme constant for use with [NSURL -initWithScheme:host:path:] .

NSURLHandle constants

GSHTTPPropertyCertificateFileKey

NSString* const GSHTTPPropertyCertificateFileKey;
Availability: Not in OpenStep/MacOS-X

Key for passing to NSURLHandle 's propertyForKey.. methods to specify the location of an SSL certificate file.

GSHTTPPropertyKeyFileKey

NSString* const GSHTTPPropertyKeyFileKey;
Availability: Not in OpenStep/MacOS-X

Key for passing to NSURLHandle 's propertyForKey.. methods to specify the location of an SSL key file.

GSHTTPPropertyLocalHostKey

NSString* const GSHTTPPropertyLocalHostKey;
Availability: Not in OpenStep/MacOS-X

Key for passing to NSURLHandle 's propertyForKey.. methods to obtain local host.

GSHTTPPropertyMethodKey

NSString* const GSHTTPPropertyMethodKey;
Availability: Not in OpenStep/MacOS-X

Key for passing to NSURLHandle 's propertyForKey.. methods to obtain method (GET, POST, etc.).

GSHTTPPropertyPasswordKey

NSString* const GSHTTPPropertyPasswordKey;
Availability: Not in OpenStep/MacOS-X

Key for passing to NSURLHandle 's propertyForKey.. methods to specify the password for an SSL key file.

GSHTTPPropertyProxyHostKey

NSString* const GSHTTPPropertyProxyHostKey;
Availability: Not in OpenStep/MacOS-X

Key for passing to NSURLHandle 's propertyForKey.. methods to obtain proxy host.

GSHTTPPropertyProxyPortKey

NSString* const GSHTTPPropertyProxyPortKey;
Availability: Not in OpenStep/MacOS-X

Key for passing to NSURLHandle 's propertyForKey.. methods to obtain proxy port.

NSHTTPPropertyErrorPageDataKey

NSString* const NSHTTPPropertyErrorPageDataKey;
Availability: MacOS-X 10.0.0

Key for passing to NSURLHandle 's propertyForKey.. methods to obtain error page data.

NSHTTPPropertyRedirectionHeadersKey

NSString* const NSHTTPPropertyRedirectionHeadersKey;
Availability: MacOS-X 10.0.0

Key for passing to NSURLHandle 's propertyForKey.. methods to obtain redirection headers.

NSHTTPPropertyServerHTTPVersionKey

NSString* const NSHTTPPropertyServerHTTPVersionKey;
Availability: MacOS-X 10.0.0

Key for passing to NSURLHandle 's propertyForKey.. methods to obtain HTTP version supported by server.

NSHTTPPropertyStatusCodeKey

NSString* const NSHTTPPropertyStatusCodeKey;
Availability: MacOS-X 10.0.0

Key for passing to NSURLHandle 's propertyForKey.. methods to obtain status code.

NSHTTPPropertyStatusReasonKey

NSString* const NSHTTPPropertyStatusReasonKey;
Availability: MacOS-X 10.0.0

Key for passing to NSURLHandle 's propertyForKey.. methods to obtain status reason.

NSURLProtectionSpace constants

NSURLAuthenticationMethodDefault

NSString* const NSURLAuthenticationMethodDefault;
Availability: MacOS-X 10.2.0, Base 1.13.0

Default authentication

NSURLAuthenticationMethodHTMLForm

NSString* const NSURLAuthenticationMethodHTMLForm;
Availability: MacOS-X 10.2.0, Base 1.13.0

HTML form authentication

NSURLAuthenticationMethodHTTPBasic

NSString* const NSURLAuthenticationMethodHTTPBasic;
Availability: MacOS-X 10.2.0, Base 1.13.0

HTTP Basic authentication

NSURLAuthenticationMethodHTTPDigest

NSString* const NSURLAuthenticationMethodHTTPDigest;
Availability: MacOS-X 10.2.0, Base 1.13.0

HTTP Digest authentication

NSURLProtectionSpaceFTPProxy

NSString* const NSURLProtectionSpaceFTPProxy;
Availability: MacOS-X 10.2.0, Base 1.13.0

An FTP proxy

NSURLProtectionSpaceHTTPProxy

NSString* const NSURLProtectionSpaceHTTPProxy;
Availability: MacOS-X 10.2.0, Base 1.13.0

An HTTP proxy

NSURLProtectionSpaceHTTPSProxy

NSString* const NSURLProtectionSpaceHTTPSProxy;
Availability: MacOS-X 10.2.0, Base 1.13.0

An HTTPS proxy

NSURLProtectionSpaceSOCKSProxy

NSString* const NSURLProtectionSpaceSOCKSProxy;
Availability: MacOS-X 10.2.0, Base 1.13.0

A SOCKS proxy

NSUserDefaults constants

GSConfigDomain

NSString* const GSConfigDomain;
Availability: OpenStep

User defaults domain for GNUstep config file and for any defaults stored in the GlobalDefaults.plist file alongside the config file.

GSLocale

NSString* const GSLocale;
Availability: Not in OpenStep/MacOS-X

Key for locale dictionary: name of locale.

NSAMPMDesignation

NSString* const NSAMPMDesignation;
Availability: OpenStep

Key for locale dictionary: array of strings for AM and PM.

NSArgumentDomain

NSString* const NSArgumentDomain;
Availability: OpenStep

User defaults domain for process arguments. Command-line arguments (attribute-value pairs, as in "-NSFoo bar") are placed into this domain.

NSCurrencyString

NSString* const NSCurrencyString;
Availability: OpenStep

Key for locale dictionary: text formatter string for monetary amounts.

NSCurrencySymbol

NSString* const NSCurrencySymbol;
Availability: OpenStep

Key for locale dictionary: currency symbol.

NSDateFormatString

NSString* const NSDateFormatString;
Availability: OpenStep

Key for locale dictionary: format string for feeding to NSDateFormatter .

NSDateTimeOrdering

NSString* const NSDateTimeOrdering;
Availability: Not in OpenStep/MacOS-X

Key for locale dictionary: string with 'Y', 'M', 'D', and 'H' designating the default method of writing dates, as in "MDYH" for the U.S..

NSDecimalDigits

NSString* const NSDecimalDigits;
Availability: OpenStep

Key for locale dictionary: array of strings for 0-9.

NSDecimalSeparator

NSString* const NSDecimalSeparator;
Availability: OpenStep

Key for locale dictionary: decimal separator.

NSEarlierTimeDesignations

NSString* const NSEarlierTimeDesignations;
Availability: Not in OpenStep/MacOS-X

Key for locale dictionary: adjectives that modify values in NSYearMonthWeekDesignations, as in "last", "previous", etc..

NSFormalName

NSString* const NSFormalName;
Availability: Not in OpenStep/MacOS-X

Key for locale dictionary: formal name of language.

NSGlobalDomain

NSString* const NSGlobalDomain;
Availability: OpenStep

User defaults domain for system defaults.

NSHourNameDesignations

NSString* const NSHourNameDesignations;
Availability: Not in OpenStep/MacOS-X

Array of arrays of NSStrings, first member of each specifying a time, followed by one or more colloquial names for the time, as in "(0, midnight), (12, noon, lunch)".

NSInternationalCurrencyString

NSString* const NSInternationalCurrencyString;
Availability: OpenStep

Key for locale dictionary: three-letter ISO 4217 currency abbreviation.

NSLanguageCode

NSString* const NSLanguageCode;
Availability: Not in OpenStep/MacOS-X

Key for locale dictionary: two-letter ISO code.

NSLanguageName

NSString* const NSLanguageName;
Availability: Not in OpenStep/MacOS-X

Key for locale dictionary: name of language.

NSLaterTimeDesignations

NSString* const NSLaterTimeDesignations;
Availability: Not in OpenStep/MacOS-X

Key for locale dictionary: adjectives that modify values in NSYearMonthWeekDesignations, as in "next", "subsequent", etc..

NSMonthNameArray

NSString* const NSMonthNameArray;
Availability: OpenStep

Key for locale dictionary: names of months of year.

NSNextDayDesignations

NSString* const NSNextDayDesignations;
Availability: Not in OpenStep/MacOS-X

Key for locale dictionary: one or more strings designating the next day, such as "tomorrow".

NSNextNextDayDesignations

NSString* const NSNextNextDayDesignations;
Availability: Not in OpenStep/MacOS-X

Key for locale dictionary: one or more strings designating the next day, such as "day after tomorrow".

NSPriorDayDesignations

NSString* const NSPriorDayDesignations;
Availability: Not in OpenStep/MacOS-X

Key for locale dictionary: one or more strings designating the previous day, such as "yesterday".

NSRegistrationDomain

NSString* const NSRegistrationDomain;
Availability: OpenStep

User defaults domain for application-registered "default defaults".

NSShortDateFormatString

NSString* const NSShortDateFormatString;
Availability: OpenStep

Key for locale dictionary: format string for feeding to NSDateFormatter .

NSShortMonthNameArray

NSString* const NSShortMonthNameArray;
Availability: OpenStep

Key for locale dictionary: abbreviations of months of year.

NSShortTimeDateFormatString

NSString* const NSShortTimeDateFormatString;
Availability: OpenStep

Key for locale dictionary: format string for feeding to NSDateFormatter .

NSShortWeekDayNameArray

NSString* const NSShortWeekDayNameArray;
Availability: OpenStep

Key for locale dictionary: abbreviations of days of week.

NSThisDayDesignations

NSString* const NSThisDayDesignations;
Availability: Not in OpenStep/MacOS-X

Key for locale dictionary: one or more strings designating the current day, such as "today".

NSThousandsSeparator

NSString* const NSThousandsSeparator;
Availability: OpenStep

Key for locale dictionary: thousands separator.

NSTimeDateFormatString

NSString* const NSTimeDateFormatString;
Availability: OpenStep

Key for locale dictionary: format string for feeding to NSDateFormatter .

NSTimeFormatString

NSString* const NSTimeFormatString;
Availability: OpenStep

Key for locale dictionary: format string for feeding to NSDateFormatter .

NSUserDefaultsDidChangeNotification

NSString* const NSUserDefaultsDidChangeNotification;
Availability: OpenStep

Notification posted when a defaults synchronize has been performed (see [NSUserDefaults -synchronize] ) and changes have been loaded in from disk.

NSWeekDayNameArray

NSString* const NSWeekDayNameArray;
Availability: OpenStep

Key for locale dictionary: names of days of week.

NSYearMonthWeekDesignations

NSString* const NSYearMonthWeekDesignations;
Availability: Not in OpenStep/MacOS-X

Strings for "year", "month", "week".

NSValueTransformer constants

NSIsNilTransformerName

NSString* const NSIsNilTransformerName;
Availability: MacOS-X 10.3.0, Base 1.2.0

This transformer converts a nil value to a YES.
Not reversible.

NSIsNotNilTransformerName

NSString* const NSIsNotNilTransformerName;
Availability: MacOS-X 10.3.0, Base 1.2.0

This transformer converts a non-nil value to a YES.
Not reversible.

NSNegateBooleanTransformerName

NSString* const NSNegateBooleanTransformerName;
Availability: MacOS-X 10.3.0, Base 1.2.0

This transformer converts a YES to a NO and a NO to a YES.

NSUnarchiveFromDataTransformerName

NSString* const NSUnarchiveFromDataTransformerName;
Availability: MacOS-X 10.3.0, Base 1.2.0

This transformer converts an NSData instance to the object archived in it, or archives an object inot an NSData .

NSXMLParser constants

NSXMLParserErrorDomain

NSString* const NSXMLParserErrorDomain;
Availability: MacOS-X 10.3.0

Domain for errors

NSArray types

NSBinarySearchingOptions

typedef NSUInteger NSBinarySearchingOptions;
Availability: MacOS-X 10.6.0

Description forthcoming.

NSAutoreleasePool types

struct autorelease_array_list

typedef struct autorelease_array_list struct autorelease_array_list;
Availability: OpenStep

Each pool holds its objects-to-be-released in a linked-list of these structures.
{
  struct autorelease_array_list *next;
  unsigned size;
  unsigned count;
  id objects[0];
}
    

struct autorelease_thread_vars

typedef struct autorelease_thread_vars struct autorelease_thread_vars;
Availability: OpenStep

Each thread has its own copy of these variables.
{
  NSAutoreleasePool *current_pool; // current pool for thread
  unsigned total_objects_count;    // total #/autoreleased objects over thread's lifetime
  id *pool_cache;                  // cache of previously-allocated pools,
  int pool_cache_size;             //  used internally for recycling
  int pool_cache_count;
}
 

NSData types

NSDataBase64DecodingOptions

typedef NSUInteger NSDataBase64DecodingOptions;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.

NSDataBase64EncodingOptions

typedef NSUInteger NSDataBase64EncodingOptions;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.

NSDateFormatter types

NSDateFormatterBehavior

typedef NSUInteger NSDateFormatterBehavior;
Availability: MacOS-X 10.4.0

Description forthcoming.

NSDateFormatterStyle

typedef NSUInteger NSDateFormatterStyle;
Availability: MacOS-X 10.4.0

Description forthcoming.

NSDate types

NSTimeInterval

typedef double NSTimeInterval;
Availability: OpenStep

Time interval difference between two dates, in seconds.

NSDecimal types

NSCalculationError

typedef NSUInteger NSCalculationError;
Availability: MacOS-X 10.0.0

Description forthcoming.

NSRoundingMode

typedef NSUInteger NSRoundingMode;
Availability: MacOS-X 10.0.0

Description forthcoming.

NSDistributedNotificationCenter types

NSNotificationSuspensionBehavior

typedef NSUInteger NSNotificationSuspensionBehavior;
Availability: MacOS-X 10.0.0

Description forthcoming.

NSException types

struct _NSHandler

typedef struct _NSHandler struct _NSHandler;
Availability: OpenStep

The actual structure for an NSHandler. You shouldn't need to worry about it.

NSFileManager types

OSType

typedef uint32_t OSType;
Availability: MacOS-X 10.0.0

Description forthcoming.

NSGeometry types

NSPoint

typedef struct _NSPoint NSPoint;
Availability: OpenStep

{
  CGFloat x;
  CGFloat y;
}

Represents a 2-d cartesian position.


NSPointArray

typedef NSPoint* NSPointArray;
Availability: MacOS-X 10.0.0

Array of NSPoint structs.

NSPointPointer

typedef NSPoint* NSPointPointer;
Availability: MacOS-X 10.0.0

Pointer to NSPoint struct.

NSRect

typedef struct _NSRect NSRect;
Availability: OpenStep

{
  NSPoint origin;
  NSSize size;
}

Rectangle.


NSRectArray

typedef NSRect* NSRectArray;
Availability: MacOS-X 10.0.0

Array of NSRect structs.

NSRectEdge

typedef NSUInteger NSRectEdge;
Availability: OpenStep

Sides of a rectangle.
{
  NSMinXEdge,
  NSMinYEdge,
  NSMaxXEdge,
  NSMaxYEdge
}

NSRectPointer

typedef NSRect* NSRectPointer;
Availability: MacOS-X 10.0.0

Pointer to NSRect struct.

NSSize

typedef struct _NSSize NSSize;
Availability: OpenStep

{
  CGFloat width;
  CGFloat height;
}

Floating point rectangle size.


NSSizeArray

typedef NSSize* NSSizeArray;
Availability: MacOS-X 10.0.0

Array of NSSize structs.

NSSizePointer

typedef NSSize* NSSizePointer;
Availability: MacOS-X 10.0.0

Pointer to NSSize struct.

NSHashTable types

NSHashTableOptions

typedef NSUInteger NSHashTableOptions;
Availability: OpenStep

Description forthcoming.

struct _NSHashTableCallBacks

typedef struct _NSHashTableCallBacks struct _NSHashTableCallBacks;
Availability: OpenStep

Callback functions for an NSHashTable. See NSCreateHashTable() .
NSUInteger (*hash)(NSHashTable *, const void *) ... Hashing function. NOTE: Elements with equal values must have equal hash function values. The default if NULL uses the pointer addresses directly.
BOOL (*isEqual)(NSHashTable *, const void *, const void *) ... Comparison function. The default if NULL uses ' == '.
void (*retain)(NSHashTable *, const void *) ... Retaining function called when adding elements to the table. The default if NULL is a no-op (no reference counting).
void (*release)(NSHashTable *, void *) ... Releasing function called when a data element is removed from the table. The default if NULL is a no-op (no reference counting).
NSString *(*describe)(NSHashTable *, const void *) ... Description function. The default if NULL prints boilerplate.

NSHTTPCookieStorage types

NSHTTPCookieAcceptPolicy

typedef NSUInteger NSHTTPCookieAcceptPolicy;
Availability: MacOS-X 10.2.0, Base 1.13.0

NSHTTPCookieAcceptPolicyAlways Accept all cookies NSHTTPCookieAcceptPolicyNever Reject all cookies NSHTTPCookieAcceptPolicyOnlyFromMainDocumentDomain Accept cookies only from the main document domain

NSKeyValueObserving types

NSKeyValueChange

typedef NSUInteger NSKeyValueChange;
Availability: MacOS-X 10.3.0, Base 1.2.0

Description forthcoming.

NSKeyValueObservingOptions

typedef NSUInteger NSKeyValueObservingOptions;
Availability: MacOS-X 10.3.0, Base 1.2.0

Description forthcoming.

NSKeyValueSetMutationKind

typedef NSUInteger NSKeyValueSetMutationKind;
Availability: MacOS-X 10.3.0, Base 1.2.0

Description forthcoming.

NSMapTable types

NSMapTableOptions

typedef NSUInteger NSMapTableOptions;
Availability: OpenStep

Description forthcoming.

NSMapTableValueCallBacks

typedef struct _NSMapTableValueCallBacks NSMapTableValueCallBacks;
Availability: OpenStep

Callback functions for a value.

struct _NSMapTableKeyCallBacks

typedef struct _NSMapTableKeyCallBacks struct _NSMapTableKeyCallBacks;
Availability: OpenStep

Callback functions for a key.
Comparison function. Must not modify either key.
Retaining function called when adding elements to table.
Notionally this must not modify the key (the key may not actually have a retain count, or the retain count may be stored externally to the key, but in practice this often actually changes a counter within the key).
Releasing function called when a data element is removed from the table. This may decrease a retain count or may actually destroy the key.
Description function. Generates a string describing the key and does not modify the key itself.
Quantity that is not a key to the map table.

NSNetServices types

NSNetServiceOptions

typedef NSUInteger NSNetServiceOptions;
Availability: OpenStep

Description forthcoming.

NSNetServicesError

typedef NSUInteger NSNetServicesError;
Availability: OpenStep


NSNotificationQueue types

NSNotificationCoalescing

typedef NSUInteger NSNotificationCoalescing;
Availability: OpenStep

Description forthcoming.

NSPostingStyle

typedef NSUInteger NSPostingStyle;
Availability: OpenStep

Description forthcoming.

NSNumberFormatter types

NSNumberFormatterBehavior

typedef NSUInteger NSNumberFormatterBehavior;
Availability: MacOS-X 10.4.0

Description forthcoming.

NSNumberFormatterPadPosition

typedef NSUInteger NSNumberFormatterPadPosition;
Availability: MacOS-X 10.4.0

Description forthcoming.

NSNumberFormatterRoundingMode

typedef NSUInteger NSNumberFormatterRoundingMode;
Availability: MacOS-X 10.4.0

Description forthcoming.

NSNumberFormatterStyle

typedef NSUInteger NSNumberFormatterStyle;
Availability: MacOS-X 10.4.0

Description forthcoming.

NSObjCRuntime types

CGFloat

typedef float CGFloat;
Availability: OpenStep

Description forthcoming.

NSComparisonResult

typedef enum _NSComparisonResult NSComparisonResult;
Availability: OpenStep

Contains values NSOrderedSame, NSOrderedAscending NSOrderedDescending, for left hand side equals, less than, or greater than right hand side.

NSEnumerationOptions

typedef NSUInteger NSEnumerationOptions;
Availability: OpenStep

Bitfield used to specify options to control enumeration over collections.

NSInteger

typedef intptr_t NSInteger;
Availability: OpenStep

Description forthcoming.

NSSortOptions

typedef NSUInteger NSSortOptions;
Availability: OpenStep

Bitfield used to specify options to control the sorting of collections.

NSUInteger

typedef uintptr_t NSUInteger;
Availability: OpenStep

Description forthcoming.

NSPathUtilities types

NSSearchPathDirectory

typedef NSUInteger NSSearchPathDirectory;
Availability: MacOS-X 10.0.0

Enumeration of possible requested directory type specifiers for NSSearchPathForDirectoriesInDomains() function. On a traditional GNUstep filesystem layout these correspond to the subdirectories that may be found in the various domains, such as "Library" and "Applications". In a different filesystem layout these directories might be located anywhere on disk.
{
  NSApplicationDirectory,
  NSDemoApplicationDirectory,
  NSDeveloperApplicationDirectory,
  NSAdminApplicationDirectory,
  NSLibraryDirectory,
  NSDeveloperDirectory,
  NSUserDirectory,
  NSDocumentationDirectory,
  NSDocumentDirectory,
  NSCoreServiceDirectory,
  NSDesktopDirectory,
  NSCachesDirectory,
  NSApplicationSupportDirectory
  NSAllApplicationsDirectory,
  NSAllLibrariesDirectory,
  GSLibrariesDirectory,
  GSToolsDirectory,
  GSAdminToolsDirectory,
  GSFontsDirectory,
  GSFrameworksDirectory,
  GSWebApplicationsDirectory
}
 

NSSearchPathDomainMask

typedef NSUInteger NSSearchPathDomainMask;
Availability: MacOS-X 10.0.0

Mask type for NSSearchPathForDirectoriesInDomains() function. A bitwise OR of one or more of NSUserDomainMask, NSLocalDomainMask, NSNetworkDomainMask, NSSystemDomainMask, NSAllDomainsMask.

NSPointerFunctions types

NSPointerFunctionsOptions

typedef NSUInteger NSPointerFunctionsOptions;
Availability: MacOS-X 10.5.0

An integer value containing memory option, personality option, and copying option.

NSPort types

NSSocketNativeHandle

typedef SOCKET NSSocketNativeHandle;
Availability: MacOS-X 10.0.0

Native socket type.

NSPropertyList types

NSPropertyListFormat

typedef NSUInteger NSPropertyListFormat;
Availability: MacOS-X 10.0.0

Specifies the serialisation format for a serialised property list.

NSPropertyListMutabilityOptions

typedef NSUInteger NSPropertyListMutabilityOptions;
Availability: MacOS-X 10.0.0

Describes the mutability to use when generating objects during deserialisation of a property list.

NSPropertyListReadOptions

typedef NSUInteger NSPropertyListReadOptions;
Availability: MacOS-X 10.6.0

Description forthcoming.

NSPropertyListWriteOptions

typedef NSUInteger NSPropertyListWriteOptions;
Availability: MacOS-X 10.6.0

Description forthcoming.

NSRange types

NSRange

typedef struct _NSRange NSRange;
Availability: OpenStep

{
  NSUInteger location;
  NSUInteger length;
}

The NSRange type is used to specify ranges of locations, typically items in an array, characters in a string, and bytes in a data object.

As 'boundary' or 'fencepost' errors are a particularly common problem in programming, it is important that you understand how an NSRange works.

An NSRange consists of a location and a length. The points that are considered to lie in a range are the integers from the location to the location plus the length, so the number of points in a range is the length of the range plus one.
However, if you consider these points like the marks on a ruler, you can only store information between points. So the number of items that can be stored in a range is the length of the range.


NSRangePointer

typedef NSRange* NSRangePointer;
Availability: MacOS-X 10.0.0

Pointer to an NSRange structure.

NSRunLoop types

RunLoopEventType

typedef enum ... RunLoopEventType;
Availability: OpenStep

This type specifies the kinds of event which may be 'watched' in a run loop.

NSStream types

NSStreamEvent

typedef NSUInteger NSStreamEvent;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSStreamStatus

typedef NSUInteger NSStreamStatus;
Availability: MacOS-X 10.4.0, Base 1.2.0

Description forthcoming.

NSString types

NSStringCompareOptions

typedef NSUInteger NSStringCompareOptions;
Availability: OpenStep

Description forthcoming.

NSStringEncoding

typedef enum _NSStringEncoding NSStringEncoding;
Availability: OpenStep

Enumeration of available encodings for converting between bytes and characters (in NSString s). The ones that are shared with OpenStep and Cocoa are: NSASCIIStringEncoding, NSNEXTSTEPStringEncoding, NSJapaneseEUCStringEncoding, NSUTF8StringEncoding, NSISOLatin1StringEncoding, NSSymbolStringEncoding, NSNonLossyASCIIStringEncoding, NSShiftJISStringEncoding, NSISOLatin2StringEncoding, NSUnicodeStringEncoding, NSWindowsCP1251StringEncoding, NSWindowsCP1252StringEncoding, NSWindowsCP1253StringEncoding, NSWindowsCP1254StringEncoding, NSWindowsCP1250StringEncoding, NSISO2022JPStringEncoding, NSMacOSRomanStringEncoding, NSProprietaryStringEncoding .

Additional encodings available under GNUstep are: NSKOI8RStringEncoding, NSISOLatin3StringEncoding, NSISOLatin4StringEncoding, NSISOCyrillicStringEncoding, NSISOArabicStringEncoding, NSISOGreekStringEncoding, NSISOHebrewStringEncoding, NSISOLatin5StringEncoding, NSISOLatin6StringEncoding, NSISOThaiStringEncoding, NSISOLatin7StringEncoding, NSISOLatin8StringEncoding, NSISOLatin9StringEncoding, NSGB2312StringEncoding, NSUTF7StringEncoding, NSGSM0338StringEncoding, NSBIG5StringEncoding, NSKoreanEUCStringEncoding .


NSStringEncodingConversionOptions

typedef NSUInteger NSStringEncodingConversionOptions;
Availability: MacOS-X 10.4.0

Description forthcoming.

unichar

typedef uint16_t unichar;
Availability: OpenStep

Type for representing unicode characters. (16-bit)

NSTimeZone types

NSTimeZoneNameStyle

typedef NSInteger NSTimeZoneNameStyle;
Availability: MacOS-X 10.5.0

Description forthcoming.

NSURLCache types

NSURLCacheStoragePolicy

typedef enum ... NSURLCacheStoragePolicy;
Availability: MacOS-X 10.2.0, Base 1.13.0

Specifies the cache storage policy.

NSURLCredential types

NSURLCredentialPersistence

typedef enum ... NSURLCredentialPersistence;
Availability: MacOS-X 10.2.0, Base 1.13.0

Controls how long a credential is retained.

NSURLHandle types

NSURLHandleStatus

typedef NSUInteger NSURLHandleStatus;
Availability: MacOS-X 10.0.0

Description forthcoming.

NSURLRequest types

NSURLRequestCachePolicy

typedef NSUInteger NSURLRequestCachePolicy;
Availability: MacOS-X 10.2.0, Base 1.13.0

NSURLRequestUseProtocolCachePolicy
Says that any protocol specific cache policy should be used... this is the default.
NSURLRequestReloadIgnoringCacheData
Says the data should be re-loaded from source rather than any cached data being used, irrespective of any protocol standard.
NSURLRequestReturnCacheDataElseLoad
Says to use cached data if any is available, but to load from source if the cache is empty. Ignores any protocol specific logic (like cache aging).
NSURLRequestReturnCacheDataDontLoad
Says to use cached data if any is available, but to return nil without loading if the cache is empty.

NSXMLDocument types

NSXMLDocumentContentKind

typedef NSUInteger NSXMLDocumentContentKind;
Availability: OpenStep

Define what type of document this is.

NSXMLDTDNode types

NSXMLDTDNodeKind

typedef NSUInteger NSXMLDTDNodeKind;
Availability: OpenStep

Description forthcoming.

NSXMLNode types

NSXMLNodeKind

typedef NSUInteger NSXMLNodeKind;
Availability: OpenStep

Description forthcoming.

NSXMLParser types

NSXMLParserError

typedef NSUInteger NSXMLParserError;
Availability: MacOS-X 10.3.0

Description forthcoming.

NSZone types

NSZone

typedef struct _NSZone NSZone;
Availability: OpenStep

Primary structure representing an NSZone . Technically it consists of a set of function pointers for zone upkeep functions plus some other things-
{
  // Functions for zone.
  void *(*malloc)(struct _NSZone *zone, size_t size);
  void *(*realloc)(struct _NSZone *zone, void *ptr, size_t size);
  void (*free)(struct _NSZone *zone, void *ptr);
  void (*recycle)(struct _NSZone *zone);
  BOOL (*check)(struct _NSZone *zone);
  BOOL (*lookup)(struct _NSZone *zone, void *ptr);

  // Zone statistics (not always maintained).
  struct NSZoneStats (*stats)(struct _NSZone *zone);
  
  size_t gran;    // Zone granularity (passed in on initialization)
  NSString *name; // Name of zone (default is 'nil')
  NSZone *next;   // Pointer used for internal management of multiple zones.
}

NSDebug variables

NSDeallocateZombies

BOOL NSDeallocateZombies;
Availability: OpenStep

Enable/disable object deallocation.

If zombies are enabled, objects are by default not deallocated, and memory leaks. The NSDeallocateZombies variable lets you say that the the memory used by zombies should be freed.

Doing this makes the behavior of zombies similar to that when zombies are not enabled... the memory occupied by the zombie may be re-used for other purposes, at which time the isa pointer may be overwritten and the zombie behavior will cease.

The default value of this boolean is NO, but this can be controlled by the NSDeallocateZombies environment variable.


NSZombieEnabled

BOOL NSZombieEnabled;
Availability: OpenStep

Enable/disable zombies.

When an object is deallocated, its isa pointer is normally modified to the hexadecimal value 0xdeadface, so that any attempt to send a message to the deallocated object will cause a crash, and examination of the object within the debugger will show the 0xdeadface value... making it obvious why the program crashed.

Turning on zombies changes this behavior so that the isa pointer is modified to be that of the NSZombie class. When messages are sent to the object, instead of crashing, NSZombie will use NSLog() to produce an error message. By default the memory used by the object will not really be freed, so error messages will continue to be generated whenever a message is sent to the object, and the object instance variables will remain available for examination by the debugger.

The default value of this boolean is NO, but this can be controlled by the NSZombieEnabled environment variable.


NSGeometry variables

struct _NSPoint

struct _NSPoint struct _NSPoint;
Availability: OpenStep

Description forthcoming.

struct _NSRect

struct _NSRect struct _NSRect;
Availability: OpenStep

Description forthcoming.

struct _NSSize

struct _NSSize struct _NSSize;
Availability: OpenStep

Description forthcoming.

NSMapTable variables

struct _NSMapTableValueCallBacks

struct _NSMapTableValueCallBacks struct _NSMapTableValueCallBacks;
Availability: OpenStep

Retaining function called when adding elements to table.
Notionally this must not modify the element (the element may not actually have a retain count, or the retain count may be stored externally to the element, but in practice this often actually changes a counter within the element).
Releasing function called when a data element is removed from the table. This may decrease a retain count or may actually destroy the element.
Description function. Generates a string describing the element and does not modify the element itself.

NSNotificationQueue variables

struct _NSNotificationQueueList

struct _NSNotificationQueueList struct _NSNotificationQueueList;
Availability: OpenStep

Structure used internally by NSNotificationQueue .

NSObjCRuntime variables

_NSLogDescriptor

int _NSLogDescriptor;
Availability: Not in OpenStep/MacOS-X

A variable holding the file descriptor to which NSLogv() messages are written by default. GNUstep initialises this to stderr.
You may change this, but for thread safety should use the lock provided by GSLogLock() to protect the change.

_NSLog_printf_handler

NSLog_printf_handler* _NSLog_printf_handler;
Availability: Not in OpenStep/MacOS-X

A pointer to a function used to actually write the log data.

GNUstep initialises this to a function implementing the standard behavior for logging, but you may change this in your program in order to implement any custom behavior you wish. You should use the lock returned by GSLogLock() to protect any change you make.

Calls from NSLogv() to the function pointed to by this variable are protected by a lock, and should therefore be thread safe.

This function should accept a single NSString argument and return void.

The default implementation in GNUstep performs as follows -


NSObject variables

gnustep_global_lock

NSRecursiveLock* gnustep_global_lock;
Availability: Not in OpenStep/MacOS-X

Global lock to be used by classes when operating on any global data that invoke other methods which also access global; thus, creating the potential for deadlock.

NSRange variables

struct _NSRange

struct _NSRange struct _NSRange;
Availability: OpenStep

Description forthcoming.

NSString variables

_NSConstantStringClassReference

struct objc_class _NSConstantStringClassReference;
Availability: OpenStep

For internal use with NeXT runtime; needed, until Apple Radar 2870817 is fixed.

NSZone variables

struct NSZoneStats

struct NSZoneStats struct NSZoneStats;
Availability: Not in OpenStep/MacOS-X

NSZoneStats is the structure returned by the NSZoneStats() function that summarizes the current usage of a zone. It is similar to the structure mstats in the GNU C library. It has 5 fields of type size_t -
bytes_total
This is the total size of memory managed by the zone, in bytes.
chunks_used
This is the number of memory chunks in use in the zone.
bytes_used
This is the number of bytes in use.
chunks_free
This is the number of memory chunks that are not in use.
bytes_free
This is the number of bytes managed by the zone that are not in use.

struct _NSZone

struct _NSZone struct _NSZone;
Availability: OpenStep

Description forthcoming.


Up