Up
Authors
- Richard Frith-Macdonald
-
Copyright: (C) 2005 Free Software Foundation, Inc.
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.
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).
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).
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".
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.
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.
NSString* const NSConnectionDidInitializeNotification;
Availability: OpenStep
NSString* const NSConnectionLocalCount;
Availability: OpenStep
NSString* const NSConnectionProxyCount;
Availability: OpenStep
NSString* const NSConnectionRepliesReceived;
Availability: OpenStep
NSString* const NSConnectionRepliesSent;
Availability: OpenStep
NSString* const NSConnectionReplyMode;
Availability: OpenStep
NSRunLoop
mode for
NSConnection
objects waiting for replies. Mainly used
internally by distributed objects system.
NSString* const NSConnectionRequestsReceived;
Availability: OpenStep
NSString* const NSConnectionRequestsSent;
Availability: OpenStep
NSString* const NSFailedAuthenticationException;
Availability: OpenStep
Raised by an
NSConnection
on receiving a message that it or its delegate cannot
authenticate.
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.
NSString* const GSNetworkNotificationCenterType;
Availability: Not in OpenStep/MacOS-X
NSString* const GSPublicNotificationCenterType;
Availability: Not in OpenStep/MacOS-X
NSString* const NSLocalNotificationCenterType;
Availability: MacOS-X 10.0.0
NSString* const NSCocoaErrorDomain;
Availability: MacOS-X 10.4.0
Domain for Foundation and AppKit (base and gui)
errors.
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).
NSString* const NSLocalizedDescriptionKey;
Availability: MacOS-X 10.3.0
Key for user info dictionary component which describes
the error in a human readable format.
NSString* const NSLocalizedFailureReasonErrorKey;
Availability: MacOS-X 10.4.0
Key to store a string describing what caused the error to
occur.
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.
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.
NSString* const NSMACHErrorDomain;
Availability: MacOS-X 10.3.0
Domain for system errors (on MACH).
NSString* const NSOSStatusErrorDomain;
Availability: MacOS-X 10.3.0
Domain for system errors.
NSString* const NSPOSIXErrorDomain;
Availability: MacOS-X 10.3.0
Domain for system and system library errors.
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.
NSString* const NSStringEncodingErrorKey;
Availability: MacOS-X 10.4.0
Key for an
NSNumber
containing an NSStringEncoding value.
NSString* const NSURLErrorKey;
Availability: MacOS-X 10.4.0
This can be used to store the URLK involved in the
error.
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.
NSString* const NSCharacterConversionException;
Availability: OpenStep
An exception when character set conversion fails.
NSString* const NSDestinationInvalidException;
Availability: OpenStep
Attempt to use an invalidated destination.
NSString* const NSGenericException;
Availability: OpenStep
A generic exception for general purpose usage.
NSString* const NSInternalInconsistencyException;
Availability: OpenStep
An exception for cases where unexpected state is detected
within an object.
NSString* const NSInvalidArgumentException;
Availability: OpenStep
An exception used when an invalid argument is passed to a
method or function.
NSString* const NSInvalidReceivePortException;
Availability: OpenStep
Attempt to use a receive port which has been
invalidated.
NSString* const NSInvalidSendPortException;
Availability: OpenStep
Attempt to use a send port which has been
invalidated.
NSString* const NSMallocException;
Availability: OpenStep
An exception used when the system fails to allocate
required memory.
NSString* const NSObjectInaccessibleException;
Availability: OpenStep
An exception when a remote object is sent a message from a
thread unable to access the object.
NSString* const NSObjectNotAvailableException;
Availability: OpenStep
Attempt to send to an object which is no longer
available.
NSString* const NSOldStyleException;
Availability: OpenStep
UNused... for MacOS-X compatibility.
NSString* const NSParseErrorException;
Availability: MacOS-X 10.0.0
An exception used when some form of parsing fails.
NSString* const NSPortReceiveException;
Availability: OpenStep
Some failure to receive on a port.
NSString* const NSPortSendException;
Availability: OpenStep
Some failure to send on a port.
NSString* const NSPortTimeoutException;
Availability: OpenStep
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.
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.
NSString* const GSFileHandleNotificationError;
Availability: Not in OpenStep/MacOS-X
Message describing error in asynchronous
NSFileHandle
accept,read,write operation.
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.
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
').
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.
NSString* const NSFileHandleNotificationDataItem;
Availability: OpenStep
Dictionary key for
NSFileHandle
notifications used to access an
NSData
object containing received data.
NSString* const NSFileHandleNotificationFileHandleItem;
Availability: OpenStep
Dictionary key for
NSFileHandle
notifications used to mark the
NSFileHandle
that has established a stream-socket connection.
NSString* const NSFileHandleNotificationMonitorModes;
Availability: OpenStep
Dictionary key for
NSFileHandle
notifications postable to certain run loop
modes, associated to an NSArray containing the modes
allowed.
NSString* const NSFileHandleOperationException;
Availability: OpenStep
Exception raised when attempts to read from an
NSFileHandle
channel fail.
An exception used when a file
error occurs.
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
'.
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
'.
NSString* const NSFileAppendOnly;
Availability: MacOS-X 10.0.0
NSString* const NSFileCreationDate;
Availability: MacOS-X 10.0.0
NSString* const NSFileDeviceIdentifier;
Availability: MacOS-X 10.0.0
NSString* const NSFileExtensionHidden;
Availability: MacOS-X 10.0.0
NSString* const NSFileGroupOwnerAccountID;
Availability: MacOS-X 10.0.0
NSString* const NSFileGroupOwnerAccountName;
Availability: MacOS-X 10.0.0
NSString* const NSFileHFSCreatorCode;
Availability: MacOS-X 10.0.0
NSString* const NSFileHFSTypeCode;
Availability: MacOS-X 10.0.0
NSString* const NSFileImmutable;
Availability: MacOS-X 10.0.0
NSString* const NSFileModificationDate;
Availability: MacOS-X 10.0.0
NSString* const NSFileOwnerAccountID;
Availability: MacOS-X 10.0.0
NSString* const NSFileOwnerAccountName;
Availability: MacOS-X 10.0.0
NSString* const NSFilePosixPermissions;
Availability: MacOS-X 10.0.0
NSString* const NSFileReferenceCount;
Availability: MacOS-X 10.0.0
NSString* const NSFileSize;
Availability: MacOS-X 10.0.0
NSString* const NSFileSystemFileNumber;
Availability: MacOS-X 10.0.0
NSString* const NSFileSystemFreeNodes;
Availability: MacOS-X 10.0.0
NSString* const NSFileSystemFreeSize;
Availability: MacOS-X 10.0.0
NSString* const NSFileSystemNodes;
Availability: MacOS-X 10.0.0
NSString* const NSFileSystemNumber;
Availability: MacOS-X 10.0.0
NSString* const NSFileSystemSize;
Availability: MacOS-X 10.0.0
NSString* const NSFileType;
Availability: MacOS-X 10.0.0
NSString* const NSFileTypeBlockSpecial;
Availability: MacOS-X 10.0.0
NSString* const NSFileTypeCharacterSpecial;
Availability: MacOS-X 10.0.0
NSString* const NSFileTypeDirectory;
Availability: MacOS-X 10.0.0
NSString* const NSFileTypeFifo;
Availability: MacOS-X 10.0.0
NSString* const NSFileTypeRegular;
Availability: MacOS-X 10.0.0
NSString* const NSFileTypeSocket;
Availability: MacOS-X 10.0.0
NSString* const NSFileTypeSymbolicLink;
Availability: MacOS-X 10.0.0
NSString* const NSFileTypeUnknown;
Availability: MacOS-X 10.0.0
const NSPoint NSZeroPoint;
Availability: OpenStep
Point at 0,0
const NSRect NSZeroRect;
Availability: OpenStep
Zero-size rectangle at 0,0
const NSSize NSZeroSize;
Availability: OpenStep
Zero size
const NSHashTableCallBacks NSIntHashCallBacks;
Availability: OpenStep
For sets of pointer-sized or smaller quantities.
const NSHashTableCallBacks NSNonOwnedPointerHashCallBacks;
Availability: OpenStep
For sets of pointers hashed by address.
const NSHashTableCallBacks NSNonRetainedObjectHashCallBacks;
Availability: OpenStep
For sets of objects without retaining and releasing.
const NSHashTableCallBacks NSObjectHashCallBacks;
Availability: OpenStep
For sets of objects; similar to
NSSet
.
const NSHashTableCallBacks NSOwnedPointerHashCallBacks;
Availability: OpenStep
For sets of pointers with transfer of ownership upon
insertion.
const NSHashTableCallBacks NSPointerToStructHashCallBacks;
Availability: OpenStep
For sets of pointers to structs when the first field of
the struct is the size of an int.
NSString* const NSHTTPCookieComment;
Availability: MacOS-X 10.2.0, Base 1.13.0
Obtain text of the comment
NSString* const NSHTTPCookieCommentURL;
Availability: MacOS-X 10.2.0, Base 1.13.0
Obtain the comment URL
NSString* const NSHTTPCookieDiscard;
Availability: MacOS-X 10.2.0, Base 1.13.0
Obtain the sessions discard setting
NSString* const NSHTTPCookieDomain;
Availability: MacOS-X 10.2.0, Base 1.13.0
Obrain cookie domain
NSString* const NSHTTPCookieExpires;
Availability: MacOS-X 10.2.0, Base 1.13.0
Obrain cookie expiry date
NSString* const NSHTTPCookieMaximumAge;
Availability: MacOS-X 10.2.0, Base 1.13.0
Obtain maximum age (expiry)
NSString* const NSHTTPCookieName;
Availability: MacOS-X 10.2.0, Base 1.13.0
Obtain name of cookie
NSString* const NSHTTPCookieOriginURL;
Availability: MacOS-X 10.2.0, Base 1.13.0
Obtain cookie origin URL
NSString* const NSHTTPCookiePath;
Availability: MacOS-X 10.2.0, Base 1.13.0
Obtain cookie path
NSString* const NSHTTPCookiePort;
Availability: MacOS-X 10.2.0, Base 1.13.0
Obtain cookie ports
NSString* const NSHTTPCookieSecure;
Availability: MacOS-X 10.2.0, Base 1.13.0
Obtain cookie security
NSString* const NSHTTPCookieValue;
Availability: MacOS-X 10.2.0, Base 1.13.0
Obtain value of cookie
NSString* const NSHTTPCookieVersion;
Availability: MacOS-X 10.2.0, Base 1.13.0
Obtain cookie version
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.
NSString* const NSHTTPCookieManagerCookiesChangedNotification;
Availability: MacOS-X 10.2.0, Base 1.13.0
Posted when the set of cookies changes
NSString* const NSInvalidArchiveOperationException;
Availability: MacOS-X 10.0.0
An archiving error has occurred.
NSString* const NSInvalidUnarchiveOperationException;
Availability: MacOS-X 10.0.0
An unarchiving error has occurred.
NSString* const NSUndefinedKeyException;
Availability: MacOS-X 10.0.0
NSString* const NSKeyValueChangeIndexesKey;
Availability: MacOS-X 10.3.0, Base 1.2.0
Description forthcoming.
NSString* const NSKeyValueChangeKindKey;
Availability: MacOS-X 10.3.0, Base 1.2.0
Description forthcoming.
NSString* const NSKeyValueChangeNewKey;
Availability: MacOS-X 10.3.0, Base 1.2.0
Description forthcoming.
NSString* const NSKeyValueChangeNotificationIsPriorKey;
Availability: MacOS-X 10.5.0, Base 1.2.0
Description forthcoming.
NSString* const NSKeyValueChangeOldKey;
Availability: MacOS-X 10.3.0, Base 1.2.0
Description forthcoming.
const NSMapTableKeyCallBacks NSIntMapKeyCallBacks;
Availability: OpenStep
For keys that are pointer-sized or smaller quantities.
const NSMapTableValueCallBacks NSIntMapValueCallBacks;
Availability: OpenStep
For values that are pointer-sized integer quantities.
const NSMapTableKeyCallBacks NSNonOwnedPointerMapKeyCallBacks;
Availability: OpenStep
For keys that are pointers not freed.
const NSMapTableValueCallBacks NSNonOwnedPointerMapValueCallBacks;
Availability: OpenStep
For values that are pointers not freed.
const NSMapTableKeyCallBacks NSNonOwnedPointerOrNullMapKeyCallBacks;
Availability: OpenStep
For keys that are pointers not freed, or 0.
const NSMapTableKeyCallBacks NSNonRetainedObjectMapKeyCallBacks;
Availability: OpenStep
For sets of objects without retaining and releasing.
const NSMapTableValueCallBacks NSNonRetainedObjectMapValueCallBacks;
Availability: OpenStep
For sets of objects without retaining and releasing.
const NSMapTableKeyCallBacks NSObjectMapKeyCallBacks;
Availability: OpenStep
For keys that are objects.
const NSMapTableValueCallBacks NSObjectMapValueCallBacks;
Availability: OpenStep
For values that are objects.
const NSMapTableKeyCallBacks NSOwnedPointerMapKeyCallBacks;
Availability: OpenStep
For keys that are pointers with transfer of ownership
upon insertion.
const NSMapTableValueCallBacks NSOwnedPointerMapValueCallBacks;
Availability: OpenStep
For values that are pointers with transfer of ownership
upon insertion.
NSString* const NSNetServicesErrorCode;
Availability: OpenStep
This key identifies the most recent error.
NSString* const NSNetServicesErrorDomain;
Availability: OpenStep
This key identifies the originator of the error.
NSString* const NSPortDidBecomeInvalidNotification;
Availability: OpenStep
Notification posted when an instance of
NSPort
or a subclass becomes invalid.
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
.
NSString* const GSStreamLocalAddressKey;
Availability: MacOS-X 10.4.0, Base 1.2.0
May be used to read the local IP address of a tcp/ip
network stream.
NSString* const GSStreamLocalPortKey;
Availability: MacOS-X 10.4.0, Base 1.2.0
May be used to read the local port of a tcp/ip network
stream.
NSString* const GSStreamRemoteAddressKey;
Availability: MacOS-X 10.4.0, Base 1.2.0
May be used to read the remote IP address of a tcp/ip
network stream.
NSString* const GSStreamRemotePortKey;
Availability: MacOS-X 10.4.0, Base 1.2.0
May be used to read the remote port of a tcp/ip network
stream.
NSString* const NSStreamDataWrittenToMemoryStreamKey;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
NSString* const NSStreamFileCurrentOffsetKey;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
NSString* const NSStreamSOCKSErrorDomain;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
NSString* const NSStreamSOCKSProxyConfigurationKey;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
NSString* const NSStreamSOCKSProxyHostKey;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
NSString* const NSStreamSOCKSProxyPasswordKey;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
NSString* const NSStreamSOCKSProxyPortKey;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
NSString* const NSStreamSOCKSProxyUserKey;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
NSString* const NSStreamSOCKSProxyVersion4;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
NSString* const NSStreamSOCKSProxyVersion5;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
NSString* const NSStreamSOCKSProxyVersionKey;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
NSString* const NSStreamSocketSSLErrorDomain;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
NSString* const NSStreamSocketSecurityLevelKey;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
NSString* const NSStreamSocketSecurityLevelNegotiatedSSL;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
NSString* const NSStreamSocketSecurityLevelNone;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
NSString* const NSStreamSocketSecurityLevelSSLv2;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
NSString* const NSStreamSocketSecurityLevelSSLv3;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
NSString* const NSStreamSocketSecurityLevelTLSv1;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
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.
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.
NSString* const NSThreadWillExitNotification;
Availability: OpenStep
Notification posted when an
NSThread
instance receives an exit message, or an external
thread has been deregistered.
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.
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.
NSString* const NSUndoManagerDidOpenUndoGroupNotification;
Availability: MacOS-X 10.0.0
NSString* const NSUndoManagerDidRedoChangeNotification;
Availability: MacOS-X 10.0.0
Notification posted after an
NSUndoManager
executes a redo operation.
NSString* const NSUndoManagerDidUndoChangeNotification;
Availability: MacOS-X 10.0.0
Notification posted after an
NSUndoManager
executes an undo operation.
NSString* const NSUndoManagerWillCloseUndoGroupNotification;
Availability: MacOS-X 10.0.0
Notification posted before an
NSUndoManager
closes an undo group.
NSString* const NSUndoManagerWillRedoChangeNotification;
Availability: MacOS-X 10.0.0
Notification posted before an
NSUndoManager
will execute a redo operation.
NSString* const NSUndoManagerWillUndoChangeNotification;
Availability: MacOS-X 10.0.0
Notification posted before an
NSUndoManager
will execute an undo operation.
NSString* const NSURLCredentialStorageChangedNotification;
Availability: MacOS-X 10.2.0, Base 1.13.0
Notification sent when the set of stored
credentials changes.
NSString* const NSErrorFailingURLStringKey;
Availability: MacOS-X 10.2.0, Base 1.13.0
Obtain the URL which caused the failure
NSString* const NSURLErrorDomain;
Availability: MacOS-X 10.2.0, Base 1.13.0
The domain for a URL error.
NSString* const NSURLFileScheme;
Availability: MacOS-X 10.0.0
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.
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.
NSString* const GSHTTPPropertyLocalHostKey;
Availability: Not in OpenStep/MacOS-X
Key for passing to
NSURLHandle
's
propertyForKey..
methods to obtain local
host.
NSString* const GSHTTPPropertyMethodKey;
Availability: Not in OpenStep/MacOS-X
Key for passing to
NSURLHandle
's
propertyForKey..
methods to obtain
method (GET, POST, etc.).
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.
NSString* const GSHTTPPropertyProxyHostKey;
Availability: Not in OpenStep/MacOS-X
Key for passing to
NSURLHandle
's
propertyForKey..
methods to obtain proxy
host.
NSString* const GSHTTPPropertyProxyPortKey;
Availability: Not in OpenStep/MacOS-X
Key for passing to
NSURLHandle
's
propertyForKey..
methods to obtain proxy
port.
NSString* const NSHTTPPropertyErrorPageDataKey;
Availability: MacOS-X 10.0.0
Key for passing to
NSURLHandle
's
propertyForKey..
methods to obtain error
page data.
NSString* const NSHTTPPropertyRedirectionHeadersKey;
Availability: MacOS-X 10.0.0
Key for passing to
NSURLHandle
's
propertyForKey..
methods to obtain
redirection headers.
NSString* const NSHTTPPropertyServerHTTPVersionKey;
Availability: MacOS-X 10.0.0
Key for passing to
NSURLHandle
's
propertyForKey..
methods to obtain HTTP
version supported by server.
NSString* const NSHTTPPropertyStatusCodeKey;
Availability: MacOS-X 10.0.0
Key for passing to
NSURLHandle
's
propertyForKey..
methods to obtain
status code.
NSString* const NSHTTPPropertyStatusReasonKey;
Availability: MacOS-X 10.0.0
Key for passing to
NSURLHandle
's
propertyForKey..
methods to obtain
status reason.
NSString* const NSURLAuthenticationMethodDefault;
Availability: MacOS-X 10.2.0, Base 1.13.0
Default authentication
NSString* const NSURLAuthenticationMethodHTMLForm;
Availability: MacOS-X 10.2.0, Base 1.13.0
HTML form authentication
NSString* const NSURLAuthenticationMethodHTTPBasic;
Availability: MacOS-X 10.2.0, Base 1.13.0
HTTP Basic authentication
NSString* const NSURLAuthenticationMethodHTTPDigest;
Availability: MacOS-X 10.2.0, Base 1.13.0
HTTP Digest authentication
NSString* const NSURLProtectionSpaceFTPProxy;
Availability: MacOS-X 10.2.0, Base 1.13.0
An FTP proxy
NSString* const NSURLProtectionSpaceHTTPProxy;
Availability: MacOS-X 10.2.0, Base 1.13.0
An HTTP proxy
NSString* const NSURLProtectionSpaceHTTPSProxy;
Availability: MacOS-X 10.2.0, Base 1.13.0
An HTTPS proxy
NSString* const NSURLProtectionSpaceSOCKSProxy;
Availability: MacOS-X 10.2.0, Base 1.13.0
A SOCKS proxy
NSString* const GSConfigDomain;
Availability: Base
User defaults domain for GNUstep config file and for any
defaults stored in the GlobalDefaults.plist file
alongside the config file.
NSString* const GSLocale;
Availability: Not in OpenStep/MacOS-X
Key for locale dictionary: name of locale.
NSString* const NSAMPMDesignation;
Availability: OpenStep
Key for locale dictionary: array of strings for AM and
PM.
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.
NSString* const NSCurrencyString;
Availability: OpenStep
Key for locale dictionary: text formatter string for
monetary amounts.
NSString* const NSCurrencySymbol;
Availability: OpenStep
Key for locale dictionary: currency symbol.
NSString* const NSDateFormatString;
Availability: OpenStep
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..
NSString* const NSDecimalDigits;
Availability: OpenStep
Key for locale dictionary: array of strings for 0-9.
NSString* const NSDecimalSeparator;
Availability: OpenStep
Key for locale dictionary: decimal separator.
NSString* const NSEarlierTimeDesignations;
Availability: Not in OpenStep/MacOS-X
Key for locale dictionary: adjectives that modify values
in NSYearMonthWeekDesignations, as in "last", "previous",
etc..
NSString* const NSFormalName;
Availability: Not in OpenStep/MacOS-X
Key for locale dictionary: formal name of language.
NSString* const NSGlobalDomain;
Availability: OpenStep
User defaults domain for system defaults.
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)".
NSString* const NSInternationalCurrencyString;
Availability: OpenStep
Key for locale dictionary: three-letter ISO 4217 currency
abbreviation.
NSString* const NSLanguageCode;
Availability: Not in OpenStep/MacOS-X
Key for locale dictionary: two-letter ISO code.
NSString* const NSLanguageName;
Availability: Not in OpenStep/MacOS-X
Key for locale dictionary: name of language.
NSString* const NSLaterTimeDesignations;
Availability: Not in OpenStep/MacOS-X
Key for locale dictionary: adjectives that modify values
in NSYearMonthWeekDesignations, as in "next",
"subsequent", etc..
NSString* const NSMonthNameArray;
Availability: OpenStep
Key for locale dictionary: names of months of year.
NSString* const NSNextDayDesignations;
Availability: Not in OpenStep/MacOS-X
Key for locale dictionary: one or more strings
designating the next day, such as "tomorrow".
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".
NSString* const NSPriorDayDesignations;
Availability: Not in OpenStep/MacOS-X
Key for locale dictionary: one or more strings
designating the previous day, such as
"yesterday".
NSString* const NSRegistrationDomain;
Availability: OpenStep
User defaults domain for application-registered "default
defaults".
NSString* const NSShortDateFormatString;
Availability: OpenStep
NSString* const NSShortMonthNameArray;
Availability: OpenStep
Key for locale dictionary: abbreviations of months of
year.
NSString* const NSShortTimeDateFormatString;
Availability: OpenStep
NSString* const NSShortWeekDayNameArray;
Availability: OpenStep
Key for locale dictionary: abbreviations of days of week.
NSString* const NSThisDayDesignations;
Availability: Not in OpenStep/MacOS-X
Key for locale dictionary: one or more strings
designating the current day, such as "today".
NSString* const NSThousandsSeparator;
Availability: OpenStep
Key for locale dictionary: thousands separator.
NSString* const NSTimeDateFormatString;
Availability: OpenStep
NSString* const NSTimeFormatString;
Availability: OpenStep
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.
NSString* const NSWeekDayNameArray;
Availability: OpenStep
Key for locale dictionary: names of days of week.
NSString* const NSYearMonthWeekDesignations;
Availability: Not in OpenStep/MacOS-X
Strings for "year", "month", "week".
NSString* const NSIsNilTransformerName;
Availability: MacOS-X 10.3.0, Base 1.2.0
This transformer converts a nil
value to a
YES
.
Not reversible.
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.
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
.
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
.
NSString* const NSXMLParserErrorDomain;
Availability: MacOS-X 10.3.0
Domain for errors
typedef struct ... NSAffineTransformStruct;
Availability: OpenStep
Description forthcoming.
typedef struct autorelease_array_list array_list_struct;
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];
}
typedef struct autorelease_thread_vars thread_vars_struct;
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;
}
typedef double NSTimeInterval;
Availability: OpenStep
Time interval difference between two dates, in seconds.
typedef enum ... NSCalculationError;
Availability: MacOS-X 10.0.0
Enumerated type for specifying a decimal
calculation error. Can be one of the following:
NSCalculationNoError
-
No error occurred.
-
NSCalculationLossOfPrecision
-
The number can't be represented in 38 significant
digits.
NSCalculationOverflow
-
The number is too large to represent.
NSCalculationUnderflow
-
The number is too small to represent.
NSCalculationDivideByZero
-
The caller tried to divide by 0.
typedef struct ... NSDecimal;
Availability: MacOS-X 10.0.0
Structure providing equivalent functionality, in
conjunction with a set of functions, to the
NSDecimalNumber
class.
typedef struct {
signed char exponent; // Signed exponent - -128 to 127
BOOL isNegative; // Is this negative?
BOOL validNumber; // Is this a valid number?
unsigned char length; // digits in mantissa.
unsigned char cMantissa[2*NSDecimalMaxDigit];
} NSDecimal;
Instances can be initialized using the
NSDecimalFromString(NSString
*) function.
typedef enum ... NSRoundingMode;
Availability: MacOS-X 10.0.0
Enumerated type for specifying decimal rounding
behavior. Can be one of
NSRoundDown
(always round down),
NSRoundUp
(always
round up),
NSRoundPlain
("normal" rounding
(up from.5 or above, down otherwise),
NSRoundBankers
(as "Plain" but.5 rounds
to make last remaining digit even). See the
<NSDecimalNumberBehaviors>
protocol.
typedef enum ... NSNotificationSuspensionBehavior;
Availability: MacOS-X 10.0.0
Enumeration of possible values for specifying how
NSDistributedNotificationCenter
deals with notifications when the process to which
the notification should be delivered is suspended:
{
NSNotificationSuspensionBehaviorDrop, // drop the notification
NSNotificationSuspensionBehaviorCoalesce, // drop all for this process but the latest-sent notification
NSNotificationSuspensionBehaviorHold, // queue all notifications for this process until it is resumed
NSNotificationSuspensionBehaviorDeliverImmediately // resume the process and deliver
}
typedef struct _NSHandler NSHandler;
Availability: OpenStep
The actual structure for an NSHandler. You shouldn't need
to worry about it.
typedef struct _NSPoint NSPoint;
Availability: OpenStep
{
float x;
float y;
}
Represents a 2-d cartesian position.
typedef NSPoint* NSPointArray;
Availability: MacOS-X 10.0.0
Array of NSPoint structs.
typedef NSPoint* NSPointPointer;
Availability: MacOS-X 10.0.0
Pointer to NSPoint struct.
typedef struct _NSRect NSRect;
Availability: OpenStep
{
NSPoint origin;
NSSize size;
}
Rectangle.
typedef NSRect* NSRectArray;
Availability: MacOS-X 10.0.0
Array of NSRect structs.
typedef enum _NSRectEdge NSRectEdge;
Availability: OpenStep
Sides of a rectangle.
{
NSMinXEdge,
NSMinYEdge,
NSMaxXEdge,
NSMaxYEdge
}
typedef NSRect* NSRectPointer;
Availability: MacOS-X 10.0.0
Pointer to NSRect struct.
typedef struct _NSSize NSSize;
Availability: OpenStep
{
float width;
float height;
}
Floating point rectangle size.
typedef NSSize* NSSizeArray;
Availability: MacOS-X 10.0.0
Array of NSSize structs.
typedef NSSize* NSSizePointer;
Availability: MacOS-X 10.0.0
Pointer to NSSize struct.
typedef struct ... NSHashEnumerator;
Availability: OpenStep
Type for enumerating.
NB. Implementation detail
... in GNUstep the layout must
correspond to that used by the GSIMap macros.
typedef void* NSHashTable;
Availability: OpenStep
Hash table type... an opaque pointer to a data
structure.
typedef struct _NSHashTableCallBacks NSHashTableCallBacks;
Availability: OpenStep
Callback functions for an NSHashTable. See
NSCreateHashTable()
.
unsigned int
(*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.
typedef enum ... 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
typedef enum ... NSKeyValueChange;
Availability: MacOS-X 10.3.0, Base 1.2.0
Description forthcoming.
typedef enum ... NSKeyValueObservingOptions;
Availability: MacOS-X 10.3.0, Base 1.2.0
Description forthcoming.
typedef enum ... NSKeyValueSetMutationKind;
Availability: MacOS-X 10.3.0, Base 1.2.0
Description forthcoming.
typedef struct ... NSMapEnumerator;
Availability: OpenStep
Type for enumerating.
NB. Implementation detail
... in GNUstep the layout must
correspond to that used by the GSIMap macros.
typedef void* NSMapTable;
Availability: OpenStep
Map table type... an opaque pointer to a data structure.
typedef struct _NSMapTableKeyCallBacks 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.
typedef struct _NSMapTableValueCallBacks NSMapTableValueCallBacks;
Availability: OpenStep
Callback functions for a value.
typedef struct ... NSArgumentInfo;
Availability: Not in OpenStep/MacOS-X removed at MacOS-X 10.0.0
Info about layout of arguments. Extended from the
original OpenStep version to let us know if the
arg is passed in registers or on the stack.
NB. This no longer exists in Rhapsody/MacOS.
typedef struct {
int offset;
unsigned size;
const char *type;
unsigned align; // extension, available only in GNUSTEP
unsigned qual; // extension, available only in GNUSTEP
BOOL isReg; // extension, available only in GNUSTEP
} NSArgumentInfo;
NB. The offset and register information may not always
be reliable. In the past it was dependent on locally
maintained platform dependent information. In
the future it may depend on layout information supplied
by the compiler.
typedef NSUInteger NSNetServiceOptions;
Availability: OpenStep
Description forthcoming.
typedef enum ... NSNetServicesError;
Availability: OpenStep
-
NSNetServicesUnknownError
An unknown error occurred.
-
NSNetServicesCollisionError
The given registration has had a name
collision. Registration should be cancelled
and tried again with a different name.
-
NSNetServicesNotFoundError
The service could not be found.
-
NSNetServicesActivityInProgress
A request is already in progress.
-
NSNetServicesBadArgumentError
An invalid argument was used to create the
object.
-
NSNetServicesCancelledError
The request has been cancelled.
-
NSNetServicesInvalidError
The service was improperly configured.
-
NSNetServicesTimeoutError
The request has timed out before a
successful resolution.
typedef enum ... NSNotificationCoalescing;
Availability: OpenStep
Enumeration of possible ways to combine
notifications when dealing with
NSNotificationQueue
:
{
NSNotificationNoCoalescing, // don't combine
NSNotificationCoalescingOnName, // combine all registered with same name
NSNotificationCoalescingOnSender // combine all registered with same object
}
typedef enum ... NSPostingStyle;
Availability: OpenStep
Enumeration of possible timings for distribution
of notifications handed to an
NSNotificationQueue
:
{
NSPostWhenIdle, // post when runloop is idle
NSPostASAP, // post soon
NSPostNow // post synchronously
}
typedef gsaddr NSInteger;
Availability: OpenStep
Description forthcoming.
typedef gsuaddr NSUInteger;
Availability: OpenStep
Description forthcoming.
typedef enum _NSComparisonResult NSComparisonResult;
Availability: OpenStep
Contains values NSOrderedSame
,
NSOrderedAscending
NSOrderedDescending
, for left hand side
equals, less than, or greater than right hand side.
typedef enum ... 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
}
Applications
Demos
Developer/Applications
Administration
Library
Developer
user home directories
Documentation
Documents
CoreServices
location
of users desktop
location of users cache files
location of app support files
location
of downloaded files
all app directories
all
library resources
libraries (binary code)
non-gui programs
font storage
frameworks
web applications (GSWeb or SOPE)
admin non-gui programs
typedef enum ... 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
.
The user's personal items
Local for all users on the machine
Public for all users on network
Standard GNUstep items
all domains
typedef SOCKET NSSocketNativeHandle;
Availability: MacOS-X 10.0.0
Native socket type.
typedef enum ... NSPropertyListFormat;
Availability: MacOS-X 10.0.0
Specifies the serialisation format for a serialised
property list.
NSPropertyListOpenStepFormat the
most human-readable format
NSPropertyListXMLFormat_v1_0
portable and readable
NSPropertyListBinaryFormat_v1_0 the
standard format on macos-x
NSPropertyListGNUstepFormat
extension of OpenStep format
NSPropertyListGNUstepBinaryFormat
efficient, hardware independent
typedef enum ... NSPropertyListMutabilityOptions;
Availability: MacOS-X 10.0.0
Describes the mutability to use when generating
objects during deserialisation of a property list.
NSPropertyListImmutable all
objects in created list are immutable
NSPropertyListMutableContainers
dictionaries and arrays are mutable
NSPropertyListMutableContainersAndLeaves
dictionaries, arrays, strings and data objects
are mutable
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.
typedef NSRange* NSRangePointer;
Availability: MacOS-X 10.0.0
Pointer to an NSRange structure.
typedef enum ... RunLoopEventType;
Availability: OpenStep
Description forthcoming.
typedef enum ... NSStreamEvent;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
typedef enum ... NSStreamStatus;
Availability: MacOS-X 10.4.0, Base 1.2.0
Description forthcoming.
typedef NSUInteger NSStringCompareOptions;
Availability: OpenStep
Description forthcoming.
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
.
typedef NSUInteger NSStringEncodingConversionOptions;
Availability: MacOS-X 10.4.0
Description forthcoming.
typedef uint16_t unichar;
Availability: OpenStep
Type for representing unicode characters. (16-bit)
typedef enum ... NSURLCacheStoragePolicy;
Availability: MacOS-X 10.2.0, Base 1.13.0
Specifies the cache storage policy.
Unrestricted caching
In memory caching
only
No caching allowed
typedef enum ... NSURLCredentialPersistence;
Availability: MacOS-X 10.2.0, Base 1.13.0
Controls how long a credential is
retained.
Don't save at all
Save for
current session
Save forever (on disk)
typedef enum ... NSURLHandleStatus;
Availability: MacOS-X 10.0.0
Enumerated type returned by
[NSURLHandle -status]
:
{
NSURLHandleNotLoaded
NSURLHandleLoadSucceeded,
NSURLHandleLoadInProgress,
NSURLHandleLoadFailed
}
typedef enum ... 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.
typedef struct ... GSNumberInfo;
Availability: Not in OpenStep/MacOS-X
Cache info for internal use by NSNumber concrete
subclasses. DO NOT USE.
typedef enum ... NSXMLParserError;
Availability: MacOS-X 10.3.0
Description forthcoming.
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.
}
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.
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.
struct _NSPoint struct _NSPoint;
Availability: OpenStep
Description forthcoming.
struct _NSRect struct _NSRect;
Availability: OpenStep
Description forthcoming.
struct _NSSize struct _NSSize;
Availability: OpenStep
Description forthcoming.
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.
struct _NSNotificationQueueList struct _NSNotificationQueueList;
Availability: OpenStep
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;
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
-
-
Converts the string to be logged to data in the
default CString encoding or, if that is not
possible, to UTF8 data.
-
If the system supports writing to syslog and the user
default to say that logging should be done to
syslog (GSLogSyslog) is set, writes the data to
the syslog.
On an mswindows system, where
syslog is not available, the GSLogSyslog user
default controls whether or not data is written
to the system event log,
-
Otherwise, writes the data to the file
descriptor stored in the variable
_NSLogDescriptor
, which is set by default to stderr.
Your
program may change this descriptor... but you
should protect changes using the lock provided by
GSLogLock()
.
NB. If the write to the descriptor fails, and
the system supports writing to syslog, then the log
is written to syslog as if the appropriate user
default had been set.
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.
struct _NSRange struct _NSRange;
Availability: OpenStep
Description forthcoming.
struct objc_class _NSConstantStringClassReference;
Availability: OpenStep
For internal use with NeXT runtime; needed, until Apple
Radar 2870817 is fixed.
NSZone* __nszone_private_hidden_atomic_zone;
Availability: OpenStep
Description forthcoming.
NSZone* __nszone_private_hidden_default_zone;
Availability: OpenStep
Description forthcoming.
struct NSZoneStats struct NSZoneStats;
Availability: OpenStep
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;
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.
}
Up