Export string constants and annotate exported function implementations

Moves scattered string constants to externs.m, and removes obsolete code replacing constant strings.
This commit is contained in:
Frederik Seiffert 2021-03-26 16:06:49 +01:00 committed by Frederik Seiffert
parent fb84b3b1e8
commit 0582eddd96
47 changed files with 769 additions and 945 deletions

View file

@ -1,3 +1,55 @@
2021-03-27 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSConnection.h:
* Source/Additions/GSMime.m:
* Source/Additions/NSDebug+GNUstepBase.m:
* Source/Additions/NSStream+GNUstepBase.m:
* Source/GSPrivate.h:
* Source/GSTLS.m:
* Source/NSArchiver.m:
* Source/NSBundle.m:
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
* Source/NSConnection.m:
* Source/NSDate.m:
* Source/NSDecimal.m:
* Source/NSError.m:
* Source/NSExtensionContext.m:
* Source/NSExtensionItem.m:
* Source/NSFileHandle.m:
* Source/NSFileManager.m:
* Source/NSHFSFileTypes.m:
* Source/NSHTTPCookie.m:
* Source/NSHTTPCookieStorage.m:
* Source/NSInvocationOperation.m:
* Source/NSItemProvider.m:
* Source/NSKeyValueCoding.m:
* Source/NSKeyValueObserving.m:
* Source/NSKeyedArchiver.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSLocale.m:
* Source/NSMetadata.m:
* Source/NSMetadataAttributes.m:
* Source/NSNetServices.m:
* Source/NSObjCRuntime.m:
* Source/NSObject.m:
* Source/NSPathUtilities.m:
* Source/NSPersonNameComponentsFormatter.m:
* Source/NSPort.m:
* Source/NSSpellServer.m:
* Source/NSTimeZone.m:
* Source/NSURL.m:
* Source/NSURLCredentialStorage.m:
* Source/NSURLHandle.m:
* Source/NSURLProtectionSpace.m:
* Source/NSUserNotification.m:
* Source/NSXMLParser.m:
* Source/NSZone.m:
* Source/externs.m:
Export string constants and annotate exported function implementations.
Moves scattered string constants to externs.m, and removes obsolete
code replacing constant strings.
2021-03-12 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSFileManager.m:

View file

@ -278,6 +278,10 @@ GS_EXPORT NSString * const NSConnectionDidInitializeNotification; /* OPENSTEP */
*/
GS_EXPORT NSString * const NSFailedAuthenticationException; /* MacOS-X */
GS_EXPORT NSString * const NSDestinationInvalidException;
GS_EXPORT NSString * const NSObjectInaccessibleException;
GS_EXPORT NSString * const NSObjectNotAvailableException;
#if defined(__cplusplus)
}
#endif

View file

@ -7932,7 +7932,7 @@ appendString(NSMutableData *m, NSUInteger offset, NSUInteger fold,
@end
NSString* const GSMimeErrorDomain = @"GSMimeErrorDomain";
GS_DECLARE NSString* const GSMimeErrorDomain = @"GSMimeErrorDomain";
typedef enum {
TP_IDLE,

View file

@ -29,7 +29,7 @@
#import "common.h"
#import "GNUstepBase/NSDebug+GNUstepBase.h"
NSString*
GS_DECLARE NSString*
GSDebugFunctionMsg(const char *func, const char *file, int line, NSString *fmt)
{
NSString *message;
@ -39,7 +39,7 @@ GSDebugFunctionMsg(const char *func, const char *file, int line, NSString *fmt)
return message;
}
NSString*
GS_DECLARE NSString*
GSDebugMethodMsg(id obj, SEL sel, const char *file, int line, NSString *fmt)
{
NSString *message;

View file

@ -27,18 +27,6 @@
#import "GNUstepBase/NSObject+GNUstepBase.h"
#import "GNUstepBase/NSStream+GNUstepBase.h"
/* Code used in GNUstepBase
*/
NSString * const GSStreamLocalAddressKey
= @"GSStreamLocalAddressKey";
NSString * const GSStreamLocalPortKey
= @"GSStreamLocalPortKey";
NSString * const GSStreamRemoteAddressKey
= @"GSStreamRemoteAddressKey";
NSString * const GSStreamRemotePortKey
= @"GSStreamRemotePortKey";
/* The remaining code is specific to the Apple Foundation
*/
#if !defined(GNUSTEP)

View file

@ -360,11 +360,6 @@ GSPrivateArgZero() GS_ATTRIB_PRIVATE;
NSStringEncoding *
GSPrivateAvailableEncodings() GS_ATTRIB_PRIVATE;
/* Initialise constant strings
*/
void
GSPrivateBuildStrings(void) GS_ATTRIB_PRIVATE;
/* Used to check for termination of background tasks.
*/
BOOL

View file

@ -71,19 +71,6 @@
}
@end
/* Constants to control TLS/SSL (options).
*/
NSString * const GSTLSCAFile = @"GSTLSCAFile";
NSString * const GSTLSCertificateFile = @"GSTLSCertificateFile";
NSString * const GSTLSCertificateKeyFile = @"GSTLSCertificateKeyFile";
NSString * const GSTLSCertificateKeyPassword = @"GSTLSCertificateKeyPassword";
NSString * const GSTLSDebug = @"GSTLSDebug";
NSString * const GSTLSPriority = @"GSTLSPriority";
NSString * const GSTLSRemoteHosts = @"GSTLSRemoteHosts";
NSString * const GSTLSRevokeFile = @"GSTLSRevokeFile";
NSString * const GSTLSServerName = @"GSTLSServerName";
NSString * const GSTLSVerify = @"GSTLSVerify";
#if defined(HAVE_GNUTLS)
static NSString *

View file

@ -59,9 +59,6 @@
typedef unsigned char uchar;
NSString * const NSInconsistentArchiveException =
@"NSInconsistentArchiveException";
#define PREFIX "GNUstep archive"
static SEL serSel;

View file

@ -57,11 +57,6 @@
#import "GSPrivate.h"
/* Constants */
NSString * const NSBundleDidLoadNotification = @"NSBundleDidLoadNotification";
NSString * const NSShowNonLocalizedStrings = @"NSShowNonLocalizedStrings";
NSString * const NSLoadedClasses = @"NSLoadedClasses";
static NSFileManager *
manager()
{

View file

@ -680,7 +680,7 @@ NSResetHashTable(NSHashTable *table)
* is appended. The appropriate describe function is used to generate
* the strings for each item.
*/
NSString *
GS_DECLARE NSString *
NSStringFromHashTable(NSHashTable *table)
{
GSIMapTable t = (GSIMapTable)table;

View file

@ -974,7 +974,7 @@ NSResetMapTable(NSMapTable *table)
* is appended. The appropriate describe functions are used to generate
* the strings for each key and value.
*/
NSString *
GS_DECLARE NSString *
NSStringFromMapTable(NSMapTable *table)
{
if (table == nil)

View file

@ -181,15 +181,6 @@ GSRunLoopForThread(NSThread *aThread)
#define GSM_UNLOCK(X) \
{NSDebugMLLog(@"GSConnection",@"Unlock %@",X);[X unlock];}
NSString * const NSDestinationInvalidException =
@"NSDestinationInvalidException";
NSString * const NSFailedAuthenticationException =
@"NSFailedAuthenticationExceptions";
NSString * const NSObjectInaccessibleException =
@"NSObjectInaccessibleException";
NSString * const NSObjectNotAvailableException =
@"NSObjectNotAvailableException";
/*
* Cache various class pointers.
*/

View file

@ -54,8 +54,7 @@
#define NAN 0x7fffffffffffffff
#endif
const NSTimeInterval NSTimeIntervalSince1970 = 978307200.0;
NSString *const NSSystemClockDidChangeNotification = @"NSSystemClockDidChangeNotification";
GS_DECLARE const NSTimeInterval NSTimeIntervalSince1970 = 978307200.0;

View file

@ -109,7 +109,7 @@ static NSDecimal one = {0, NO, YES, 1, {1}};
#endif
void
GS_DECLARE void
NSDecimalCopy(NSDecimal *destination, const NSDecimal *source)
{
memcpy(destination, source, sizeof(NSDecimal));
@ -416,7 +416,7 @@ static NSCalculationError
GSSimpleAdd(NSDecimal *result, const NSDecimal *left, const NSDecimal *right,
NSRoundingMode mode);
NSCalculationError
GS_DECLARE NSCalculationError
NSDecimalAdd(NSDecimal *result, const NSDecimal *left, const NSDecimal *right,
NSRoundingMode mode)
{
@ -515,7 +515,7 @@ static NSCalculationError
GSSimpleSubtract(NSDecimal *result, const NSDecimal *left,
const NSDecimal *right, NSRoundingMode mode);
NSCalculationError
GS_DECLARE NSCalculationError
NSDecimalSubtract(NSDecimal *result, const NSDecimal *left,
const NSDecimal *right, NSRoundingMode mode)
{
@ -624,7 +624,7 @@ static NSCalculationError
GSSimpleMultiply(NSDecimal *result, NSDecimal *l, NSDecimal *r,
NSRoundingMode mode);
NSCalculationError
GS_DECLARE NSCalculationError
NSDecimalMultiply(NSDecimal *result, const NSDecimal *l, const NSDecimal *r,
NSRoundingMode mode)
{
@ -706,7 +706,7 @@ static NSCalculationError
GSSimpleDivide(NSDecimal *result, const NSDecimal *l, const NSDecimal *r,
NSRoundingMode mode);
NSCalculationError
GS_DECLARE NSCalculationError
NSDecimalDivide(NSDecimal *result, const NSDecimal *l, const NSDecimal *rr,
NSRoundingMode mode)
{
@ -773,7 +773,7 @@ NSDecimalDivide(NSDecimal *result, const NSDecimal *l, const NSDecimal *rr,
return error;
}
NSCalculationError
GS_DECLARE NSCalculationError
NSDecimalPower(NSDecimal *result, const NSDecimal *n, NSUInteger power, NSRoundingMode mode)
{
NSCalculationError error = NSCalculationNoError;
@ -813,7 +813,7 @@ NSDecimalPower(NSDecimal *result, const NSDecimal *n, NSUInteger power, NSRoundi
return error;
}
NSCalculationError
GS_DECLARE NSCalculationError
NSDecimalMultiplyByPowerOf10(NSDecimal *result, const NSDecimal *n, short power, NSRoundingMode mode)
{
int p;
@ -923,7 +923,7 @@ GSDecimalString(const GSDecimal *number, NSDictionary *locale)
// independent for NSDecimals internal representation
// Give back the biggest NSDecimal
void
GS_DECLARE void
NSDecimalMax(NSDecimal *result)
{
// FIXME: this is too small
@ -931,7 +931,7 @@ NSDecimalMax(NSDecimal *result)
}
// Give back the smallest NSDecimal
void
GS_DECLARE void
NSDecimalMin(NSDecimal *result)
{
// This is the smallest possible not the smallest positive number
@ -1113,7 +1113,7 @@ static void DecimalToCharvec(const NSDecimal *n, GSDecimal *m)
}
}
void
GS_DECLARE void
NSDecimalCompact(NSDecimal *number)
{
GSDecimal m;
@ -1127,7 +1127,7 @@ NSDecimalCompact(NSDecimal *number)
CharvecToDecimal(&m, number);
}
NSComparisonResult
GS_DECLARE NSComparisonResult
NSDecimalCompare(const NSDecimal *leftOperand, const NSDecimal *rightOperand)
{
GSDecimal m1;
@ -1161,7 +1161,7 @@ NSDecimalRound(NSDecimal *result, const NSDecimal *number, NSInteger scale,
CharvecToDecimal(&m, result);
}
NSCalculationError
GS_DECLARE NSCalculationError
NSDecimalNormalize(NSDecimal *n1, NSDecimal *n2, NSRoundingMode mode)
{
NSCalculationError error;
@ -1290,7 +1290,7 @@ GSSimpleDivide(NSDecimal *result, const NSDecimal *left, const NSDecimal *right,
return error;
}
NSString*
GS_DECLARE NSString*
NSDecimalString(const NSDecimal *decimal, NSDictionary *locale)
{
GSDecimal n;
@ -1299,7 +1299,7 @@ NSDecimalString(const NSDecimal *decimal, NSDictionary *locale)
return GSDecimalString(&n, locale);
}
double
GS_DECLARE double
NSDecimalDouble(NSDecimal *number)
{
GSDecimal n;
@ -1308,7 +1308,7 @@ NSDecimalDouble(NSDecimal *number)
return GSDecimalDouble(&n);
}
void
GS_DECLARE void
NSDecimalFromComponents(NSDecimal *result, unsigned long long mantissa,
short exponent, BOOL negative)
{
@ -1324,7 +1324,7 @@ NSDecimalFromComponents(NSDecimal *result, unsigned long long mantissa,
//NSLog(@"NSDecimal 2: %@", NSDecimalString(result, nil));
}
void
GS_DECLARE void
NSDecimalFromString(NSDecimal *result, NSString *numberValue,
NSDictionary *locale)
{
@ -1338,19 +1338,19 @@ NSDecimalFromString(NSDecimal *result, NSString *numberValue,
// First implementations of the functions defined in NSDecimal.h
void
GS_DECLARE void
NSDecimalCompact(NSDecimal *number)
{
GSDecimalCompact(number);
}
NSComparisonResult
GS_DECLARE NSComparisonResult
NSDecimalCompare(const NSDecimal *leftOperand, const NSDecimal *rightOperand)
{
return GSDecimalCompare(leftOperand, rightOperand);
}
void
GS_DECLARE void
NSDecimalRound(NSDecimal *result, const NSDecimal *number, NSInteger scale,
NSRoundingMode mode)
{
@ -1359,7 +1359,7 @@ NSDecimalRound(NSDecimal *result, const NSDecimal *number, NSInteger scale,
GSDecimalRound(result, scale, mode);
}
NSCalculationError
GS_DECLARE NSCalculationError
NSDecimalNormalize(NSDecimal *n1, NSDecimal *n2, NSRoundingMode mode)
{
if (!n1->validNumber || !n2->validNumber)
@ -1647,7 +1647,7 @@ GSSimpleDivide(NSDecimal *result, const NSDecimal *l, const NSDecimal *r,
return error;
}
NSString*
GS_DECLARE NSString*
NSDecimalString(const NSDecimal *decimal, NSDictionary *locale)
{
return GSDecimalString(decimal, locale);
@ -1656,20 +1656,20 @@ NSDecimalString(const NSDecimal *decimal, NSDictionary *locale)
// GNUstep extensions to make the implementation of NSDecimalNumber totaly
// independent for NSDecimals internal representation
double
GS_DECLARE double
NSDecimalDouble(NSDecimal *number)
{
return GSDecimalDouble(number);
}
void
GS_DECLARE void
NSDecimalFromComponents(NSDecimal *result, unsigned long long mantissa,
short exponent, BOOL negative)
{
GSDecimalFromComponents(result, mantissa, exponent, negative);
}
void
GS_DECLARE void
NSDecimalFromString(NSDecimal *result, NSString *numberValue,
NSDictionary *locale)
{

View file

@ -28,29 +28,6 @@
#import "Foundation/NSError.h"
#import "Foundation/NSCoder.h"
NSString* const NSFilePathErrorKey = @"NSFilePath";
NSString* const NSLocalizedDescriptionKey = @"NSLocalizedDescriptionKey";
NSString* const NSStringEncodingErrorKey = @"NSStringEncodingErrorKey";
NSString* const NSURLErrorKey = @"NSURLErrorKey";
NSString* const NSUnderlyingErrorKey = @"NSUnderlyingErrorKey";
NSString* const NSLocalizedFailureReasonErrorKey
= @"NSLocalizedFailureReasonErrorKey";
NSString* const NSLocalizedRecoveryOptionsErrorKey
= @"NSLocalizedRecoveryOptionsErrorKey";
NSString* const NSLocalizedRecoverySuggestionErrorKey
= @"NSLocalizedRecoverySuggestionErrorKey";
NSString* const NSRecoveryAttempterErrorKey
= @"NSRecoveryAttempterErrorKey";
NSString* const NSURLErrorFailingURLErrorKey = @"NSErrorFailingURLKey";
NSString* const NSURLErrorFailingURLStringErrorKey = @"NSErrorFailingURLStringKey";
NSErrorDomain const NSMACHErrorDomain = @"NSMACHErrorDomain";
NSErrorDomain const NSOSStatusErrorDomain = @"NSOSStatusErrorDomain";
NSErrorDomain const NSPOSIXErrorDomain = @"NSPOSIXErrorDomain";
NSErrorDomain const NSCocoaErrorDomain = @"NSCocoaErrorDomain";
@implementation NSError
+ (id) errorWithDomain: (NSErrorDomain)aDomain

View file

@ -53,14 +53,3 @@
}
@end
NSString* const NSExtensionItemsAndErrorsKey = @"NSExtensionItemsAndErrorsKey";
NSString* const NSExtensionHostWillEnterForegroundNotification = @"NSExtensionHostWillEnterForegroundNotification";
NSString* const NSExtensionHostDidEnterBackgroundNotification = @"NSExtensionHostDidEnterBackgroundNotification";
NSString* const NSExtensionHostWillResignActiveNotification = @"NSExtensionHostWillResignActiveNotification";
NSString* const NSExtensionHostDidBecomeActiveNotification = @"NSExtensionHostDidBecomeActiveNotification";

View file

@ -70,12 +70,3 @@
}
@end
NSString * const NSExtensionItemAttributedTitleKey = @"NSExtensionItemAttributedTitleKey";
NSString * const NSExtensionItemAttributedContentTextKey = @"NSExtensionItemAttributedContentTextKey";
NSString * const NSExtensionItemAttachmentsKey = @"NSExtensionItemAttachmentsKey";

View file

@ -42,18 +42,6 @@
#define EXPOSE_GSFileHandle_IVARS 1
#import "GSFileHandle.h"
// GNUstep Notification names
NSString * const GSFileHandleConnectCompletionNotification
= @"GSFileHandleConnectCompletionNotification";
NSString * const GSFileHandleWriteCompletionNotification
= @"GSFileHandleWriteCompletionNotification";
// GNUstep key for getting error message.
NSString * const GSFileHandleNotificationError
= @"GSFileHandleNotificationError";
static Class NSFileHandle_abstract_class = nil;
static Class NSFileHandle_concrete_class = nil;
static Class NSFileHandle_ssl_class = nil;
@ -483,35 +471,6 @@ static Class NSFileHandle_ssl_class = nil;
@end
// Keys for accessing userInfo dictionary in notification handlers.
NSString * const NSFileHandleNotificationDataItem
= @"NSFileHandleNotificationDataItem";
NSString * const NSFileHandleNotificationFileHandleItem
= @"NSFileHandleNotificationFileHandleItem";
NSString * const NSFileHandleNotificationMonitorModes
= @"NSFileHandleNotificationMonitorModes";
// Notification names
NSString * const NSFileHandleConnectionAcceptedNotification
= @"NSFileHandleConnectionAcceptedNotification";
NSString * const NSFileHandleDataAvailableNotification
= @"NSFileHandleDataAvailableNotification";
NSString * const NSFileHandleReadCompletionNotification
= @"NSFileHandleReadCompletionNotification";
NSString * const NSFileHandleReadToEndOfFileCompletionNotification
= @"NSFileHandleReadToEndOfFileCompletionNotification";
// Exceptions
/**
* An exception used when a file error occurs.
*/
NSString * const NSFileHandleOperationException
= @"NSFileHandleOperationException";
// GNUstep class extensions
/**

View file

@ -4157,36 +4157,3 @@ static NSSet *fileKeys = nil;
return val;
}
@end
NSString * const NSFileAppendOnly = @"NSFileAppendOnly";
NSString * const NSFileCreationDate = @"NSFileCreationDate";
NSString * const NSFileDeviceIdentifier = @"NSFileDeviceIdentifier";
NSString * const NSFileExtensionHidden = @"NSFileExtensionHidden";
NSString * const NSFileGroupOwnerAccountID = @"NSFileGroupOwnerAccountID";
NSString * const NSFileGroupOwnerAccountName = @"NSFileGroupOwnerAccountName";
NSString * const NSFileHFSCreatorCode = @"NSFileHFSCreatorCode";
NSString * const NSFileHFSTypeCode = @"NSFileHFSTypeCode";
NSString * const NSFileImmutable = @"NSFileImmutable";
NSString * const NSFileModificationDate = @"NSFileModificationDate";
NSString * const NSFileOwnerAccountID = @"NSFileOwnerAccountID";
NSString * const NSFileOwnerAccountName = @"NSFileOwnerAccountName";
NSString * const NSFilePosixPermissions = @"NSFilePosixPermissions";
NSString * const NSFileReferenceCount = @"NSFileReferenceCount";
NSString * const NSFileSize = @"NSFileSize";
NSString * const NSFileSystemFileNumber = @"NSFileSystemFileNumber";
NSString * const NSFileSystemFreeNodes = @"NSFileSystemFreeNodes";
NSString * const NSFileSystemFreeSize = @"NSFileSystemFreeSize";
NSString * const NSFileSystemNodes = @"NSFileSystemNodes";
NSString * const NSFileSystemNumber = @"NSFileSystemNumber";
NSString * const NSFileSystemSize = @"NSFileSystemSize";
NSString * const NSFileType = @"NSFileType";
NSString * const NSFileTypeBlockSpecial = @"NSFileTypeBlockSpecial";
NSString * const NSFileTypeCharacterSpecial = @"NSFileTypeCharacterSpecial";
NSString * const NSFileTypeDirectory = @"NSFileTypeDirectory";
NSString * const NSFileTypeFifo = @"NSFileTypeFifo";
NSString * const NSFileTypeRegular = @"NSFileTypeRegular";
NSString * const NSFileTypeSocket = @"NSFileTypeSocket";
NSString * const NSFileTypeSymbolicLink = @"NSFileTypeSymbolicLink";
NSString * const NSFileTypeUnknown = @"NSFileTypeUnknown";

View file

@ -24,17 +24,17 @@
#include <Foundation/NSHFSFileTypes.h>
NSString *NSFileTypeForHFSTypeCode(NSUInteger hfsFileTypeCode)
GS_DECLARE NSString *NSFileTypeForHFSTypeCode(NSUInteger hfsFileTypeCode)
{
return nil;
}
NSUInteger NSHFSTypeCodeFromFileType(NSString *fileTypeString)
GS_DECLARE NSUInteger NSHFSTypeCodeFromFileType(NSString *fileTypeString)
{
return 0;
}
NSString *NSHFSTypeOfFile(NSString *fullFilePath)
GS_DECLARE NSString *NSHFSTypeOfFile(NSString *fullFilePath)
{
return nil;
}

View file

@ -46,19 +46,6 @@
#import "Foundation/NSCalendarDate.h"
#import "GNUstepBase/Unicode.h"
NSString * const NSHTTPCookieComment = @"Comment";
NSString * const NSHTTPCookieCommentURL = @"CommentURL";
NSString * const NSHTTPCookieDiscard = @"Discard";
NSString * const NSHTTPCookieDomain = @"Domain";
NSString * const NSHTTPCookieExpires = @"Expires";
NSString * const NSHTTPCookieMaximumAge = @"MaximumAge";
NSString * const NSHTTPCookieName = @"Name";
NSString * const NSHTTPCookieOriginURL = @"OriginURL";
NSString * const NSHTTPCookiePath = @"Path";
NSString * const NSHTTPCookiePort = @"Port";
NSString * const NSHTTPCookieSecure = @"Secure";
NSString * const NSHTTPCookieValue = @"Value";
NSString * const NSHTTPCookieVersion = @"Version";
static NSString * const HTTPCookieHTTPOnly = @"HTTPOnly";
// Internal data storage

View file

@ -32,12 +32,6 @@
#import "Foundation/NSString.h"
#import "Foundation/NSDistributedNotificationCenter.h"
NSString * const NSHTTPCookieManagerAcceptPolicyChangedNotification
= @"NSHTTPCookieManagerAcceptPolicyChangedNotification";
NSString * const NSHTTPCookieManagerCookiesChangedNotification
= @"NSHTTPCookieManagerCookiesChangedNotification";
NSString *objectObserver = @"org.GNUstep.NSHTTPCookieStorage";
// Internal data storage

View file

@ -135,8 +135,3 @@
}
@end
NSString* const NSInvocationOperationVoidResultException
= @"NSInvocationOperationVoidResultException";
NSString* const NSInvocationOperationCancelledException
= @"NSInvcationOperationCancelledException";

View file

@ -146,7 +146,6 @@
@end
// Preview support
NSString * const NSItemProviderPreferredImageSizeKey = @"NSItemProviderPreferredImageSizeKey";
@implementation NSItemProvider (NSPreviewSupport)
@ -165,11 +164,3 @@ NSString * const NSItemProviderPreferredImageSizeKey = @"NSItemProviderPreferred
}
@end
NSString * const NSExtensionJavaScriptPreprocessingResultsKey = @"NSExtensionJavaScriptPreprocessingResultsKey";
NSString * const NSExtensionJavaScriptFinalizeArgumentKey = @"NSExtensionJavaScriptFinalizeArgumentKey";
NSString * const NSItemProviderErrorDomain = @"NSItemProviderErrorDomain" ;

View file

@ -41,12 +41,6 @@
#include "NSKeyValueMutableArray.m"
#include "NSKeyValueMutableSet.m"
/* For backward compatibility NSUndefinedKeyException is actually the same
* as the older NSUnknownKeyException
*/
NSString* const NSUnknownKeyException = @"NSUnknownKeyException";
NSString* const NSUndefinedKeyException = @"NSUnknownKeyException";
/* this should move into autoconf once it's accepted */
#define WANT_DEPRECATED_KVC_COMPAT 1

View file

@ -68,12 +68,6 @@
* with a another generic setter.
*/
NSString *const NSKeyValueChangeIndexesKey = @"indexes";
NSString *const NSKeyValueChangeKindKey = @"kind";
NSString *const NSKeyValueChangeNewKey = @"new";
NSString *const NSKeyValueChangeOldKey = @"old";
NSString *const NSKeyValueChangeNotificationIsPriorKey = @"notificationIsPrior";
static NSRecursiveLock *kvoLock = nil;
static NSMapTable *classTable = 0;
static NSMapTable *infoTable = 0;

View file

@ -56,14 +56,6 @@
#import "Foundation/NSKeyedArchiver.h"
#undef _IN_NSKEYEDARCHIVER_M
/* Exceptions */
/**
* An archiving error has occurred.
*/
NSString * const NSInvalidArchiveOperationException
= @"NSInvalidArchiveOperationException";
static NSMapTable *globalClassMap = 0;
static Class NSStringClass = 0;

View file

@ -54,12 +54,6 @@
@implementation NilMarker
@end
/**
* An unarchiving error has occurred.
*/
NSString * const NSInvalidUnarchiveOperationException
= @"NSInvalidUnarchiveOperationException";
static NSMapTable *globalClassMap = 0;
#define GETVAL \

View file

@ -38,72 +38,6 @@
#import "Foundation/NSString.h"
#import "GNUstepBase/GSLock.h"
NSString * const NSCurrentLocaleDidChangeNotification =
@"NSCurrentLocaleDidChangeNotification";
//
// NSLocale Component Keys
//
NSString * const NSLocaleIdentifier = @"NSLocaleIdentifier";
NSString * const NSLocaleLanguageCode = @"NSLocaleLanguageCode";
NSString * const NSLocaleCountryCode = @"NSLocaleCountryCode";
NSString * const NSLocaleScriptCode = @"NSLocaleScriptCode";
NSString * const NSLocaleVariantCode = @"NSLocaleVariantCode";
NSString * const NSLocaleExemplarCharacterSet = @"NSLocaleExemplarCharacterSet";
NSString * const NSLocaleCalendarIdentifier = @"calendar";
NSString * const NSLocaleCalendar = @"NSLocaleCalendar";
NSString * const NSLocaleCollationIdentifier = @"collation";
NSString * const NSLocaleUsesMetricSystem = @"NSLocaleUsesMetricSystem";
NSString * const NSLocaleMeasurementSystem = @"NSLocaleMeasurementSystem";
NSString * const NSLocaleDecimalSeparator = @"NSLocaleDecimalSeparator";
NSString * const NSLocaleGroupingSeparator = @"NSLocaleGroupingSeparator";
NSString * const NSLocaleCurrencySymbol = @"NSLocaleCurrencySymbol";
NSString * const NSLocaleCurrencyCode = @"NSLocaleCurrencyCode";
NSString * const NSLocaleCollatorIdentifier = @"NSLocaleCollatorIdentifier";
NSString * const NSLocaleQuotationBeginDelimiterKey =
@"NSLocaleQuotationBeginDelimiterKey";
NSString * const NSLocaleQuotationEndDelimiterKey =
@"NSLocaleQuotationEndDelimiterKey";
NSString * const NSLocaleAlternateQuotationBeginDelimiterKey =
@"NSLocaleAlternateQuotationBeginDelimiterKey";
NSString * const NSLocaleAlternateQuotationEndDelimiterKey =
@"NSLocaleAlternateQuotationEndDelimiterKey";
//
// NSLocale Calendar Keys
//
NSString * const NSGregorianCalendar = @"gregorian";
NSString * const NSBuddhistCalendar = @"buddhist";
NSString * const NSChineseCalendar = @"chinese";
NSString * const NSHebrewCalendar = @"hebrew";
NSString * const NSIslamicCalendar = @"islamic";
NSString * const NSIslamicCivilCalendar = @"islamic-civil";
NSString * const NSJapaneseCalendar = @"japanese";
NSString * const NSRepublicOfChinaCalendar = @"roc";
NSString * const NSPersianCalendar = @"persian";
NSString * const NSIndianCalendar = @"indian";
NSString * const NSISO8601Calendar = @"";
//
// NSLocale New Calendar ID Keys
//
NSString * const NSCalendarIdentifierGregorian = @"gregorian";
NSString * const NSCalendarIdentifierBuddhist = @"buddhist";
NSString * const NSCalendarIdentifierChinese = @"chinese";
NSString * const NSCalendarIdentifierCoptic = @"coptic";
NSString * const NSCalendarIdentifierEthiopicAmeteMihret = @"ethiopic-amete-mihret";
NSString * const NSCalendarIdentifierEthiopicAmeteAlem = @"ethiopic-amete-alem";
NSString * const NSCalendarIdentifierHebrew = @"hebrew";
NSString * const NSCalendarIdentifierISO8601 = @"";
NSString * const NSCalendarIdentifierIndian = @"indian";
NSString * const NSCalendarIdentifierIslamic = @"islamic";
NSString * const NSCalendarIdentifierIslamicCivil = @"islamic-civil";
NSString * const NSCalendarIdentifierJapanese = @"japanese";
NSString * const NSCalendarIdentifierPersian = @"persian";
NSString * const NSCalendarIdentifierRepublicOfChina = @"roc";
NSString * const NSCalendarIdentifierIslamicTabular = @"islamic-tabular";
NSString * const NSCalendarIdentifierIslamicUmmAlQura = @"islamic-umm-al-qura";
#if defined(HAVE_UNICODE_ULOC_H)
# include <unicode/uloc.h>
#endif

View file

@ -86,27 +86,6 @@
@end
// Metdata Query Constants...
NSString * const NSMetadataQueryUserHomeScope
= @"NSMetadataQueryUserHomeScope";
NSString * const NSMetadataQueryLocalComputerScope
= @"NSMetadataQueryLocalComputerScope";
NSString * const NSMetadataQueryNetworkScope
= @"NSMetadataQueryNetworkScope";
NSString * const NSMetadataQueryUbiquitousDocumentsScope
= @"NSMetadataQueryUbiquitousDocumentsScope";
NSString * const NSMetadataQueryUbiquitousDataScope
= @"NSMetadataQueryUbiquitousDataScope";
NSString * const NSMetadataQueryDidFinishGatheringNotification
= @"NSMetadataQueryDidFinishGatheringNotification";
NSString * const NSMetadataQueryDidStartGatheringNotification
= @"NSMetadataQueryDidStartGatheringNotification";
NSString * const NSMetadataQueryDidUpdateNotification
= @"NSMetadataQueryDidUpdateNotification";
NSString * const NSMetadataQueryGatheringProgressNotification
= @"NSMetadataQueryGatheringProgressNotification";
@interface NSMetadataQueryInternal : NSObject
{
@public

View file

@ -25,184 +25,184 @@
#include <Foundation/NSMetadataAttributes.h>
#include <Foundation/NSString.h>
NSString *const NSMetadataItemAcquisitionMakeKey = @"NSMetadataItemAcquisitionMakeKey";
NSString *const NSMetadataItemAcquisitionModelKey = @"NSMetadataItemAcquisitionModelKey";
NSString *const NSMetadataItemAlbumKey = @"NSMetadataItemAlbumKey";
NSString *const NSMetadataItemAltitudeKey = @"NSMetadataItemAltitudeKey";
NSString *const NSMetadataItemApertureKey = @"NSMetadataItemApertureKey";
NSString *const NSMetadataItemAppleLoopDescriptorsKey = @"NSMetadataItemAppleLoopDescriptorsKey";
NSString *const NSMetadataItemAppleLoopsKeyFilterTypeKey = @"NSMetadataItemAppleLoopsKeyFilterTypeKey";
NSString *const NSMetadataItemAppleLoopsLoopModeKey = @"NSMetadataItemAppleLoopsLoopModeKey";
NSString *const NSMetadataItemAppleLoopsRootKeyKey = @"NSMetadataItemAppleLoopsRootKeyKey";
NSString *const NSMetadataItemApplicationCategoriesKey = @"NSMetadataItemApplicationCategoriesKey";
NSString *const NSMetadataItemAttributeChangeDateKey = @"NSMetadataItemAttributeChangeDateKey";
NSString *const NSMetadataItemAudiencesKey = @"NSMetadataItemAudiencesKey";
NSString *const NSMetadataItemAudioBitRateKey = @"NSMetadataItemAudioBitRateKey";
NSString *const NSMetadataItemAudioChannelCountKey = @"NSMetadataItemAudioChannelCountKey";
NSString *const NSMetadataItemAudioEncodingApplicationKey = @"NSMetadataItemAudioEncodingApplicationKey";
NSString *const NSMetadataItemAudioSampleRateKey = @"NSMetadataItemAudioSampleRateKey";
NSString *const NSMetadataItemAudioTrackNumberKey = @"NSMetadataItemAudioTrackNumberKey";
NSString *const NSMetadataItemAuthorAddressesKey = @"NSMetadataItemAuthorAddressesKey";
NSString *const NSMetadataItemAuthorEmailAddressesKey = @"NSMetadataItemAuthorEmailAddressesKey";
NSString *const NSMetadataItemAuthorsKey = @"NSMetadataItemAuthorsKey";
NSString *const NSMetadataItemBitsPerSampleKey = @"NSMetadataItemBitsPerSampleKey";
NSString *const NSMetadataItemCameraOwnerKey = @"NSMetadataItemCameraOwnerKey";
NSString *const NSMetadataItemCFBundleIdentifierKey = @"NSMetadataItemCFBundleIdentifierKey";
NSString *const NSMetadataItemCityKey = @"NSMetadataItemCityKey";
NSString *const NSMetadataItemCodecsKey = @"NSMetadataItemCodecsKey";
NSString *const NSMetadataItemColorSpaceKey = @"NSMetadataItemColorSpaceKey";
NSString *const NSMetadataItemCommentKey = @"NSMetadataItemCommentKey";
NSString *const NSMetadataItemComposerKey = @"NSMetadataItemComposerKey";
NSString *const NSMetadataItemContactKeywordsKey = @"NSMetadataItemContactKeywordsKey";
NSString *const NSMetadataItemContentCreationDateKey = @"NSMetadataItemContentCreationDateKey";
NSString *const NSMetadataItemContentModificationDateKey = @"NSMetadataItemContentModificationDateKey";
NSString *const NSMetadataItemContentTypeKey = @"NSMetadataItemContentTypeKey";
NSString *const NSMetadataItemContentTypeTreeKey = @"NSMetadataItemContentTypeTreeKey";
NSString *const NSMetadataItemContributorsKey = @"NSMetadataItemContributorsKey";
NSString *const NSMetadataItemCopyrightKey = @"NSMetadataItemCopyrightKey";
NSString *const NSMetadataItemCountryKey = @"NSMetadataItemCountryKey";
NSString *const NSMetadataItemCoverageKey = @"NSMetadataItemCoverageKey";
NSString *const NSMetadataItemCreatorKey = @"NSMetadataItemCreatorKey";
NSString *const NSMetadataItemDateAddedKey = @"NSMetadataItemDateAddedKey";
NSString *const NSMetadataItemDeliveryTypeKey = @"NSMetadataItemDeliveryTypeKey";
NSString *const NSMetadataItemDescriptionKey = @"NSMetadataItemDescriptionKey";
NSString *const NSMetadataItemDirectorKey = @"NSMetadataItemDirectorKey";
NSString *const NSMetadataItemDisplayNameKey = @"NSMetadataItemDisplayNameKey";
NSString *const NSMetadataItemDownloadedDateKey = @"NSMetadataItemDownloadedDateKey";
NSString *const NSMetadataItemDueDateKey = @"NSMetadataItemDueDateKey";
NSString *const NSMetadataItemDurationSecondsKey = @"NSMetadataItemDurationSecondsKey";
NSString *const NSMetadataItemEditorsKey = @"NSMetadataItemEditorsKey";
NSString *const NSMetadataItemEmailAddressesKey = @"NSMetadataItemEmailAddressesKey";
NSString *const NSMetadataItemEncodingApplicationsKey = @"NSMetadataItemEncodingApplicationsKey";
NSString *const NSMetadataItemExecutableArchitecturesKey = @"NSMetadataItemExecutableArchitecturesKey";
NSString *const NSMetadataItemExecutablePlatformKey = @"NSMetadataItemExecutablePlatformKey";
NSString *const NSMetadataItemEXIFGPSVersionKey = @"NSMetadataItemEXIFGPSVersionKey";
NSString *const NSMetadataItemEXIFVersionKey = @"NSMetadataItemEXIFVersionKey";
NSString *const NSMetadataItemExposureModeKey = @"NSMetadataItemExposureModeKey";
NSString *const NSMetadataItemExposureProgramKey = @"NSMetadataItemExposureProgramKey";
NSString *const NSMetadataItemExposureTimeSecondsKey = @"NSMetadataItemExposureTimeSecondsKey";
NSString *const NSMetadataItemExposureTimeStringKey = @"NSMetadataItemExposureTimeStringKey";
NSString *const NSMetadataItemFinderCommentKey = @"NSMetadataItemFinderCommentKey";
NSString *const NSMetadataItemFlashOnOffKey = @"NSMetadataItemFlashOnOffKey";
NSString *const NSMetadataItemFNumberKey = @"NSMetadataItemFNumberKey";
NSString *const NSMetadataItemFocalLength35mmKey = @"NSMetadataItemFocalLength35mmKey";
NSString *const NSMetadataItemFocalLengthKey = @"NSMetadataItemFocalLengthKey";
NSString *const NSMetadataItemFontsKey = @"NSMetadataItemFontsKey";
NSString *const NSMetadataItemFSContentChangeDateKey = @"NSMetadataItemFSContentChangeDateKey";
NSString *const NSMetadataItemFSCreationDateKey = @"NSMetadataItemFSCreationDateKey";
NSString *const NSMetadataItemFSNameKey = @"NSMetadataItemFSNameKey";
NSString *const NSMetadataItemFSSizeKey = @"NSMetadataItemFSSizeKey";
NSString *const NSMetadataItemGenreKey = @"NSMetadataItemGenreKey";
NSString *const NSMetadataItemGPSAreaInformationKey = @"NSMetadataItemGPSAreaInformationKey";
NSString *const NSMetadataItemGPSDateStampKey = @"NSMetadataItemGPSDateStampKey";
NSString *const NSMetadataItemGPSDestBearingKey = @"NSMetadataItemGPSDestBearingKey";
NSString *const NSMetadataItemGPSDestDistanceKey = @"NSMetadataItemGPSDestDistanceKey";
NSString *const NSMetadataItemGPSDestLatitudeKey = @"NSMetadataItemGPSDestLatitudeKey";
NSString *const NSMetadataItemGPSDestLongitudeKey = @"NSMetadataItemGPSDestLongitudeKey";
NSString *const NSMetadataItemGPSDifferentalKey = @"NSMetadataItemGPSDifferentalKey";
NSString *const NSMetadataItemGPSDOPKey = @"NSMetadataItemGPSDOPKey";
NSString *const NSMetadataItemGPSMapDatumKey = @"NSMetadataItemGPSMapDatumKey";
NSString *const NSMetadataItemGPSMeasureModeKey = @"NSMetadataItemGPSMeasureModeKey";
NSString *const NSMetadataItemGPSProcessingMethodKey = @"NSMetadataItemGPSProcessingMethodKey";
NSString *const NSMetadataItemGPSStatusKey = @"NSMetadataItemGPSStatusKey";
NSString *const NSMetadataItemGPSTrackKey = @"NSMetadataItemGPSTrackKey";
NSString *const NSMetadataItemHasAlphaChannelKey = @"NSMetadataItemHasAlphaChannelKey";
NSString *const NSMetadataItemHeadlineKey = @"NSMetadataItemHeadlineKey";
NSString *const NSMetadataItemIdentifierKey = @"NSMetadataItemIdentifierKey";
NSString *const NSMetadataItemImageDirectionKey = @"NSMetadataItemImageDirectionKey";
NSString *const NSMetadataItemInformationKey = @"NSMetadataItemInformationKey";
NSString *const NSMetadataItemInstantMessageAddressesKey = @"NSMetadataItemInstantMessageAddressesKey";
NSString *const NSMetadataItemInstructionsKey = @"NSMetadataItemInstructionsKey";
NSString *const NSMetadataItemIsApplicationManagedKey = @"NSMetadataItemIsApplicationManagedKey";
NSString *const NSMetadataItemIsGeneralMIDISequenceKey = @"NSMetadataItemIsGeneralMIDISequenceKey";
NSString *const NSMetadataItemIsLikelyJunkKey = @"NSMetadataItemIsLikelyJunkKey";
NSString *const NSMetadataItemISOSpeedKey = @"NSMetadataItemISOSpeedKey";
NSString *const NSMetadataItemIsUbiquitousKey = @"NSMetadataItemIsUbiquitousKey";
NSString *const NSMetadataItemKeySignatureKey = @"NSMetadataItemKeySignatureKey";
NSString *const NSMetadataItemKeywordsKey = @"NSMetadataItemKeywordsKey";
NSString *const NSMetadataItemKindKey = @"NSMetadataItemKindKey";
NSString *const NSMetadataItemLanguagesKey = @"NSMetadataItemLanguagesKey";
NSString *const NSMetadataItemLastUsedDateKey = @"NSMetadataItemLastUsedDateKey";
NSString *const NSMetadataItemLatitudeKey = @"NSMetadataItemLatitudeKey";
NSString *const NSMetadataItemLayerNamesKey = @"NSMetadataItemLayerNamesKey";
NSString *const NSMetadataItemLensModelKey = @"NSMetadataItemLensModelKey";
NSString *const NSMetadataItemLongitudeKey = @"NSMetadataItemLongitudeKey";
NSString *const NSMetadataItemLyricistKey = @"NSMetadataItemLyricistKey";
NSString *const NSMetadataItemMaxApertureKey = @"NSMetadataItemMaxApertureKey";
NSString *const NSMetadataItemMediaTypesKey = @"NSMetadataItemMediaTypesKey";
NSString *const NSMetadataItemMeteringModeKey = @"NSMetadataItemMeteringModeKey";
NSString *const NSMetadataItemMusicalGenreKey = @"NSMetadataItemMusicalGenreKey";
NSString *const NSMetadataItemMusicalInstrumentCategoryKey = @"NSMetadataItemMusicalInstrumentCategoryKey";
NSString *const NSMetadataItemMusicalInstrumentNameKey = @"NSMetadataItemMusicalInstrumentNameKey";
NSString *const NSMetadataItemNamedLocationKey = @"NSMetadataItemNamedLocationKey";
NSString *const NSMetadataItemNumberOfPagesKey = @"NSMetadataItemNumberOfPagesKey";
NSString *const NSMetadataItemOrganizationsKey = @"NSMetadataItemOrganizationsKey";
NSString *const NSMetadataItemOrientationKey = @"NSMetadataItemOrientationKey";
NSString *const NSMetadataItemOriginalFormatKey = @"NSMetadataItemOriginalFormatKey";
NSString *const NSMetadataItemOriginalSourceKey = @"NSMetadataItemOriginalSourceKey";
NSString *const NSMetadataItemPageHeightKey = @"NSMetadataItemPageHeightKey";
NSString *const NSMetadataItemPageWidthKey = @"NSMetadataItemPageWidthKey";
NSString *const NSMetadataItemParticipantsKey = @"NSMetadataItemParticipantsKey";
NSString *const NSMetadataItemPathKey = @"NSMetadataItemPathKey";
NSString *const NSMetadataItemPerformersKey = @"NSMetadataItemPerformersKey";
NSString *const NSMetadataItemPhoneNumbersKey = @"NSMetadataItemPhoneNumbersKey";
NSString *const NSMetadataItemPixelCountKey = @"NSMetadataItemPixelCountKey";
NSString *const NSMetadataItemPixelHeightKey = @"NSMetadataItemPixelHeightKey";
NSString *const NSMetadataItemPixelWidthKey = @"NSMetadataItemPixelWidthKey";
NSString *const NSMetadataItemProducerKey = @"NSMetadataItemProducerKey";
NSString *const NSMetadataItemProfileNameKey = @"NSMetadataItemProfileNameKey";
NSString *const NSMetadataItemProjectsKey = @"NSMetadataItemProjectsKey";
NSString *const NSMetadataItemPublishersKey = @"NSMetadataItemPublishersKey";
NSString *const NSMetadataItemRecipientAddressesKey = @"NSMetadataItemRecipientAddressesKey";
NSString *const NSMetadataItemRecipientEmailAddressesKey = @"NSMetadataItemRecipientEmailAddressesKey";
NSString *const NSMetadataItemRecipientsKey = @"NSMetadataItemRecipientsKey";
NSString *const NSMetadataItemRecordingDateKey = @"NSMetadataItemRecordingDateKey";
NSString *const NSMetadataItemRecordingYearKey = @"NSMetadataItemRecordingYearKey";
NSString *const NSMetadataItemRedEyeOnOffKey = @"NSMetadataItemRedEyeOnOffKey";
NSString *const NSMetadataItemResolutionHeightDPIKey = @"NSMetadataItemResolutionHeightDPIKey";
NSString *const NSMetadataItemResolutionWidthDPIKey = @"NSMetadataItemResolutionWidthDPIKey";
NSString *const NSMetadataItemRightsKey = @"NSMetadataItemRightsKey";
NSString *const NSMetadataItemSecurityMethodKey = @"NSMetadataItemSecurityMethodKey";
NSString *const NSMetadataItemSpeedKey = @"NSMetadataItemSpeedKey";
NSString *const NSMetadataItemStarRatingKey = @"NSMetadataItemStarRatingKey";
NSString *const NSMetadataItemStateOrProvinceKey = @"NSMetadataItemStateOrProvinceKey";
NSString *const NSMetadataItemStreamableKey = @"NSMetadataItemStreamableKey";
NSString *const NSMetadataItemSubjectKey = @"NSMetadataItemSubjectKey";
NSString *const NSMetadataItemTempoKey = @"NSMetadataItemTempoKey";
NSString *const NSMetadataItemTextContentKey = @"NSMetadataItemTextContentKey";
NSString *const NSMetadataItemThemeKey = @"NSMetadataItemThemeKey";
NSString *const NSMetadataItemTimeSignatureKey = @"NSMetadataItemTimeSignatureKey";
NSString *const NSMetadataItemTimestampKey = @"NSMetadataItemTimestampKey";
NSString *const NSMetadataItemTitleKey = @"NSMetadataItemTitleKey";
NSString *const NSMetadataItemTotalBitRateKey = @"NSMetadataItemTotalBitRateKey";
NSString *const NSMetadataItemURLKey = @"NSMetadataItemURLKey";
NSString *const NSMetadataItemVersionKey = @"NSMetadataItemVersionKey";
NSString *const NSMetadataItemVideoBitRateKey = @"NSMetadataItemVideoBitRateKey";
NSString *const NSMetadataItemWhereFromsKey = @"NSMetadataItemWhereFromsKey";
NSString *const NSMetadataItemWhiteBalanceKey = @"NSMetadataItemWhiteBalanceKey";
NSString *const NSMetadataUbiquitousItemContainerDisplayNameKey = @"NSMetadataUbiquitousItemContainerDisplayNameKey";
NSString *const NSMetadataUbiquitousItemDownloadingErrorKey = @"NSMetadataUbiquitousItemDownloadingErrorKey";
NSString *const NSMetadataUbiquitousItemDownloadingStatusCurrent = @"NSMetadataUbiquitousItemDownloadingStatusCurrent";
NSString *const NSMetadataUbiquitousItemDownloadingStatusDownloaded = @"NSMetadataUbiquitousItemDownloadingStatusDownloaded";
NSString *const NSMetadataUbiquitousItemDownloadingStatusKey = @"NSMetadataUbiquitousItemDownloadingStatusKey";
NSString *const NSMetadataUbiquitousItemDownloadingStatusNotDownloaded = @"NSMetadataUbiquitousItemDownloadingStatusNotDownloaded";
NSString *const NSMetadataUbiquitousItemDownloadRequestedKey = @"NSMetadataUbiquitousItemDownloadRequestedKey";
NSString *const NSMetadataUbiquitousItemHasUnresolvedConflictsKey = @"NSMetadataUbiquitousItemHasUnresolvedConflictsKey";
NSString *const NSMetadataUbiquitousItemIsDownloadedKey = @"NSMetadataUbiquitousItemIsDownloadedKey";
NSString *const NSMetadataUbiquitousItemIsDownloadingKey = @"NSMetadataUbiquitousItemIsDownloadingKey";
NSString *const NSMetadataUbiquitousItemIsExternalDocumentKey = @"NSMetadataUbiquitousItemIsExternalDocumentKey";
NSString *const NSMetadataUbiquitousItemIsSharedKey = @"NSMetadataUbiquitousItemIsSharedKey";
NSString *const NSMetadataUbiquitousItemIsUploadedKey = @"NSMetadataUbiquitousItemIsUploadedKey";
NSString *const NSMetadataUbiquitousItemIsUploadingKey = @"NSMetadataUbiquitousItemIsUploadingKey";
NSString *const NSMetadataUbiquitousItemPercentDownloadedKey = @"NSMetadataUbiquitousItemPercentDownloadedKey";
NSString *const NSMetadataUbiquitousItemPercentUploadedKey = @"NSMetadataUbiquitousItemPercentUploadedKey";
NSString *const NSMetadataUbiquitousItemUploadingErrorKey = @"NSMetadataUbiquitousItemUploadingErrorKey";
NSString *const NSMetadataUbiquitousItemURLInLocalContainerKey = @"NSMetadataUbiquitousItemURLInLocalContainerKey";
NSString *const NSMetadataUbiquitousSharedItemCurrentUserPermissionsKey = @"NSMetadataUbiquitousSharedItemCurrentUserPermissionsKey";
NSString *const NSMetadataUbiquitousSharedItemCurrentUserRoleKey = @"NSMetadataUbiquitousSharedItemCurrentUserRoleKey";
NSString *const NSMetadataUbiquitousSharedItemMostRecentEditorNameComponentsKey = @"NSMetadataUbiquitousSharedItemMostRecentEditorNameComponentsKey";
NSString *const NSMetadataUbiquitousSharedItemOwnerNameComponentsKey = @"NSMetadataUbiquitousSharedItemOwnerNameComponentsKey";
NSString *const NSMetadataUbiquitousSharedItemPermissionsReadOnly = @"NSMetadataUbiquitousSharedItemPermissionsReadOnly";
NSString *const NSMetadataUbiquitousSharedItemPermissionsReadWrite = @"NSMetadataUbiquitousSharedItemPermissionsReadWrite";
NSString *const NSMetadataUbiquitousSharedItemRoleOwner = @"NSMetadataUbiquitousSharedItemRoleOwner";
NSString *const NSMetadataUbiquitousSharedItemRoleParticipant = @"NSMetadataUbiquitousSharedItemRoleParticipant";
GS_DECLARE NSString *const NSMetadataItemAcquisitionMakeKey = @"NSMetadataItemAcquisitionMakeKey";
GS_DECLARE NSString *const NSMetadataItemAcquisitionModelKey = @"NSMetadataItemAcquisitionModelKey";
GS_DECLARE NSString *const NSMetadataItemAlbumKey = @"NSMetadataItemAlbumKey";
GS_DECLARE NSString *const NSMetadataItemAltitudeKey = @"NSMetadataItemAltitudeKey";
GS_DECLARE NSString *const NSMetadataItemApertureKey = @"NSMetadataItemApertureKey";
GS_DECLARE NSString *const NSMetadataItemAppleLoopDescriptorsKey = @"NSMetadataItemAppleLoopDescriptorsKey";
GS_DECLARE NSString *const NSMetadataItemAppleLoopsKeyFilterTypeKey = @"NSMetadataItemAppleLoopsKeyFilterTypeKey";
GS_DECLARE NSString *const NSMetadataItemAppleLoopsLoopModeKey = @"NSMetadataItemAppleLoopsLoopModeKey";
GS_DECLARE NSString *const NSMetadataItemAppleLoopsRootKeyKey = @"NSMetadataItemAppleLoopsRootKeyKey";
GS_DECLARE NSString *const NSMetadataItemApplicationCategoriesKey = @"NSMetadataItemApplicationCategoriesKey";
GS_DECLARE NSString *const NSMetadataItemAttributeChangeDateKey = @"NSMetadataItemAttributeChangeDateKey";
GS_DECLARE NSString *const NSMetadataItemAudiencesKey = @"NSMetadataItemAudiencesKey";
GS_DECLARE NSString *const NSMetadataItemAudioBitRateKey = @"NSMetadataItemAudioBitRateKey";
GS_DECLARE NSString *const NSMetadataItemAudioChannelCountKey = @"NSMetadataItemAudioChannelCountKey";
GS_DECLARE NSString *const NSMetadataItemAudioEncodingApplicationKey = @"NSMetadataItemAudioEncodingApplicationKey";
GS_DECLARE NSString *const NSMetadataItemAudioSampleRateKey = @"NSMetadataItemAudioSampleRateKey";
GS_DECLARE NSString *const NSMetadataItemAudioTrackNumberKey = @"NSMetadataItemAudioTrackNumberKey";
GS_DECLARE NSString *const NSMetadataItemAuthorAddressesKey = @"NSMetadataItemAuthorAddressesKey";
GS_DECLARE NSString *const NSMetadataItemAuthorEmailAddressesKey = @"NSMetadataItemAuthorEmailAddressesKey";
GS_DECLARE NSString *const NSMetadataItemAuthorsKey = @"NSMetadataItemAuthorsKey";
GS_DECLARE NSString *const NSMetadataItemBitsPerSampleKey = @"NSMetadataItemBitsPerSampleKey";
GS_DECLARE NSString *const NSMetadataItemCameraOwnerKey = @"NSMetadataItemCameraOwnerKey";
GS_DECLARE NSString *const NSMetadataItemCFBundleIdentifierKey = @"NSMetadataItemCFBundleIdentifierKey";
GS_DECLARE NSString *const NSMetadataItemCityKey = @"NSMetadataItemCityKey";
GS_DECLARE NSString *const NSMetadataItemCodecsKey = @"NSMetadataItemCodecsKey";
GS_DECLARE NSString *const NSMetadataItemColorSpaceKey = @"NSMetadataItemColorSpaceKey";
GS_DECLARE NSString *const NSMetadataItemCommentKey = @"NSMetadataItemCommentKey";
GS_DECLARE NSString *const NSMetadataItemComposerKey = @"NSMetadataItemComposerKey";
GS_DECLARE NSString *const NSMetadataItemContactKeywordsKey = @"NSMetadataItemContactKeywordsKey";
GS_DECLARE NSString *const NSMetadataItemContentCreationDateKey = @"NSMetadataItemContentCreationDateKey";
GS_DECLARE NSString *const NSMetadataItemContentModificationDateKey = @"NSMetadataItemContentModificationDateKey";
GS_DECLARE NSString *const NSMetadataItemContentTypeKey = @"NSMetadataItemContentTypeKey";
GS_DECLARE NSString *const NSMetadataItemContentTypeTreeKey = @"NSMetadataItemContentTypeTreeKey";
GS_DECLARE NSString *const NSMetadataItemContributorsKey = @"NSMetadataItemContributorsKey";
GS_DECLARE NSString *const NSMetadataItemCopyrightKey = @"NSMetadataItemCopyrightKey";
GS_DECLARE NSString *const NSMetadataItemCountryKey = @"NSMetadataItemCountryKey";
GS_DECLARE NSString *const NSMetadataItemCoverageKey = @"NSMetadataItemCoverageKey";
GS_DECLARE NSString *const NSMetadataItemCreatorKey = @"NSMetadataItemCreatorKey";
GS_DECLARE NSString *const NSMetadataItemDateAddedKey = @"NSMetadataItemDateAddedKey";
GS_DECLARE NSString *const NSMetadataItemDeliveryTypeKey = @"NSMetadataItemDeliveryTypeKey";
GS_DECLARE NSString *const NSMetadataItemDescriptionKey = @"NSMetadataItemDescriptionKey";
GS_DECLARE NSString *const NSMetadataItemDirectorKey = @"NSMetadataItemDirectorKey";
GS_DECLARE NSString *const NSMetadataItemDisplayNameKey = @"NSMetadataItemDisplayNameKey";
GS_DECLARE NSString *const NSMetadataItemDownloadedDateKey = @"NSMetadataItemDownloadedDateKey";
GS_DECLARE NSString *const NSMetadataItemDueDateKey = @"NSMetadataItemDueDateKey";
GS_DECLARE NSString *const NSMetadataItemDurationSecondsKey = @"NSMetadataItemDurationSecondsKey";
GS_DECLARE NSString *const NSMetadataItemEditorsKey = @"NSMetadataItemEditorsKey";
GS_DECLARE NSString *const NSMetadataItemEmailAddressesKey = @"NSMetadataItemEmailAddressesKey";
GS_DECLARE NSString *const NSMetadataItemEncodingApplicationsKey = @"NSMetadataItemEncodingApplicationsKey";
GS_DECLARE NSString *const NSMetadataItemExecutableArchitecturesKey = @"NSMetadataItemExecutableArchitecturesKey";
GS_DECLARE NSString *const NSMetadataItemExecutablePlatformKey = @"NSMetadataItemExecutablePlatformKey";
GS_DECLARE NSString *const NSMetadataItemEXIFGPSVersionKey = @"NSMetadataItemEXIFGPSVersionKey";
GS_DECLARE NSString *const NSMetadataItemEXIFVersionKey = @"NSMetadataItemEXIFVersionKey";
GS_DECLARE NSString *const NSMetadataItemExposureModeKey = @"NSMetadataItemExposureModeKey";
GS_DECLARE NSString *const NSMetadataItemExposureProgramKey = @"NSMetadataItemExposureProgramKey";
GS_DECLARE NSString *const NSMetadataItemExposureTimeSecondsKey = @"NSMetadataItemExposureTimeSecondsKey";
GS_DECLARE NSString *const NSMetadataItemExposureTimeStringKey = @"NSMetadataItemExposureTimeStringKey";
GS_DECLARE NSString *const NSMetadataItemFinderCommentKey = @"NSMetadataItemFinderCommentKey";
GS_DECLARE NSString *const NSMetadataItemFlashOnOffKey = @"NSMetadataItemFlashOnOffKey";
GS_DECLARE NSString *const NSMetadataItemFNumberKey = @"NSMetadataItemFNumberKey";
GS_DECLARE NSString *const NSMetadataItemFocalLength35mmKey = @"NSMetadataItemFocalLength35mmKey";
GS_DECLARE NSString *const NSMetadataItemFocalLengthKey = @"NSMetadataItemFocalLengthKey";
GS_DECLARE NSString *const NSMetadataItemFontsKey = @"NSMetadataItemFontsKey";
GS_DECLARE NSString *const NSMetadataItemFSContentChangeDateKey = @"NSMetadataItemFSContentChangeDateKey";
GS_DECLARE NSString *const NSMetadataItemFSCreationDateKey = @"NSMetadataItemFSCreationDateKey";
GS_DECLARE NSString *const NSMetadataItemFSNameKey = @"NSMetadataItemFSNameKey";
GS_DECLARE NSString *const NSMetadataItemFSSizeKey = @"NSMetadataItemFSSizeKey";
GS_DECLARE NSString *const NSMetadataItemGenreKey = @"NSMetadataItemGenreKey";
GS_DECLARE NSString *const NSMetadataItemGPSAreaInformationKey = @"NSMetadataItemGPSAreaInformationKey";
GS_DECLARE NSString *const NSMetadataItemGPSDateStampKey = @"NSMetadataItemGPSDateStampKey";
GS_DECLARE NSString *const NSMetadataItemGPSDestBearingKey = @"NSMetadataItemGPSDestBearingKey";
GS_DECLARE NSString *const NSMetadataItemGPSDestDistanceKey = @"NSMetadataItemGPSDestDistanceKey";
GS_DECLARE NSString *const NSMetadataItemGPSDestLatitudeKey = @"NSMetadataItemGPSDestLatitudeKey";
GS_DECLARE NSString *const NSMetadataItemGPSDestLongitudeKey = @"NSMetadataItemGPSDestLongitudeKey";
GS_DECLARE NSString *const NSMetadataItemGPSDifferentalKey = @"NSMetadataItemGPSDifferentalKey";
GS_DECLARE NSString *const NSMetadataItemGPSDOPKey = @"NSMetadataItemGPSDOPKey";
GS_DECLARE NSString *const NSMetadataItemGPSMapDatumKey = @"NSMetadataItemGPSMapDatumKey";
GS_DECLARE NSString *const NSMetadataItemGPSMeasureModeKey = @"NSMetadataItemGPSMeasureModeKey";
GS_DECLARE NSString *const NSMetadataItemGPSProcessingMethodKey = @"NSMetadataItemGPSProcessingMethodKey";
GS_DECLARE NSString *const NSMetadataItemGPSStatusKey = @"NSMetadataItemGPSStatusKey";
GS_DECLARE NSString *const NSMetadataItemGPSTrackKey = @"NSMetadataItemGPSTrackKey";
GS_DECLARE NSString *const NSMetadataItemHasAlphaChannelKey = @"NSMetadataItemHasAlphaChannelKey";
GS_DECLARE NSString *const NSMetadataItemHeadlineKey = @"NSMetadataItemHeadlineKey";
GS_DECLARE NSString *const NSMetadataItemIdentifierKey = @"NSMetadataItemIdentifierKey";
GS_DECLARE NSString *const NSMetadataItemImageDirectionKey = @"NSMetadataItemImageDirectionKey";
GS_DECLARE NSString *const NSMetadataItemInformationKey = @"NSMetadataItemInformationKey";
GS_DECLARE NSString *const NSMetadataItemInstantMessageAddressesKey = @"NSMetadataItemInstantMessageAddressesKey";
GS_DECLARE NSString *const NSMetadataItemInstructionsKey = @"NSMetadataItemInstructionsKey";
GS_DECLARE NSString *const NSMetadataItemIsApplicationManagedKey = @"NSMetadataItemIsApplicationManagedKey";
GS_DECLARE NSString *const NSMetadataItemIsGeneralMIDISequenceKey = @"NSMetadataItemIsGeneralMIDISequenceKey";
GS_DECLARE NSString *const NSMetadataItemIsLikelyJunkKey = @"NSMetadataItemIsLikelyJunkKey";
GS_DECLARE NSString *const NSMetadataItemISOSpeedKey = @"NSMetadataItemISOSpeedKey";
GS_DECLARE NSString *const NSMetadataItemIsUbiquitousKey = @"NSMetadataItemIsUbiquitousKey";
GS_DECLARE NSString *const NSMetadataItemKeySignatureKey = @"NSMetadataItemKeySignatureKey";
GS_DECLARE NSString *const NSMetadataItemKeywordsKey = @"NSMetadataItemKeywordsKey";
GS_DECLARE NSString *const NSMetadataItemKindKey = @"NSMetadataItemKindKey";
GS_DECLARE NSString *const NSMetadataItemLanguagesKey = @"NSMetadataItemLanguagesKey";
GS_DECLARE NSString *const NSMetadataItemLastUsedDateKey = @"NSMetadataItemLastUsedDateKey";
GS_DECLARE NSString *const NSMetadataItemLatitudeKey = @"NSMetadataItemLatitudeKey";
GS_DECLARE NSString *const NSMetadataItemLayerNamesKey = @"NSMetadataItemLayerNamesKey";
GS_DECLARE NSString *const NSMetadataItemLensModelKey = @"NSMetadataItemLensModelKey";
GS_DECLARE NSString *const NSMetadataItemLongitudeKey = @"NSMetadataItemLongitudeKey";
GS_DECLARE NSString *const NSMetadataItemLyricistKey = @"NSMetadataItemLyricistKey";
GS_DECLARE NSString *const NSMetadataItemMaxApertureKey = @"NSMetadataItemMaxApertureKey";
GS_DECLARE NSString *const NSMetadataItemMediaTypesKey = @"NSMetadataItemMediaTypesKey";
GS_DECLARE NSString *const NSMetadataItemMeteringModeKey = @"NSMetadataItemMeteringModeKey";
GS_DECLARE NSString *const NSMetadataItemMusicalGenreKey = @"NSMetadataItemMusicalGenreKey";
GS_DECLARE NSString *const NSMetadataItemMusicalInstrumentCategoryKey = @"NSMetadataItemMusicalInstrumentCategoryKey";
GS_DECLARE NSString *const NSMetadataItemMusicalInstrumentNameKey = @"NSMetadataItemMusicalInstrumentNameKey";
GS_DECLARE NSString *const NSMetadataItemNamedLocationKey = @"NSMetadataItemNamedLocationKey";
GS_DECLARE NSString *const NSMetadataItemNumberOfPagesKey = @"NSMetadataItemNumberOfPagesKey";
GS_DECLARE NSString *const NSMetadataItemOrganizationsKey = @"NSMetadataItemOrganizationsKey";
GS_DECLARE NSString *const NSMetadataItemOrientationKey = @"NSMetadataItemOrientationKey";
GS_DECLARE NSString *const NSMetadataItemOriginalFormatKey = @"NSMetadataItemOriginalFormatKey";
GS_DECLARE NSString *const NSMetadataItemOriginalSourceKey = @"NSMetadataItemOriginalSourceKey";
GS_DECLARE NSString *const NSMetadataItemPageHeightKey = @"NSMetadataItemPageHeightKey";
GS_DECLARE NSString *const NSMetadataItemPageWidthKey = @"NSMetadataItemPageWidthKey";
GS_DECLARE NSString *const NSMetadataItemParticipantsKey = @"NSMetadataItemParticipantsKey";
GS_DECLARE NSString *const NSMetadataItemPathKey = @"NSMetadataItemPathKey";
GS_DECLARE NSString *const NSMetadataItemPerformersKey = @"NSMetadataItemPerformersKey";
GS_DECLARE NSString *const NSMetadataItemPhoneNumbersKey = @"NSMetadataItemPhoneNumbersKey";
GS_DECLARE NSString *const NSMetadataItemPixelCountKey = @"NSMetadataItemPixelCountKey";
GS_DECLARE NSString *const NSMetadataItemPixelHeightKey = @"NSMetadataItemPixelHeightKey";
GS_DECLARE NSString *const NSMetadataItemPixelWidthKey = @"NSMetadataItemPixelWidthKey";
GS_DECLARE NSString *const NSMetadataItemProducerKey = @"NSMetadataItemProducerKey";
GS_DECLARE NSString *const NSMetadataItemProfileNameKey = @"NSMetadataItemProfileNameKey";
GS_DECLARE NSString *const NSMetadataItemProjectsKey = @"NSMetadataItemProjectsKey";
GS_DECLARE NSString *const NSMetadataItemPublishersKey = @"NSMetadataItemPublishersKey";
GS_DECLARE NSString *const NSMetadataItemRecipientAddressesKey = @"NSMetadataItemRecipientAddressesKey";
GS_DECLARE NSString *const NSMetadataItemRecipientEmailAddressesKey = @"NSMetadataItemRecipientEmailAddressesKey";
GS_DECLARE NSString *const NSMetadataItemRecipientsKey = @"NSMetadataItemRecipientsKey";
GS_DECLARE NSString *const NSMetadataItemRecordingDateKey = @"NSMetadataItemRecordingDateKey";
GS_DECLARE NSString *const NSMetadataItemRecordingYearKey = @"NSMetadataItemRecordingYearKey";
GS_DECLARE NSString *const NSMetadataItemRedEyeOnOffKey = @"NSMetadataItemRedEyeOnOffKey";
GS_DECLARE NSString *const NSMetadataItemResolutionHeightDPIKey = @"NSMetadataItemResolutionHeightDPIKey";
GS_DECLARE NSString *const NSMetadataItemResolutionWidthDPIKey = @"NSMetadataItemResolutionWidthDPIKey";
GS_DECLARE NSString *const NSMetadataItemRightsKey = @"NSMetadataItemRightsKey";
GS_DECLARE NSString *const NSMetadataItemSecurityMethodKey = @"NSMetadataItemSecurityMethodKey";
GS_DECLARE NSString *const NSMetadataItemSpeedKey = @"NSMetadataItemSpeedKey";
GS_DECLARE NSString *const NSMetadataItemStarRatingKey = @"NSMetadataItemStarRatingKey";
GS_DECLARE NSString *const NSMetadataItemStateOrProvinceKey = @"NSMetadataItemStateOrProvinceKey";
GS_DECLARE NSString *const NSMetadataItemStreamableKey = @"NSMetadataItemStreamableKey";
GS_DECLARE NSString *const NSMetadataItemSubjectKey = @"NSMetadataItemSubjectKey";
GS_DECLARE NSString *const NSMetadataItemTempoKey = @"NSMetadataItemTempoKey";
GS_DECLARE NSString *const NSMetadataItemTextContentKey = @"NSMetadataItemTextContentKey";
GS_DECLARE NSString *const NSMetadataItemThemeKey = @"NSMetadataItemThemeKey";
GS_DECLARE NSString *const NSMetadataItemTimeSignatureKey = @"NSMetadataItemTimeSignatureKey";
GS_DECLARE NSString *const NSMetadataItemTimestampKey = @"NSMetadataItemTimestampKey";
GS_DECLARE NSString *const NSMetadataItemTitleKey = @"NSMetadataItemTitleKey";
GS_DECLARE NSString *const NSMetadataItemTotalBitRateKey = @"NSMetadataItemTotalBitRateKey";
GS_DECLARE NSString *const NSMetadataItemURLKey = @"NSMetadataItemURLKey";
GS_DECLARE NSString *const NSMetadataItemVersionKey = @"NSMetadataItemVersionKey";
GS_DECLARE NSString *const NSMetadataItemVideoBitRateKey = @"NSMetadataItemVideoBitRateKey";
GS_DECLARE NSString *const NSMetadataItemWhereFromsKey = @"NSMetadataItemWhereFromsKey";
GS_DECLARE NSString *const NSMetadataItemWhiteBalanceKey = @"NSMetadataItemWhiteBalanceKey";
GS_DECLARE NSString *const NSMetadataUbiquitousItemContainerDisplayNameKey = @"NSMetadataUbiquitousItemContainerDisplayNameKey";
GS_DECLARE NSString *const NSMetadataUbiquitousItemDownloadingErrorKey = @"NSMetadataUbiquitousItemDownloadingErrorKey";
GS_DECLARE NSString *const NSMetadataUbiquitousItemDownloadingStatusCurrent = @"NSMetadataUbiquitousItemDownloadingStatusCurrent";
GS_DECLARE NSString *const NSMetadataUbiquitousItemDownloadingStatusDownloaded = @"NSMetadataUbiquitousItemDownloadingStatusDownloaded";
GS_DECLARE NSString *const NSMetadataUbiquitousItemDownloadingStatusKey = @"NSMetadataUbiquitousItemDownloadingStatusKey";
GS_DECLARE NSString *const NSMetadataUbiquitousItemDownloadingStatusNotDownloaded = @"NSMetadataUbiquitousItemDownloadingStatusNotDownloaded";
GS_DECLARE NSString *const NSMetadataUbiquitousItemDownloadRequestedKey = @"NSMetadataUbiquitousItemDownloadRequestedKey";
GS_DECLARE NSString *const NSMetadataUbiquitousItemHasUnresolvedConflictsKey = @"NSMetadataUbiquitousItemHasUnresolvedConflictsKey";
GS_DECLARE NSString *const NSMetadataUbiquitousItemIsDownloadedKey = @"NSMetadataUbiquitousItemIsDownloadedKey";
GS_DECLARE NSString *const NSMetadataUbiquitousItemIsDownloadingKey = @"NSMetadataUbiquitousItemIsDownloadingKey";
GS_DECLARE NSString *const NSMetadataUbiquitousItemIsExternalDocumentKey = @"NSMetadataUbiquitousItemIsExternalDocumentKey";
GS_DECLARE NSString *const NSMetadataUbiquitousItemIsSharedKey = @"NSMetadataUbiquitousItemIsSharedKey";
GS_DECLARE NSString *const NSMetadataUbiquitousItemIsUploadedKey = @"NSMetadataUbiquitousItemIsUploadedKey";
GS_DECLARE NSString *const NSMetadataUbiquitousItemIsUploadingKey = @"NSMetadataUbiquitousItemIsUploadingKey";
GS_DECLARE NSString *const NSMetadataUbiquitousItemPercentDownloadedKey = @"NSMetadataUbiquitousItemPercentDownloadedKey";
GS_DECLARE NSString *const NSMetadataUbiquitousItemPercentUploadedKey = @"NSMetadataUbiquitousItemPercentUploadedKey";
GS_DECLARE NSString *const NSMetadataUbiquitousItemUploadingErrorKey = @"NSMetadataUbiquitousItemUploadingErrorKey";
GS_DECLARE NSString *const NSMetadataUbiquitousItemURLInLocalContainerKey = @"NSMetadataUbiquitousItemURLInLocalContainerKey";
GS_DECLARE NSString *const NSMetadataUbiquitousSharedItemCurrentUserPermissionsKey = @"NSMetadataUbiquitousSharedItemCurrentUserPermissionsKey";
GS_DECLARE NSString *const NSMetadataUbiquitousSharedItemCurrentUserRoleKey = @"NSMetadataUbiquitousSharedItemCurrentUserRoleKey";
GS_DECLARE NSString *const NSMetadataUbiquitousSharedItemMostRecentEditorNameComponentsKey = @"NSMetadataUbiquitousSharedItemMostRecentEditorNameComponentsKey";
GS_DECLARE NSString *const NSMetadataUbiquitousSharedItemOwnerNameComponentsKey = @"NSMetadataUbiquitousSharedItemOwnerNameComponentsKey";
GS_DECLARE NSString *const NSMetadataUbiquitousSharedItemPermissionsReadOnly = @"NSMetadataUbiquitousSharedItemPermissionsReadOnly";
GS_DECLARE NSString *const NSMetadataUbiquitousSharedItemPermissionsReadWrite = @"NSMetadataUbiquitousSharedItemPermissionsReadWrite";
GS_DECLARE NSString *const NSMetadataUbiquitousSharedItemRoleOwner = @"NSMetadataUbiquitousSharedItemRoleOwner";
GS_DECLARE NSString *const NSMetadataUbiquitousSharedItemRoleParticipant = @"NSMetadataUbiquitousSharedItemRoleParticipant";

View file

@ -34,15 +34,6 @@
#import "Foundation/NSHost.h"
#import "Foundation/NSStream.h"
#import "Foundation/NSString.h"
/**
* This key identifies the most recent error.
*/
NSString * const NSNetServicesErrorCode = @"NSNetServicesErrorCode";
/**
* This key identifies the originator of the error.
*/
NSString * const NSNetServicesErrorDomain = @"NSNetServicesErrorDomain";
static Class abstractServiceClass;
static Class concreteServiceClass;

View file

@ -37,7 +37,7 @@
* Returns a string object containing the name for
* aProtocol. If aProtocol is 0, returns nil.
*/
NSString *
GS_DECLARE NSString *
NSStringFromProtocol(Protocol *aProtocol)
{
if (aProtocol != (Protocol*)0)
@ -49,7 +49,7 @@ NSStringFromProtocol(Protocol *aProtocol)
* Returns the protocol whose name is supplied in the
* aProtocolName argument, or 0 if a nil string is supplied.
*/
Protocol *
GS_DECLARE Protocol *
NSProtocolFromString(NSString *aProtocolName)
{
if (aProtocolName != nil)
@ -69,7 +69,7 @@ NSProtocolFromString(NSString *aProtocolName)
* Returns a string object containing the name for
* aSelector. If aSelector is 0, returns nil.
*/
NSString *
GS_DECLARE NSString *
NSStringFromSelector(SEL aSelector)
{
if (aSelector != (SEL)0)
@ -81,7 +81,7 @@ NSStringFromSelector(SEL aSelector)
* Returns (creating if necessary) the selector whose name is supplied in the
* aSelectorName argument, or 0 if a nil string is supplied.
*/
SEL
GS_DECLARE SEL
NSSelectorFromString(NSString *aSelectorName)
{
if (aSelectorName != nil)
@ -102,7 +102,7 @@ NSSelectorFromString(NSString *aSelectorName)
* aClassName argument, or Nil if a nil string is supplied.
* If no such class has been loaded, the function returns Nil.
*/
Class
GS_DECLARE Class
NSClassFromString(NSString *aClassName)
{
if (aClassName != nil)
@ -122,7 +122,7 @@ NSClassFromString(NSString *aClassName)
* Returns an [NSString] object containing the class name for
* aClass. If aClass is 0, returns nil.
*/
NSString *
GS_DECLARE NSString *
NSStringFromClass(Class aClass)
{
if (aClass != (Class)0)
@ -139,7 +139,7 @@ NSStringFromClass(Class aClass)
* The function returns a pointer into the type information C string
* immediately after the decoded information.
*/
const char *
GS_DECLARE const char *
NSGetSizeAndAlignment(const char *typePtr,
NSUInteger *sizep, NSUInteger *alignp)
{

View file

@ -1089,13 +1089,10 @@ static id gs_weak_load(id obj)
autorelease_sel = @selector(addObject:);
autorelease_imp = [autorelease_class methodForSelector: autorelease_sel];
/* Make sure the constant string class works and set up well-known
* string constants etc.
/* Make sure the constant string class works.
*/
NSConstantStringClass = [NSString constantStringClass];
GSPrivateBuildStrings();
/* Now that the string class (and autorelease) is set up, we can set
* the name of the lock to a string value safely.
*/

View file

@ -902,7 +902,7 @@ addDefaults(NSString *defs, NSMutableDictionary *conf)
}
}
NSMutableDictionary*
GS_DECLARE NSMutableDictionary*
GNUstepConfig(NSDictionary *newConfig)
{
static NSDictionary *config = nil;
@ -1087,7 +1087,7 @@ GNUstepConfig(NSDictionary *newConfig)
return AUTORELEASE([config mutableCopy]);
}
void
GS_DECLARE void
GNUstepUserConfig(NSMutableDictionary *config, NSString *userName)
{
#ifdef HAVE_GETEUID
@ -1592,7 +1592,7 @@ ParseConfigurationFile(NSString *fileName, NSMutableDictionary *dict,
/* See NSPathUtilities.h for description */
void
GS_DECLARE void
GSSetUserName(NSString *aName)
{
NSCParameterAssert([aName length] > 0);
@ -1634,7 +1634,7 @@ GSSetUserName(NSString *aName)
* If you change the behavior of this method you must also change
* user_home.c in the makefiles package to match.
*/
NSString *
GS_DECLARE NSString *
NSUserName(void)
{
#if defined(_WIN32)
@ -1716,7 +1716,7 @@ NSUserName(void)
* Return the caller's home directory as an NSString object.
* Calls NSHomeDirectoryForUser() to do this.
*/
NSString *
GS_DECLARE NSString *
NSHomeDirectory(void)
{
return NSHomeDirectoryForUser(NSUserName());
@ -1735,7 +1735,7 @@ NSHomeDirectory(void)
* If you change the behavior of this method you must also change
* user_home.c in the makefiles package to match.
*/
NSString *
GS_DECLARE NSString *
NSHomeDirectoryForUser(NSString *loginName)
{
NSString *s = nil;
@ -1820,7 +1820,7 @@ NSHomeDirectoryForUser(NSString *loginName)
return s;
}
NSString *
GS_DECLARE NSString *
NSFullUserName(void)
{
if (theFullUserName == nil)
@ -1884,7 +1884,7 @@ NSFullUserName(void)
* This examines the GNUSTEP_USER_CONFIG_FILE for the specified user,
* with settings in it over-riding those in the main GNUstep.conf.
*/
NSString *
GS_DECLARE NSString *
GSDefaultsRootForUser(NSString *userName)
{
NSString *defaultsDir;
@ -1926,21 +1926,21 @@ GSDefaultsRootForUser(NSString *userName)
return defaultsDir;
}
NSArray *
GS_DECLARE NSArray *
NSStandardApplicationPaths(void)
{
return NSSearchPathForDirectoriesInDomains(NSAllApplicationsDirectory,
NSAllDomainsMask, YES);
}
NSArray *
GS_DECLARE NSArray *
NSStandardLibraryPaths(void)
{
return NSSearchPathForDirectoriesInDomains(NSAllLibrariesDirectory,
NSAllDomainsMask, YES);
}
NSString *
GS_DECLARE NSString *
NSTemporaryDirectory(void)
{
NSFileManager *manager;
@ -2119,7 +2119,7 @@ NSTemporaryDirectory(void)
return tempDirName;
}
NSString *
GS_DECLARE NSString *
NSOpenStepRootDirectory(void)
{
NSString *root;
@ -2184,7 +2184,7 @@ devroot(NSFileManager *manager, NSString *path)
}
#endif
NSArray *
GS_DECLARE NSArray *
NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory directoryKey,
NSSearchPathDomainMask domainMask, BOOL expandTilde)
{

View file

@ -225,13 +225,3 @@
}
@end
// components for attributed strings;
NSString * const NSPersonNameComponentKey = @"NSPersonNameComponentKey";
NSString * const NSPersonNameComponentGivenName = @"NSPersonNameComponentGivenName";
NSString * const NSPersonNameComponentFamilyName = @"NSPersonNameComponentFamilyName";
NSString * const NSPersonNameComponentMiddleName = @"NSPersonNameComponentMiddleName";
NSString * const NSPersonNameComponentPrefix = @"NSPersonNameComponentPrefix";
NSString * const NSPersonNameComponentSuffix = @"NSPersonNameComponentSuffix";
NSString * const NSPersonNameComponentNickname = @"NSPersonNameComponentNickname";
NSString * const NSPersonNameComponentDelimiter = @"NSPersonNameComponentDelimiter";

View file

@ -49,17 +49,6 @@
@implementation NSPort
NSString * const NSInvalidReceivePortException
= @"NSInvalidReceivePortException";
NSString * const NSInvalidSendPortException
= @"NSInvalidSendPortException";
NSString * const NSPortReceiveException
= @"NSPortReceiveException";
NSString * const NSPortSendException
= @"NSPortSendException";
NSString * const NSPortTimeoutException
= @"NSPortTimeoutException";
static Class NSPort_abstract_class;
static Class NSPort_concrete_class;

View file

@ -40,10 +40,6 @@
#import "Foundation/NSException.h"
#import "Foundation/NSSet.h"
NSString *const NSGrammarRange = @"NSGrammarRange";
NSString *const NSGrammarUserDescription = @"NSGrammarUserDescription";
NSString *const NSGrammarCorrections = @"NSGrammarCorrections";
static NSConnection *spellServerConnection = nil;
/* User dictionary location */

View file

@ -122,9 +122,6 @@
#undef id
#endif
NSString * const NSSystemTimeZoneDidChangeNotification
= @"NSSystemTimeZoneDidChangeNotification";
/* Key for local time zone in user defaults. */
#define LOCALDBKEY @"Local Time Zone"

View file

@ -87,9 +87,6 @@ function may be incorrect
#import "GNUstepBase/NSURL+GNUstepBase.h"
NSString * const NSURLErrorDomain = @"NSURLErrorDomain";
NSString * const NSErrorFailingURLStringKey = @"NSErrorFailingURLStringKey";
@interface NSURL (GSPrivate)
- (NSURL*) _URLBySettingPath: (NSString*)newPath;
@end

View file

@ -27,9 +27,6 @@
#define EXPOSE_NSURLCredentialStorage_IVARS 1
#import "GSURLPrivate.h"
NSString *const NSURLCredentialStorageChangedNotification
= @"NSURLCredentialStorageChangedNotification";
// Internal data storage
typedef struct {
NSMutableDictionary *credentials;

View file

@ -51,47 +51,6 @@
}
@end
/*
* Keys for NSURLHandle
*/
NSString * const NSHTTPPropertyStatusCodeKey
= @"NSHTTPPropertyStatusCodeKey";
NSString * const NSHTTPPropertyStatusReasonKey
= @"NSHTTPPropertyStatusReasonKey";
NSString * const NSHTTPPropertyServerHTTPVersionKey
= @"NSHTTPPropertyServerHTTPVersionKey";
NSString * const NSHTTPPropertyRedirectionHeadersKey
= @"NSHTTPPropertyRedirectionHeadersKey";
NSString * const NSHTTPPropertyErrorPageDataKey
= @"NSHTTPPropertyErrorPageDataKey";
/* These are GNUstep extras */
NSString * const GSHTTPPropertyMethodKey
= @"GSHTTPPropertyMethodKey";
NSString * const GSHTTPPropertyLocalHostKey
= @"GSHTTPPropertyLocalHostKey";
NSString * const GSHTTPPropertyProxyHostKey
= @"GSHTTPPropertyProxyHostKey";
NSString * const GSHTTPPropertyProxyPortKey
= @"GSHTTPPropertyProxyPortKey";
NSString * const GSHTTPPropertyCertificateFileKey
= @"GSHTTPPropertyCertificateFileKey";
NSString * const GSHTTPPropertyKeyFileKey
= @"GSHTTPPropertyKeyFileKey";
NSString * const GSHTTPPropertyPasswordKey
= @"GSHTTPPropertyPasswordKey";
/**
* <p>
* An NSURLHandle instance is used to manage the resource data

View file

@ -28,29 +28,6 @@
#import "GSURLPrivate.h"
#import "GNUstepBase/NSURL+GNUstepBase.h"
NSString * const NSURLProtectionSpaceFTPProxy = @"ftp";
NSString * const NSURLProtectionSpaceHTTPProxy = @"http";
NSString * const NSURLProtectionSpaceHTTPSProxy = @"https";
NSString * const NSURLProtectionSpaceSOCKSProxy = @"SOCKS";
NSString * const NSURLAuthenticationMethodDefault
= @"NSURLAuthenticationMethodDefault";
NSString * const NSURLAuthenticationMethodHTMLForm
= @"NSURLAuthenticationMethodHTMLForm";
NSString * const NSURLAuthenticationMethodHTTPBasic
= @"NSURLAuthenticationMethodHTTPBasic";
NSString * const NSURLAuthenticationMethodHTTPDigest
= @"NSURLAuthenticationMethodHTTPDigest";
NSString * const NSURLAuthenticationMethodNTLM
= @"NSURLAuthenticationMethodNTLM";
NSString * const NSURLAuthenticationMethodNegotiate
= @"NSURLAuthenticationMethodNegotiate";
NSString * const NSURLAuthenticationMethodClientCertificate
= @"NSURLAuthenticationMethodClientCertificate";
NSString * const NSURLAuthenticationMethodServerTrust
= @"NSURLAuthenticationMethodServerTrust";
// Internal data storage
typedef struct {
NSString *host;

View file

@ -38,9 +38,6 @@
#import "Foundation/NSString.h"
#import "Foundation/NSTimeZone.h"
NSString * const NSUserNotificationDefaultSoundName
= @"NSUserNotificationDefaultSoundName";
@interface NSUserNotification ()
@property (readwrite) NSDate *actualDeliveryDate;
@property (readwrite, getter=isPresented) BOOL presented;

View file

@ -41,8 +41,6 @@
+ (NSString*) charsetForXml: (NSData*)xml;
@end
NSString* const NSXMLParserErrorDomain = @"NSXMLParserErrorDomain";
static NSNull *null = nil;
/* We always have the native (sloppy) parser, and can get that behavior

View file

@ -200,7 +200,7 @@ NSZone *__nszone_private_hidden_default_zone = &default_zone;
void
GS_DECLARE void
NSSetZoneName (NSZone *zone, NSString *name)
{
if (!zone)
@ -213,7 +213,7 @@ NSSetZoneName (NSZone *zone, NSString *name)
pthread_mutex_unlock(&zoneLock);
}
NSString*
GS_DECLARE NSString*
NSZoneName (NSZone *zone)
{
if (!zone)
@ -1597,7 +1597,7 @@ NSZoneFromPointer(void *ptr)
return (zone == 0) ? &default_zone : zone;
}
NSZone*
GS_DECLARE NSZone*
NSCreateZone (NSUInteger start, NSUInteger gran, BOOL canFree)
{
size_t i, startsize, granularity;
@ -1712,7 +1712,7 @@ NSCreateZone (NSUInteger start, NSUInteger gran, BOOL canFree)
return newZone;
}
void*
GS_DECLARE void*
NSZoneCalloc (NSZone *zone, NSUInteger elems, NSUInteger bytes)
{
void *mem;
@ -1730,19 +1730,19 @@ NSZoneCalloc (NSZone *zone, NSUInteger elems, NSUInteger bytes)
return memset(NSZoneMalloc(zone, elems*bytes), 0, elems*bytes);
}
void *
GS_DECLARE void*
NSAllocateCollectable(NSUInteger size, NSUInteger options)
{
return NSZoneCalloc(NSDefaultMallocZone(), 1, size);
}
void *
GS_DECLARE void*
NSReallocateCollectable(void *ptr, NSUInteger size, NSUInteger options)
{
return NSZoneRealloc(0, ptr, size);
}
NSZone*
GS_DECLARE NSZone*
NSDefaultMallocZone (void)
{
return &default_zone;
@ -1754,13 +1754,13 @@ GSAtomicMallocZone (void)
return &default_zone;
}
void
GS_DECLARE void
GSMakeWeakPointer(Class theClass, const char *iVarName)
{
return;
}
BOOL
GS_DECLARE BOOL
GSAssignZeroingWeakPointer(void **destination, void *source)
{
if (destination == 0)
@ -1771,7 +1771,7 @@ GSAssignZeroingWeakPointer(void **destination, void *source)
return YES;
}
void*
GS_DECLARE void*
NSZoneMalloc (NSZone *zone, NSUInteger size)
{
if (!zone)
@ -1779,7 +1779,7 @@ NSZoneMalloc (NSZone *zone, NSUInteger size)
return (zone->malloc)(zone, size);
}
void*
GS_DECLARE void*
NSZoneRealloc (NSZone *zone, void *ptr, NSUInteger size)
{
if (!zone)
@ -1787,7 +1787,7 @@ NSZoneRealloc (NSZone *zone, void *ptr, NSUInteger size)
return (zone->realloc)(zone, ptr, size);
}
void
GS_DECLARE void
NSRecycleZone (NSZone *zone)
{
if (!zone)
@ -1795,7 +1795,7 @@ NSRecycleZone (NSZone *zone)
(zone->recycle)(zone);
}
void
GS_DECLARE void
NSZoneFree (NSZone *zone, void *ptr)
{
if (!zone)

View file

@ -24,405 +24,599 @@
#import "common.h"
#import "Foundation/NSArray.h"
#import "Foundation/NSException.h"
#import "GSPrivate.h"
/*
PENDING some string constants are scattered about in the class impl
files and should be moved here
furthermore, the test for this in Testing/exported-strings.m
needs to be updated
*/
#import "Foundation/NSError.h"
/*
* NSConnection Notification Strings.
*/
GS_DECLARE NSString *NSConnectionDidDieNotification = @"NSConnectionDidDieNotification";
GS_DECLARE NSString* const NSConnectionDidDieNotification = @"NSConnectionDidDieNotification";
GS_DECLARE NSString *NSConnectionDidInitializeNotification = @"NSConnectionDidInitializeNotification";
GS_DECLARE NSString* const NSConnectionDidInitializeNotification = @"NSConnectionDidInitializeNotification";
/*
* NSDistributedNotificationCenter types.
*/
GS_DECLARE NSString *NSLocalNotificationCenterType = @"NSLocalNotificationCenterType";
GS_DECLARE NSString *GSNetworkNotificationCenterType = @"GSNetworkNotificationCenterType";
GS_DECLARE NSString *GSPublicNotificationCenterType = @"GSPublicNotificationCenterType";
GS_DECLARE NSString* const NSLocalNotificationCenterType = @"NSLocalNotificationCenterType";
GS_DECLARE NSString* const GSNetworkNotificationCenterType = @"GSNetworkNotificationCenterType";
GS_DECLARE NSString* const GSPublicNotificationCenterType = @"GSPublicNotificationCenterType";
/*
* NSThread Notifications
*/
GS_DECLARE NSString *NSWillBecomeMultiThreadedNotification = @"NSWillBecomeMultiThreadedNotification";
GS_DECLARE NSString* const NSWillBecomeMultiThreadedNotification = @"NSWillBecomeMultiThreadedNotification";
GS_DECLARE NSString *NSThreadDidStartNotification = @"NSThreadDidStartNotification";
GS_DECLARE NSString* const NSThreadDidStartNotification = @"NSThreadDidStartNotification";
GS_DECLARE NSString *NSThreadWillExitNotification = @"NSThreadWillExitNotification";
GS_DECLARE NSString* const NSThreadWillExitNotification = @"NSThreadWillExitNotification";
/*
* Port Notifications
*/
GS_DECLARE NSString *NSPortDidBecomeInvalidNotification = @"NSPortDidBecomeInvalidNotification";
GS_DECLARE NSString* const NSPortDidBecomeInvalidNotification = @"NSPortDidBecomeInvalidNotification";
/* NSTask notifications */
GS_DECLARE NSString *NSTaskDidTerminateNotification = @"NSTaskDidTerminateNotification";
GS_DECLARE NSString* const NSTaskDidTerminateNotification = @"NSTaskDidTerminateNotification";
/* NSUndoManager notifications */
GS_DECLARE NSString *NSUndoManagerCheckpointNotification = @"NSUndoManagerCheckpointNotification";
GS_DECLARE NSString* const NSUndoManagerCheckpointNotification = @"NSUndoManagerCheckpointNotification";
GS_DECLARE NSString *NSUndoManagerDidOpenUndoGroupNotification = @"NSUndoManagerDidOpenUndoGroupNotification";
GS_DECLARE NSString* const NSUndoManagerDidOpenUndoGroupNotification = @"NSUndoManagerDidOpenUndoGroupNotification";
GS_DECLARE NSString *NSUndoManagerDidRedoChangeNotification = @"NSUndoManagerDidRedoChangeNotification";
GS_DECLARE NSString* const NSUndoManagerDidRedoChangeNotification = @"NSUndoManagerDidRedoChangeNotification";
GS_DECLARE NSString *NSUndoManagerDidUndoChangeNotification = @"NSUndoManagerDidUndoChangeNotification";
GS_DECLARE NSString* const NSUndoManagerDidUndoChangeNotification = @"NSUndoManagerDidUndoChangeNotification";
GS_DECLARE NSString *NSUndoManagerWillCloseUndoGroupNotification = @"NSUndoManagerWillCloseUndoGroupNotification";
GS_DECLARE NSString* const NSUndoManagerWillCloseUndoGroupNotification = @"NSUndoManagerWillCloseUndoGroupNotification";
GS_DECLARE NSString *NSUndoManagerWillRedoChangeNotification = @"NSUndoManagerWillRedoChangeNotification";
GS_DECLARE NSString* const NSUndoManagerWillRedoChangeNotification = @"NSUndoManagerWillRedoChangeNotification";
GS_DECLARE NSString *NSUndoManagerWillUndoChangeNotification = @"NSUndoManagerWillUndoChangeNotification";
GS_DECLARE NSString* const NSUndoManagerWillUndoChangeNotification = @"NSUndoManagerWillUndoChangeNotification";
/*
* NSUbiquitousKeyValueStore notifications
*/
GS_DECLARE NSString *NSUbiquitousKeyValueStoreDidChangeExternallyNotification = @"NSUbiquitousKeyValueStoreDidChangeExternallyNotification";
GS_DECLARE NSString *NSUbiquitousKeyValueStoreChangeReasonKey = @"NSUbiquitousKeyValueStoreChangeReasonKey";
GS_DECLARE NSString* const NSUbiquitousKeyValueStoreDidChangeExternallyNotification = @"NSUbiquitousKeyValueStoreDidChangeExternallyNotification";
GS_DECLARE NSString* const NSUbiquitousKeyValueStoreChangeReasonKey = @"NSUbiquitousKeyValueStoreChangeReasonKey";
/* NSURL constants */
GS_DECLARE NSString *NSURLFileScheme = @"file";
GS_DECLARE NSString* const NSURLFileScheme = @"file";
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
GS_DECLARE NSString *NSURLNameKey = @"NSURLNameKey";
GS_DECLARE NSString *NSURLLocalizedNameKey = @"NSURLLocalizedNameKey";
GS_DECLARE NSString *NSURLIsRegularFileKey = @"NSURLIsRegularFileKey";
GS_DECLARE NSString *NSURLIsDirectoryKey = @"NSURLIsDirectoryKey";
GS_DECLARE NSString *NSURLIsSymbolicLinkKey = @"NSURLIsSymbolicLinkKey";
GS_DECLARE NSString *NSURLIsVolumeKey = @"NSURLIsVolumeKey";
GS_DECLARE NSString *NSURLIsPackageKey = @"NSURLIsPackageKey";
GS_DECLARE NSString *NSURLIsSystemImmutableKey = @"NSURLIsSystemImmutableKey";
GS_DECLARE NSString *NSURLIsUserImmutableKey = @"NSURLIsUserImmutableKey";
GS_DECLARE NSString *NSURLIsHiddenKey = @"NSURLIsHiddenKey";
GS_DECLARE NSString *NSURLHasHiddenExtensionKey = @"NSURLHasHiddenExtensionKey";
GS_DECLARE NSString *NSURLCreationDateKey = @"NSURLCreationDateKey";
GS_DECLARE NSString *NSURLContentAccessDateKey = @"NSURLContentAccessDateKey";
GS_DECLARE NSString *NSURLContentModificationDateKey = @"NSURLContentModificationDateKey";
GS_DECLARE NSString *NSURLAttributeModificationDateKey = @"NSURLAttributeModificationDateKey";
GS_DECLARE NSString *NSURLLinkCountKey = @"NSURLLinkCountKey";
GS_DECLARE NSString *NSURLParentDirectoryURLKey = @"NSURLParentDirectoryURLKey";
GS_DECLARE NSString *NSURLVolumeURLKey = @"NSURLVolumeURLKey";
GS_DECLARE NSString *NSURLTypeIdentifierKey = @"NSURLTypeIdentifierKey";
GS_DECLARE NSString *NSURLLocalizedTypeDescriptionKey = @"NSURLLocalizedTypeDescriptionKey";
GS_DECLARE NSString *NSURLLabelNumberKey = @"NSURLLabelNumberKey";
GS_DECLARE NSString *NSURLLabelColorKey = @"NSURLLabelColorKey";
GS_DECLARE NSString *NSURLLocalizedLabelKey = @"NSURLLocalizedLabelKey";
GS_DECLARE NSString *NSURLEffectiveIconKey = @"NSURLEffectiveIconKey";
GS_DECLARE NSString *NSURLCustomIconKey = @"NSURLCustomIconKey";
GS_DECLARE NSString *NSURLFileSizeKey = @"NSURLFileSizeKey";
GS_DECLARE NSString *NSURLFileAllocatedSizeKey = @"NSURLFileAllocatedSizeKey";
GS_DECLARE NSString *NSURLIsAliasFileKey = @"NSURLIsAliasFileKey";
GS_DECLARE NSString *NSURLVolumeLocalizedFormatDescriptionKey = @"NSURLVolumeLocalizedFormatDescriptionKey";
GS_DECLARE NSString *NSURLVolumeTotalCapacityKey = @"NSURLVolumeTotalCapacityKey";
GS_DECLARE NSString *NSURLVolumeAvailableCapacityKey = @"NSURLVolumeAvailableCapacityKey";
GS_DECLARE NSString *NSURLVolumeResourceCountKey = @"NSURLVolumeResourceCountKey";
GS_DECLARE NSString *NSURLVolumeSupportsPersistentIDsKey = @"NSURLVolumeSupportsPersistentIDsKey";
GS_DECLARE NSString *NSURLVolumeSupportsSymbolicLinksKey = @"NSURLVolumeSupportsSymbolicLinksKey";
GS_DECLARE NSString *NSURLVolumeSupportsHardLinksKey = @"NSURLVolumeSupportsHardLinksKey";
GS_DECLARE NSString *NSURLVolumeSupportsJournalingKey = @"NSURLVolumeSupportsJournalingKey";
GS_DECLARE NSString *NSURLVolumeIsJournalingKey = @"NSURLVolumeIsJournalingKey";
GS_DECLARE NSString *NSURLVolumeSupportsSparseFilesKey = @"NSURLVolumeSupportsSparseFilesKey";
GS_DECLARE NSString *NSURLVolumeSupportsZeroRunsKey = @"NSURLVolumeSupportsZeroRunsKey";
GS_DECLARE NSString *NSURLVolumeSupportsCaseSensitiveNamesKey = @"NSURLVolumeSupportsCaseSensitiveNamesKey";
GS_DECLARE NSString *NSURLVolumeSupportsCasePreservedNamesKey = @"NSURLVolumeSupportsCasePreservedNamesKey";
GS_DECLARE NSString* const NSURLNameKey = @"NSURLNameKey";
GS_DECLARE NSString* const NSURLLocalizedNameKey = @"NSURLLocalizedNameKey";
GS_DECLARE NSString* const NSURLIsRegularFileKey = @"NSURLIsRegularFileKey";
GS_DECLARE NSString* const NSURLIsDirectoryKey = @"NSURLIsDirectoryKey";
GS_DECLARE NSString* const NSURLIsSymbolicLinkKey = @"NSURLIsSymbolicLinkKey";
GS_DECLARE NSString* const NSURLIsVolumeKey = @"NSURLIsVolumeKey";
GS_DECLARE NSString* const NSURLIsPackageKey = @"NSURLIsPackageKey";
GS_DECLARE NSString* const NSURLIsSystemImmutableKey = @"NSURLIsSystemImmutableKey";
GS_DECLARE NSString* const NSURLIsUserImmutableKey = @"NSURLIsUserImmutableKey";
GS_DECLARE NSString* const NSURLIsHiddenKey = @"NSURLIsHiddenKey";
GS_DECLARE NSString* const NSURLHasHiddenExtensionKey = @"NSURLHasHiddenExtensionKey";
GS_DECLARE NSString* const NSURLCreationDateKey = @"NSURLCreationDateKey";
GS_DECLARE NSString* const NSURLContentAccessDateKey = @"NSURLContentAccessDateKey";
GS_DECLARE NSString* const NSURLContentModificationDateKey = @"NSURLContentModificationDateKey";
GS_DECLARE NSString* const NSURLAttributeModificationDateKey = @"NSURLAttributeModificationDateKey";
GS_DECLARE NSString* const NSURLLinkCountKey = @"NSURLLinkCountKey";
GS_DECLARE NSString* const NSURLParentDirectoryURLKey = @"NSURLParentDirectoryURLKey";
GS_DECLARE NSString* const NSURLVolumeURLKey = @"NSURLVolumeURLKey";
GS_DECLARE NSString* const NSURLTypeIdentifierKey = @"NSURLTypeIdentifierKey";
GS_DECLARE NSString* const NSURLLocalizedTypeDescriptionKey = @"NSURLLocalizedTypeDescriptionKey";
GS_DECLARE NSString* const NSURLLabelNumberKey = @"NSURLLabelNumberKey";
GS_DECLARE NSString* const NSURLLabelColorKey = @"NSURLLabelColorKey";
GS_DECLARE NSString* const NSURLLocalizedLabelKey = @"NSURLLocalizedLabelKey";
GS_DECLARE NSString* const NSURLEffectiveIconKey = @"NSURLEffectiveIconKey";
GS_DECLARE NSString* const NSURLCustomIconKey = @"NSURLCustomIconKey";
GS_DECLARE NSString* const NSURLFileSizeKey = @"NSURLFileSizeKey";
GS_DECLARE NSString* const NSURLFileAllocatedSizeKey = @"NSURLFileAllocatedSizeKey";
GS_DECLARE NSString* const NSURLIsAliasFileKey = @"NSURLIsAliasFileKey";
GS_DECLARE NSString* const NSURLVolumeLocalizedFormatDescriptionKey = @"NSURLVolumeLocalizedFormatDescriptionKey";
GS_DECLARE NSString* const NSURLVolumeTotalCapacityKey = @"NSURLVolumeTotalCapacityKey";
GS_DECLARE NSString* const NSURLVolumeAvailableCapacityKey = @"NSURLVolumeAvailableCapacityKey";
GS_DECLARE NSString* const NSURLVolumeResourceCountKey = @"NSURLVolumeResourceCountKey";
GS_DECLARE NSString* const NSURLVolumeSupportsPersistentIDsKey = @"NSURLVolumeSupportsPersistentIDsKey";
GS_DECLARE NSString* const NSURLVolumeSupportsSymbolicLinksKey = @"NSURLVolumeSupportsSymbolicLinksKey";
GS_DECLARE NSString* const NSURLVolumeSupportsHardLinksKey = @"NSURLVolumeSupportsHardLinksKey";
GS_DECLARE NSString* const NSURLVolumeSupportsJournalingKey = @"NSURLVolumeSupportsJournalingKey";
GS_DECLARE NSString* const NSURLVolumeIsJournalingKey = @"NSURLVolumeIsJournalingKey";
GS_DECLARE NSString* const NSURLVolumeSupportsSparseFilesKey = @"NSURLVolumeSupportsSparseFilesKey";
GS_DECLARE NSString* const NSURLVolumeSupportsZeroRunsKey = @"NSURLVolumeSupportsZeroRunsKey";
GS_DECLARE NSString* const NSURLVolumeSupportsCaseSensitiveNamesKey = @"NSURLVolumeSupportsCaseSensitiveNamesKey";
GS_DECLARE NSString* const NSURLVolumeSupportsCasePreservedNamesKey = @"NSURLVolumeSupportsCasePreservedNamesKey";
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7, GS_API_LATEST)
GS_DECLARE NSString *NSURLFileResourceIdentifierKey = @"NSURLFileResourceIdentifierKey";
GS_DECLARE NSString *NSURLVolumeIdentifierKey = @"NSURLVolumeIdentifierKey";
GS_DECLARE NSString *NSURLPreferredIOBlockSizeKey = @"NSURLPreferredIOBlockSizeKey";
GS_DECLARE NSString *NSURLIsReadableKey = @"NSURLIsReadableKey";
GS_DECLARE NSString *NSURLIsWritableKey = @"NSURLIsWritableKey";
GS_DECLARE NSString *NSURLIsExecutableKey = @"NSURLIsExecutableKey";
GS_DECLARE NSString *NSURLFileSecurityKey = @"NSURLFileSecurityKey";
GS_DECLARE NSString *NSURLIsMountTriggerKey = @"NSURLIsMountTriggerKey";
GS_DECLARE NSString *NSURLFileResourceTypeKey = @"NSURLFileResourceTypeKey";
GS_DECLARE NSString *NSURLTotalFileSizeKey = @"NSURLTotalFileSizeKey";
GS_DECLARE NSString *NSURLTotalFileAllocatedSizeKey = @"NSURLTotalFileAllocatedSizeKey";
GS_DECLARE NSString *NSURLVolumeSupportsRootDirectoryDatesKey = @"NSURLVolumeSupportsRootDirectoryDatesKey";
GS_DECLARE NSString *NSURLVolumeSupportsVolumeSizesKey = @"NSURLVolumeSupportsVolumeSizesKey";
GS_DECLARE NSString *NSURLVolumeSupportsRenamingKey = @"NSURLVolumeSupportsRenamingKey";
GS_DECLARE NSString *NSURLVolumeSupportsAdvisoryFileLockingKey = @"NSURLVolumeSupportsAdvisoryFileLockingKey";
GS_DECLARE NSString *NSURLVolumeSupportsExtendedSecurityKey = @"NSURLVolumeSupportsExtendedSecurityKey";
GS_DECLARE NSString *NSURLVolumeIsBrowsableKey = @"NSURLVolumeIsBrowsableKey";
GS_DECLARE NSString *NSURLVolumeMaximumFileSizeKey = @"NSURLVolumeMaximumFileSizeKey";
GS_DECLARE NSString *NSURLVolumeIsEjectableKey = @"NSURLVolumeIsEjectableKey";
GS_DECLARE NSString *NSURLVolumeIsRemovableKey = @"NSURLVolumeIsRemovableKey";
GS_DECLARE NSString *NSURLVolumeIsInternalKey = @"NSURLVolumeIsInternalKey";
GS_DECLARE NSString *NSURLVolumeIsAutomountedKey = @"NSURLVolumeIsAutomountedKey";
GS_DECLARE NSString *NSURLVolumeIsLocalKey = @"NSURLVolumeIsLocalKey";
GS_DECLARE NSString *NSURLVolumeIsReadOnlyKey = @"NSURLVolumeIsReadOnlyKey";
GS_DECLARE NSString *NSURLVolumeCreationDateKey = @"NSURLVolumeCreationDateKey";
GS_DECLARE NSString *NSURLVolumeURLForRemountingKey = @"NSURLVolumeURLForRemountingKey";
GS_DECLARE NSString *NSURLVolumeUUIDStringKey = @"NSURLVolumeUUIDStringKey";
GS_DECLARE NSString *NSURLVolumeNameKey = @"NSURLVolumeNameKey";
GS_DECLARE NSString *NSURLVolumeLocalizedNameKey = @"NSURLVolumeLocalizedNameKey";
GS_DECLARE NSString *NSURLIsUbiquitousItemKey = @"NSURLIsUbiquitousItemKey";
GS_DECLARE NSString *NSURLUbiquitousItemHasUnresolvedConflictsKey = @"NSURLUbiquitousItemHasUnresolvedConflictsKey";
GS_DECLARE NSString *NSURLUbiquitousItemIsDownloadingKey = @"NSURLUbiquitousItemIsDownloadingKey";
GS_DECLARE NSString *NSURLUbiquitousItemIsUploadedKey = @"NSURLUbiquitousItemIsUploadedKey";
GS_DECLARE NSString *NSURLUbiquitousItemIsUploadingKey = @"NSURLUbiquitousItemIsUploadingKey";
GS_DECLARE NSString* const NSURLFileResourceIdentifierKey = @"NSURLFileResourceIdentifierKey";
GS_DECLARE NSString* const NSURLVolumeIdentifierKey = @"NSURLVolumeIdentifierKey";
GS_DECLARE NSString* const NSURLPreferredIOBlockSizeKey = @"NSURLPreferredIOBlockSizeKey";
GS_DECLARE NSString* const NSURLIsReadableKey = @"NSURLIsReadableKey";
GS_DECLARE NSString* const NSURLIsWritableKey = @"NSURLIsWritableKey";
GS_DECLARE NSString* const NSURLIsExecutableKey = @"NSURLIsExecutableKey";
GS_DECLARE NSString* const NSURLFileSecurityKey = @"NSURLFileSecurityKey";
GS_DECLARE NSString* const NSURLIsMountTriggerKey = @"NSURLIsMountTriggerKey";
GS_DECLARE NSString* const NSURLFileResourceTypeKey = @"NSURLFileResourceTypeKey";
GS_DECLARE NSString* const NSURLTotalFileSizeKey = @"NSURLTotalFileSizeKey";
GS_DECLARE NSString* const NSURLTotalFileAllocatedSizeKey = @"NSURLTotalFileAllocatedSizeKey";
GS_DECLARE NSString* const NSURLVolumeSupportsRootDirectoryDatesKey = @"NSURLVolumeSupportsRootDirectoryDatesKey";
GS_DECLARE NSString* const NSURLVolumeSupportsVolumeSizesKey = @"NSURLVolumeSupportsVolumeSizesKey";
GS_DECLARE NSString* const NSURLVolumeSupportsRenamingKey = @"NSURLVolumeSupportsRenamingKey";
GS_DECLARE NSString* const NSURLVolumeSupportsAdvisoryFileLockingKey = @"NSURLVolumeSupportsAdvisoryFileLockingKey";
GS_DECLARE NSString* const NSURLVolumeSupportsExtendedSecurityKey = @"NSURLVolumeSupportsExtendedSecurityKey";
GS_DECLARE NSString* const NSURLVolumeIsBrowsableKey = @"NSURLVolumeIsBrowsableKey";
GS_DECLARE NSString* const NSURLVolumeMaximumFileSizeKey = @"NSURLVolumeMaximumFileSizeKey";
GS_DECLARE NSString* const NSURLVolumeIsEjectableKey = @"NSURLVolumeIsEjectableKey";
GS_DECLARE NSString* const NSURLVolumeIsRemovableKey = @"NSURLVolumeIsRemovableKey";
GS_DECLARE NSString* const NSURLVolumeIsInternalKey = @"NSURLVolumeIsInternalKey";
GS_DECLARE NSString* const NSURLVolumeIsAutomountedKey = @"NSURLVolumeIsAutomountedKey";
GS_DECLARE NSString* const NSURLVolumeIsLocalKey = @"NSURLVolumeIsLocalKey";
GS_DECLARE NSString* const NSURLVolumeIsReadOnlyKey = @"NSURLVolumeIsReadOnlyKey";
GS_DECLARE NSString* const NSURLVolumeCreationDateKey = @"NSURLVolumeCreationDateKey";
GS_DECLARE NSString* const NSURLVolumeURLForRemountingKey = @"NSURLVolumeURLForRemountingKey";
GS_DECLARE NSString* const NSURLVolumeUUIDStringKey = @"NSURLVolumeUUIDStringKey";
GS_DECLARE NSString* const NSURLVolumeNameKey = @"NSURLVolumeNameKey";
GS_DECLARE NSString* const NSURLVolumeLocalizedNameKey = @"NSURLVolumeLocalizedNameKey";
GS_DECLARE NSString* const NSURLIsUbiquitousItemKey = @"NSURLIsUbiquitousItemKey";
GS_DECLARE NSString* const NSURLUbiquitousItemHasUnresolvedConflictsKey = @"NSURLUbiquitousItemHasUnresolvedConflictsKey";
GS_DECLARE NSString* const NSURLUbiquitousItemIsDownloadingKey = @"NSURLUbiquitousItemIsDownloadingKey";
GS_DECLARE NSString* const NSURLUbiquitousItemIsUploadedKey = @"NSURLUbiquitousItemIsUploadedKey";
GS_DECLARE NSString* const NSURLUbiquitousItemIsUploadingKey = @"NSURLUbiquitousItemIsUploadingKey";
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_8, GS_API_LATEST)
GS_DECLARE NSString *NSURLIsExcludedFromBackupKey = @"NSURLIsExcludedFromBackupKey";
GS_DECLARE NSString *NSURLPathKey = @"NSURLPathKey";
GS_DECLARE NSString* const NSURLIsExcludedFromBackupKey = @"NSURLIsExcludedFromBackupKey";
GS_DECLARE NSString* const NSURLPathKey = @"NSURLPathKey";
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_9, GS_API_LATEST)
GS_DECLARE NSString *NSURLTagNamesKey = @"NSURLTagNamesKey";
GS_DECLARE NSString *NSURLUbiquitousItemDownloadingStatusKey = @"NSURLUbiquitousItemDownloadingStatusKey";
GS_DECLARE NSString *NSURLUbiquitousItemDownloadingErrorKey = @"NSURLUbiquitousItemDownloadingErrorKey";
GS_DECLARE NSString *NSURLUbiquitousItemUploadingErrorKey = @"NSURLUbiquitousItemUploadingErrorKey";
GS_DECLARE NSString* const NSURLTagNamesKey = @"NSURLTagNamesKey";
GS_DECLARE NSString* const NSURLUbiquitousItemDownloadingStatusKey = @"NSURLUbiquitousItemDownloadingStatusKey";
GS_DECLARE NSString* const NSURLUbiquitousItemDownloadingErrorKey = @"NSURLUbiquitousItemDownloadingErrorKey";
GS_DECLARE NSString* const NSURLUbiquitousItemUploadingErrorKey = @"NSURLUbiquitousItemUploadingErrorKey";
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
GS_DECLARE NSString *NSURLGenerationIdentifierKey = @"NSURLGenerationIdentifierKey";
GS_DECLARE NSString *NSURLDocumentIdentifierKey = @"NSURLDocumentIdentifierKey";
GS_DECLARE NSString *NSURLAddedToDirectoryDateKey = @"NSURLAddedToDirectoryDateKey";
GS_DECLARE NSString *NSURLQuarantinePropertiesKey = @"NSURLQuarantinePropertiesKey";
GS_DECLARE NSString *NSThumbnail1024x1024SizeKey = @"NSThumbnail1024x1024SizeKey";
GS_DECLARE NSString *NSURLUbiquitousItemDownloadRequestedKey = @"NSURLUbiquitousItemDownloadRequestedKey";
GS_DECLARE NSString *NSURLUbiquitousItemContainerDisplayNameKey = @"NSURLUbiquitousItemContainerDisplayNameKey";
GS_DECLARE NSString* const NSURLGenerationIdentifierKey = @"NSURLGenerationIdentifierKey";
GS_DECLARE NSString* const NSURLDocumentIdentifierKey = @"NSURLDocumentIdentifierKey";
GS_DECLARE NSString* const NSURLAddedToDirectoryDateKey = @"NSURLAddedToDirectoryDateKey";
GS_DECLARE NSString* const NSURLQuarantinePropertiesKey = @"NSURLQuarantinePropertiesKey";
GS_DECLARE NSString* const NSThumbnail1024x1024SizeKey = @"NSThumbnail1024x1024SizeKey";
GS_DECLARE NSString* const NSURLUbiquitousItemDownloadRequestedKey = @"NSURLUbiquitousItemDownloadRequestedKey";
GS_DECLARE NSString* const NSURLUbiquitousItemContainerDisplayNameKey = @"NSURLUbiquitousItemContainerDisplayNameKey";
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_11, GS_API_LATEST)
GS_DECLARE NSString *NSURLIsApplicationKey = @"NSURLIsApplicationKey";
GS_DECLARE NSString *NSURLApplicationIsScriptableKey = @"NSURLApplicationIsScriptableKey";
GS_DECLARE NSString* const NSURLIsApplicationKey = @"NSURLIsApplicationKey";
GS_DECLARE NSString* const NSURLApplicationIsScriptableKey = @"NSURLApplicationIsScriptableKey";
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7, GS_API_LATEST)
GS_DECLARE NSString *NSURLFileResourceTypeNamedPipe = @"NSURLFileResourceTypeNamedPipe";
GS_DECLARE NSString *NSURLFileResourceTypeCharacterSpecial = @"NSURLFileResourceTypeCharacterSpecial";
GS_DECLARE NSString *NSURLFileResourceTypeDirectory = @"NSURLFileResourceTypeDirectory";
GS_DECLARE NSString *NSURLFileResourceTypeBlockSpecial = @"NSURLFileResourceTypeBlockSpecial";
GS_DECLARE NSString *NSURLFileResourceTypeRegular = @"NSURLFileResourceTypeRegular";
GS_DECLARE NSString *NSURLFileResourceTypeSymbolicLink = @"NSURLFileResourceTypeSymbolicLink";
GS_DECLARE NSString *NSURLFileResourceTypeSocket = @"NSURLFileResourceTypeSocket";
GS_DECLARE NSString *NSURLFileResourceTypeUnknown = @"NSURLFileResourceTypeUnknown";
GS_DECLARE NSString* const NSURLFileResourceTypeNamedPipe = @"NSURLFileResourceTypeNamedPipe";
GS_DECLARE NSString* const NSURLFileResourceTypeCharacterSpecial = @"NSURLFileResourceTypeCharacterSpecial";
GS_DECLARE NSString* const NSURLFileResourceTypeDirectory = @"NSURLFileResourceTypeDirectory";
GS_DECLARE NSString* const NSURLFileResourceTypeBlockSpecial = @"NSURLFileResourceTypeBlockSpecial";
GS_DECLARE NSString* const NSURLFileResourceTypeRegular = @"NSURLFileResourceTypeRegular";
GS_DECLARE NSString* const NSURLFileResourceTypeSymbolicLink = @"NSURLFileResourceTypeSymbolicLink";
GS_DECLARE NSString* const NSURLFileResourceTypeSocket = @"NSURLFileResourceTypeSocket";
GS_DECLARE NSString* const NSURLFileResourceTypeUnknown = @"NSURLFileResourceTypeUnknown";
#endif
/* NSURLError */
GS_DECLARE NSString* const NSURLErrorDomain = @"NSURLErrorDomain";
GS_DECLARE NSString* const NSErrorFailingURLStringKey = @"NSErrorFailingURLStringKey";
/** Possible values for Ubiquitous Item Downloading Key **/
#if OS_API_VERSION(MAC_OS_X_VERSION_10_9, GS_API_LATEST)
GS_DECLARE NSString *NSURLUbiquitousItemDownloadingStatusNotDownloaded = @"NSURLUbiquitousItemDownloadingStatusNotDownloaded";
GS_DECLARE NSString *NSURLUbiquitousItemDownloadingStatusDownloaded = @"NSURLUbiquitousItemDownloadingStatusDownloaded";
GS_DECLARE NSString *NSURLUbiquitousItemDownloadingStatusCurrent = @"NSURLUbiquitousItemDownloadingStatusCurrent";
GS_DECLARE NSString* const NSURLUbiquitousItemDownloadingStatusNotDownloaded = @"NSURLUbiquitousItemDownloadingStatusNotDownloaded";
GS_DECLARE NSString* const NSURLUbiquitousItemDownloadingStatusDownloaded = @"NSURLUbiquitousItemDownloadingStatusDownloaded";
GS_DECLARE NSString* const NSURLUbiquitousItemDownloadingStatusCurrent = @"NSURLUbiquitousItemDownloadingStatusCurrent";
#endif
/* RunLoop modes */
GS_DECLARE NSString *NSConnectionReplyMode = @"NSConnectionReplyMode";
GS_DECLARE NSString* const NSConnectionReplyMode = @"NSConnectionReplyMode";
/* NSValueTransformer constants */
GS_DECLARE NSString *const NSNegateBooleanTransformerName
= @"NSNegateBoolean";
GS_DECLARE NSString *const NSIsNilTransformerName
= @"NSIsNil";
GS_DECLARE NSString *const NSIsNotNilTransformerName
= @"NSIsNotNil";
GS_DECLARE NSString *const NSUnarchiveFromDataTransformerName
= @"NSUnarchiveFromData";
GS_DECLARE NSString* const NSNegateBooleanTransformerName = @"NSNegateBoolean";
GS_DECLARE NSString* const NSIsNilTransformerName = @"NSIsNil";
GS_DECLARE NSString* const NSIsNotNilTransformerName = @"NSIsNotNil";
GS_DECLARE NSString* const NSUnarchiveFromDataTransformerName = @"NSUnarchiveFromData";
/* Standard domains */
GS_DECLARE NSString *NSArgumentDomain = @"NSArgumentDomain";
GS_DECLARE NSString* const NSArgumentDomain = @"NSArgumentDomain";
GS_DECLARE NSString *NSGlobalDomain = @"NSGlobalDomain";
GS_DECLARE NSString* const NSGlobalDomain = @"NSGlobalDomain";
GS_DECLARE NSString *NSRegistrationDomain = @"NSRegistrationDomain";
GS_DECLARE NSString* const NSRegistrationDomain = @"NSRegistrationDomain";
GS_DECLARE NSString *GSConfigDomain = @"GSConfigDomain";
GS_DECLARE NSString* const GSConfigDomain = @"GSConfigDomain";
/* Public notification */
GS_DECLARE NSString *NSUserDefaultsDidChangeNotification = @"NSUserDefaultsDidChangeNotification";
GS_DECLARE NSString* const NSUserDefaultsDidChangeNotification = @"NSUserDefaultsDidChangeNotification";
/* Keys for language-dependent information */
GS_DECLARE NSString *NSWeekDayNameArray = @"NSWeekDayNameArray";
GS_DECLARE NSString* const NSWeekDayNameArray = @"NSWeekDayNameArray";
GS_DECLARE NSString *NSShortWeekDayNameArray = @"NSShortWeekDayNameArray";
GS_DECLARE NSString* const NSShortWeekDayNameArray = @"NSShortWeekDayNameArray";
GS_DECLARE NSString *NSMonthNameArray = @"NSMonthNameArray";
GS_DECLARE NSString* const NSMonthNameArray = @"NSMonthNameArray";
GS_DECLARE NSString *NSShortMonthNameArray = @"NSShortMonthNameArray";
GS_DECLARE NSString* const NSShortMonthNameArray = @"NSShortMonthNameArray";
GS_DECLARE NSString *NSTimeFormatString = @"NSTimeFormatString";
GS_DECLARE NSString* const NSTimeFormatString = @"NSTimeFormatString";
GS_DECLARE NSString *NSDateFormatString = @"NSDateFormatString";
GS_DECLARE NSString* const NSDateFormatString = @"NSDateFormatString";
GS_DECLARE NSString *NSShortDateFormatString = @"NSShortDateFormatString";
GS_DECLARE NSString* const NSShortDateFormatString = @"NSShortDateFormatString";
GS_DECLARE NSString *NSTimeDateFormatString = @"NSTimeDateFormatString";
GS_DECLARE NSString* const NSTimeDateFormatString = @"NSTimeDateFormatString";
GS_DECLARE NSString *NSShortTimeDateFormatString = @"NSShortTimeDateFormatString";
GS_DECLARE NSString* const NSShortTimeDateFormatString = @"NSShortTimeDateFormatString";
GS_DECLARE NSString *NSCurrencySymbol = @"NSCurrencySymbol";
GS_DECLARE NSString* const NSCurrencySymbol = @"NSCurrencySymbol";
GS_DECLARE NSString *NSDecimalSeparator = @"NSDecimalSeparator";
GS_DECLARE NSString* const NSDecimalSeparator = @"NSDecimalSeparator";
GS_DECLARE NSString *NSThousandsSeparator = @"NSThousandsSeparator";
GS_DECLARE NSString* const NSThousandsSeparator = @"NSThousandsSeparator";
GS_DECLARE NSString *NSInternationalCurrencyString = @"NSInternationalCurrencyString";
GS_DECLARE NSString* const NSInternationalCurrencyString = @"NSInternationalCurrencyString";
GS_DECLARE NSString *NSCurrencyString = @"NSCurrencyString";
GS_DECLARE NSString* const NSCurrencyString = @"NSCurrencyString";
GS_DECLARE NSString *NSNegativeCurrencyFormatString = @"NSNegativeCurrencyFormatString";
GS_DECLARE NSString* const NSNegativeCurrencyFormatString = @"NSNegativeCurrencyFormatString";
GS_DECLARE NSString *NSPositiveCurrencyFormatString = @"NSPositiveCurrencyFormatString";
GS_DECLARE NSString* const NSPositiveCurrencyFormatString = @"NSPositiveCurrencyFormatString";
GS_DECLARE NSString *NSDecimalDigits = @"NSDecimalDigits";
GS_DECLARE NSString* const NSDecimalDigits = @"NSDecimalDigits";
GS_DECLARE NSString *NSAMPMDesignation = @"NSAMPMDesignation";
GS_DECLARE NSString* const NSAMPMDesignation = @"NSAMPMDesignation";
GS_DECLARE NSString *NSHourNameDesignations = @"NSHourNameDesignations";
GS_DECLARE NSString* const NSHourNameDesignations = @"NSHourNameDesignations";
GS_DECLARE NSString *NSYearMonthWeekDesignations = @"NSYearMonthWeekDesignations";
GS_DECLARE NSString* const NSYearMonthWeekDesignations = @"NSYearMonthWeekDesignations";
GS_DECLARE NSString *NSEarlierTimeDesignations = @"NSEarlierTimeDesignations";
GS_DECLARE NSString* const NSEarlierTimeDesignations = @"NSEarlierTimeDesignations";
GS_DECLARE NSString *NSLaterTimeDesignations = @"NSLaterTimeDesignations";
GS_DECLARE NSString* const NSLaterTimeDesignations = @"NSLaterTimeDesignations";
GS_DECLARE NSString *NSThisDayDesignations = @"NSThisDayDesignations";
GS_DECLARE NSString* const NSThisDayDesignations = @"NSThisDayDesignations";
GS_DECLARE NSString *NSNextDayDesignations = @"NSNextDayDesignations";
GS_DECLARE NSString* const NSNextDayDesignations = @"NSNextDayDesignations";
GS_DECLARE NSString *NSNextNextDayDesignations = @"NSNextNextDayDesignations";
GS_DECLARE NSString* const NSNextNextDayDesignations = @"NSNextNextDayDesignations";
GS_DECLARE NSString *NSPriorDayDesignations = @"NSPriorDayDesignations";
GS_DECLARE NSString* const NSPriorDayDesignations = @"NSPriorDayDesignations";
GS_DECLARE NSString *NSDateTimeOrdering = @"NSDateTimeOrdering";
GS_DECLARE NSString* const NSDateTimeOrdering = @"NSDateTimeOrdering";
/* These are in OPENSTEP 4.2 */
GS_DECLARE NSString *NSLanguageCode = @"NSLanguageCode";
GS_DECLARE NSString* const NSLanguageCode = @"NSLanguageCode";
GS_DECLARE NSString *NSLanguageName = @"NSLanguageName";
GS_DECLARE NSString* const NSLanguageName = @"NSLanguageName";
GS_DECLARE NSString *NSFormalName = @"NSFormalName";
GS_DECLARE NSString* const NSFormalName = @"NSFormalName";
/* For GNUstep */
GS_DECLARE NSString *GSLocale = @"GSLocale";
GS_DECLARE NSString* const GSLocale = @"GSLocale";
/*
* Keys for the NSDictionary returned by [NSConnection -statistics]
*/
/* These in OPENSTEP 4.2 */
GS_DECLARE NSString *NSConnectionRepliesReceived = @"NSConnectionRepliesReceived";
GS_DECLARE NSString* const NSConnectionRepliesReceived = @"NSConnectionRepliesReceived";
GS_DECLARE NSString *NSConnectionRepliesSent = @"NSConnectionRepliesSent";
GS_DECLARE NSString* const NSConnectionRepliesSent = @"NSConnectionRepliesSent";
GS_DECLARE NSString *NSConnectionRequestsReceived = @"NSConnectionRequestsReceived";
GS_DECLARE NSString* const NSConnectionRequestsReceived = @"NSConnectionRequestsReceived";
GS_DECLARE NSString *NSConnectionRequestsSent = @"NSConnectionRequestsSent";
GS_DECLARE NSString* const NSConnectionRequestsSent = @"NSConnectionRequestsSent";
/* These Are GNUstep extras */
GS_DECLARE NSString *NSConnectionLocalCount = @"NSConnectionLocalCount";
GS_DECLARE NSString* const NSConnectionLocalCount = @"NSConnectionLocalCount";
GS_DECLARE NSString *NSConnectionProxyCount = @"NSConnectionProxyCount";
GS_DECLARE NSString* const NSConnectionProxyCount = @"NSConnectionProxyCount";
/* Class description notification */
GS_DECLARE NSString *NSClassDescriptionNeededForClassNotification = @"NSClassDescriptionNeededForClassNotification";
GS_DECLARE NSString* const NSClassDescriptionNeededForClassNotification = @"NSClassDescriptionNeededForClassNotification";
/* NSArchiver */
GS_DECLARE NSString* const NSInconsistentArchiveException = @"NSInconsistentArchiveException";
/*
* Optimization function called when NSObject is initialised.
* We replace all the constant strings so they can
* cache their hash values and be used much more efficiently as keys in
* dictionaries etc.
* We initialize with constant strings so that
* code executed before NSObject +initialize calls us,
* will have valid values.
/* NSBundle */
GS_DECLARE NSString* const NSBundleDidLoadNotification = @"NSBundleDidLoadNotification";
GS_DECLARE NSString* const NSShowNonLocalizedStrings = @"NSShowNonLocalizedStrings";
GS_DECLARE NSString* const NSLoadedClasses = @"NSLoadedClasses";
/* NSConnection */
GS_DECLARE NSString* const NSDestinationInvalidException = @"NSDestinationInvalidException";
GS_DECLARE NSString* const NSFailedAuthenticationException = @"NSFailedAuthenticationExceptions";
GS_DECLARE NSString* const NSObjectInaccessibleException = @"NSObjectInaccessibleException";
GS_DECLARE NSString* const NSObjectNotAvailableException = @"NSObjectNotAvailableException";
/* NSDate */
GS_DECLARE NSString* const NSSystemClockDidChangeNotification = @"NSSystemClockDidChangeNotification";
/* NSExtensionItem */
GS_DECLARE NSString* const NSExtensionItemAttributedTitleKey = @"NSExtensionItemAttributedTitleKey";
GS_DECLARE NSString* const NSExtensionItemAttributedContentTextKey = @"NSExtensionItemAttributedContentTextKey";
GS_DECLARE NSString* const NSExtensionItemAttachmentsKey = @"NSExtensionItemAttachmentsKey";
/* NSFileHandle */
GS_DECLARE NSString* const NSFileHandleNotificationDataItem = @"NSFileHandleNotificationDataItem";
GS_DECLARE NSString* const NSFileHandleNotificationFileHandleItem = @"NSFileHandleNotificationFileHandleItem";
GS_DECLARE NSString* const NSFileHandleNotificationMonitorModes = @"NSFileHandleNotificationMonitorModes";
GS_DECLARE NSString* const NSFileHandleConnectionAcceptedNotification = @"NSFileHandleConnectionAcceptedNotification";
GS_DECLARE NSString* const NSFileHandleDataAvailableNotification = @"NSFileHandleDataAvailableNotification";
GS_DECLARE NSString* const NSFileHandleReadCompletionNotification = @"NSFileHandleReadCompletionNotification";
GS_DECLARE NSString* const NSFileHandleReadToEndOfFileCompletionNotification = @"NSFileHandleReadToEndOfFileCompletionNotification";
GS_DECLARE NSString* const NSFileHandleOperationException = @"NSFileHandleOperationException";
/* NSFileHandle GNUstep additions */
GS_DECLARE NSString* const GSFileHandleConnectCompletionNotification = @"GSFileHandleConnectCompletionNotification";
GS_DECLARE NSString* const GSFileHandleWriteCompletionNotification = @"GSFileHandleWriteCompletionNotification";
GS_DECLARE NSString* const GSFileHandleNotificationError = @"GSFileHandleNotificationError";
/* NSFileHandle constants to control TLS/SSL (options) */
GS_DECLARE NSString* const GSTLSCAFile = @"GSTLSCAFile";
GS_DECLARE NSString* const GSTLSCertificateFile = @"GSTLSCertificateFile";
GS_DECLARE NSString* const GSTLSCertificateKeyFile = @"GSTLSCertificateKeyFile";
GS_DECLARE NSString* const GSTLSCertificateKeyPassword = @"GSTLSCertificateKeyPassword";
GS_DECLARE NSString* const GSTLSDebug = @"GSTLSDebug";
GS_DECLARE NSString* const GSTLSPriority = @"GSTLSPriority";
GS_DECLARE NSString* const GSTLSRemoteHosts = @"GSTLSRemoteHosts";
GS_DECLARE NSString* const GSTLSRevokeFile = @"GSTLSRevokeFile";
GS_DECLARE NSString* const GSTLSServerName = @"GSTLSServerName";
GS_DECLARE NSString* const GSTLSVerify = @"GSTLSVerify";
/* NSFileManager */
GS_DECLARE NSString* const NSFileAppendOnly = @"NSFileAppendOnly";
GS_DECLARE NSString* const NSFileCreationDate = @"NSFileCreationDate";
GS_DECLARE NSString* const NSFileDeviceIdentifier = @"NSFileDeviceIdentifier";
GS_DECLARE NSString* const NSFileExtensionHidden = @"NSFileExtensionHidden";
GS_DECLARE NSString* const NSFileGroupOwnerAccountID = @"NSFileGroupOwnerAccountID";
GS_DECLARE NSString* const NSFileGroupOwnerAccountName = @"NSFileGroupOwnerAccountName";
GS_DECLARE NSString* const NSFileHFSCreatorCode = @"NSFileHFSCreatorCode";
GS_DECLARE NSString* const NSFileHFSTypeCode = @"NSFileHFSTypeCode";
GS_DECLARE NSString* const NSFileImmutable = @"NSFileImmutable";
GS_DECLARE NSString* const NSFileModificationDate = @"NSFileModificationDate";
GS_DECLARE NSString* const NSFileOwnerAccountID = @"NSFileOwnerAccountID";
GS_DECLARE NSString* const NSFileOwnerAccountName = @"NSFileOwnerAccountName";
GS_DECLARE NSString* const NSFilePosixPermissions = @"NSFilePosixPermissions";
GS_DECLARE NSString* const NSFileReferenceCount = @"NSFileReferenceCount";
GS_DECLARE NSString* const NSFileSize = @"NSFileSize";
GS_DECLARE NSString* const NSFileSystemFileNumber = @"NSFileSystemFileNumber";
GS_DECLARE NSString* const NSFileSystemFreeNodes = @"NSFileSystemFreeNodes";
GS_DECLARE NSString* const NSFileSystemFreeSize = @"NSFileSystemFreeSize";
GS_DECLARE NSString* const NSFileSystemNodes = @"NSFileSystemNodes";
GS_DECLARE NSString* const NSFileSystemNumber = @"NSFileSystemNumber";
GS_DECLARE NSString* const NSFileSystemSize = @"NSFileSystemSize";
GS_DECLARE NSString* const NSFileType = @"NSFileType";
GS_DECLARE NSString* const NSFileTypeBlockSpecial = @"NSFileTypeBlockSpecial";
GS_DECLARE NSString* const NSFileTypeCharacterSpecial = @"NSFileTypeCharacterSpecial";
GS_DECLARE NSString* const NSFileTypeDirectory = @"NSFileTypeDirectory";
GS_DECLARE NSString* const NSFileTypeFifo = @"NSFileTypeFifo";
GS_DECLARE NSString* const NSFileTypeRegular = @"NSFileTypeRegular";
GS_DECLARE NSString* const NSFileTypeSocket = @"NSFileTypeSocket";
GS_DECLARE NSString* const NSFileTypeSymbolicLink = @"NSFileTypeSymbolicLink";
GS_DECLARE NSString* const NSFileTypeUnknown = @"NSFileTypeUnknown";
/* NSHTTPCookie */
GS_DECLARE NSString* const NSHTTPCookieComment = @"Comment";
GS_DECLARE NSString* const NSHTTPCookieCommentURL = @"CommentURL";
GS_DECLARE NSString* const NSHTTPCookieDiscard = @"Discard";
GS_DECLARE NSString* const NSHTTPCookieDomain = @"Domain";
GS_DECLARE NSString* const NSHTTPCookieExpires = @"Expires";
GS_DECLARE NSString* const NSHTTPCookieMaximumAge = @"MaximumAge";
GS_DECLARE NSString* const NSHTTPCookieName = @"Name";
GS_DECLARE NSString* const NSHTTPCookieOriginURL = @"OriginURL";
GS_DECLARE NSString* const NSHTTPCookiePath = @"Path";
GS_DECLARE NSString* const NSHTTPCookiePort = @"Port";
GS_DECLARE NSString* const NSHTTPCookieSecure = @"Secure";
GS_DECLARE NSString* const NSHTTPCookieValue = @"Value";
GS_DECLARE NSString* const NSHTTPCookieVersion = @"Version";
/* NSCookieStorage */
GS_DECLARE NSString* const NSHTTPCookieManagerAcceptPolicyChangedNotification = @"NSHTTPCookieManagerAcceptPolicyChangedNotification";
GS_DECLARE NSString* const NSHTTPCookieManagerCookiesChangedNotification = @"NSHTTPCookieManagerCookiesChangedNotification";
/* NSItemProvider */
GS_DECLARE NSString* const NSItemProviderPreferredImageSizeKey = @"NSItemProviderPreferredImageSizeKey";
GS_DECLARE NSString* const NSExtensionJavaScriptPreprocessingResultsKey = @"NSExtensionJavaScriptPreprocessingResultsKey";
GS_DECLARE NSString* const NSExtensionJavaScriptFinalizeArgumentKey = @"NSExtensionJavaScriptFinalizeArgumentKey";
GS_DECLARE NSString* const NSItemProviderErrorDomain = @"NSItemProviderErrorDomain";
/* NSKeyedArchiver */
GS_DECLARE NSString* const NSInvalidArchiveOperationException = @"NSInvalidArchiveOperationException";
/* NSKeyedUnarchiver */
GS_DECLARE NSString* const NSInvalidUnarchiveOperationException = @"NSInvalidUnarchiveOperationException";
/* NSKeyValueCoding
* For backward compatibility NSUndefinedKeyException is actually the same
* as the older NSUnknownKeyException
*/
GS_DECLARE NSString* const NSUnknownKeyException = @"NSUnknownKeyException";
GS_DECLARE NSString* const NSUndefinedKeyException = @"NSUnknownKeyException";
void
GSPrivateBuildStrings()
{
static Class NSStringClass = 0;
/* NSKeyValueObserving */
GS_DECLARE NSString* const NSKeyValueChangeIndexesKey = @"indexes";
GS_DECLARE NSString* const NSKeyValueChangeKindKey = @"kind";
GS_DECLARE NSString* const NSKeyValueChangeNewKey = @"new";
GS_DECLARE NSString* const NSKeyValueChangeOldKey = @"old";
GS_DECLARE NSString* const NSKeyValueChangeNotificationIsPriorKey = @"notificationIsPrior";
if (NSStringClass == 0)
{
NSStringClass = [NSString class];
/* NSLocale */
GS_DECLARE NSString* const NSCurrentLocaleDidChangeNotification = @"NSCurrentLocaleDidChangeNotification";
/*
* Ensure that NSString is initialized ... because we are called
* from [NSObject +initialize] which might be executing as a
* result of a call to [NSString +initialize] !
* Use performSelector: to avoid compiler warning about clash of
* return value types in two different versions of initialize.
*/
[NSStringClass performSelector: @selector(initialize)];
/* NSLocale Component Keys */
GS_DECLARE NSString* const NSLocaleIdentifier = @"NSLocaleIdentifier";
GS_DECLARE NSString* const NSLocaleLanguageCode = @"NSLocaleLanguageCode";
GS_DECLARE NSString* const NSLocaleCountryCode = @"NSLocaleCountryCode";
GS_DECLARE NSString* const NSLocaleScriptCode = @"NSLocaleScriptCode";
GS_DECLARE NSString* const NSLocaleVariantCode = @"NSLocaleVariantCode";
GS_DECLARE NSString* const NSLocaleExemplarCharacterSet = @"NSLocaleExemplarCharacterSet";
GS_DECLARE NSString* const NSLocaleCalendarIdentifier = @"calendar";
GS_DECLARE NSString* const NSLocaleCalendar = @"NSLocaleCalendar";
GS_DECLARE NSString* const NSLocaleCollationIdentifier = @"collation";
GS_DECLARE NSString* const NSLocaleUsesMetricSystem = @"NSLocaleUsesMetricSystem";
GS_DECLARE NSString* const NSLocaleMeasurementSystem = @"NSLocaleMeasurementSystem";
GS_DECLARE NSString* const NSLocaleDecimalSeparator = @"NSLocaleDecimalSeparator";
GS_DECLARE NSString* const NSLocaleGroupingSeparator = @"NSLocaleGroupingSeparator";
GS_DECLARE NSString* const NSLocaleCurrencySymbol = @"NSLocaleCurrencySymbol";
GS_DECLARE NSString* const NSLocaleCurrencyCode = @"NSLocaleCurrencyCode";
GS_DECLARE NSString* const NSLocaleCollatorIdentifier = @"NSLocaleCollatorIdentifier";
GS_DECLARE NSString* const NSLocaleQuotationBeginDelimiterKey = @"NSLocaleQuotationBeginDelimiterKey";
GS_DECLARE NSString* const NSLocaleQuotationEndDelimiterKey = @"NSLocaleQuotationEndDelimiterKey";
GS_DECLARE NSString* const NSLocaleAlternateQuotationBeginDelimiterKey = @"NSLocaleAlternateQuotationBeginDelimiterKey";
GS_DECLARE NSString* const NSLocaleAlternateQuotationEndDelimiterKey = @"NSLocaleAlternateQuotationEndDelimiterKey";
GS_REPLACE_CONSTANT_STRING(GSNetworkNotificationCenterType);
GS_REPLACE_CONSTANT_STRING(NSAMPMDesignation);
GS_REPLACE_CONSTANT_STRING(NSArgumentDomain);
GS_REPLACE_CONSTANT_STRING(NSClassDescriptionNeededForClassNotification);
GS_REPLACE_CONSTANT_STRING(NSConnectionDidDieNotification);
GS_REPLACE_CONSTANT_STRING(NSConnectionDidInitializeNotification);
GS_REPLACE_CONSTANT_STRING(NSConnectionLocalCount);
GS_REPLACE_CONSTANT_STRING(NSConnectionProxyCount);
GS_REPLACE_CONSTANT_STRING(NSConnectionRepliesReceived);
GS_REPLACE_CONSTANT_STRING(NSConnectionRepliesSent);
GS_REPLACE_CONSTANT_STRING(NSConnectionReplyMode);
GS_REPLACE_CONSTANT_STRING(NSConnectionRequestsReceived);
GS_REPLACE_CONSTANT_STRING(NSConnectionRequestsSent);
GS_REPLACE_CONSTANT_STRING(NSCurrencyString);
GS_REPLACE_CONSTANT_STRING(NSCurrencySymbol);
GS_REPLACE_CONSTANT_STRING(NSDateFormatString);
GS_REPLACE_CONSTANT_STRING(NSDateTimeOrdering);
GS_REPLACE_CONSTANT_STRING(NSDecimalDigits);
GS_REPLACE_CONSTANT_STRING(NSDecimalSeparator);
GS_REPLACE_CONSTANT_STRING(NSEarlierTimeDesignations);
GS_REPLACE_CONSTANT_STRING(NSFormalName);
GS_REPLACE_CONSTANT_STRING(NSGlobalDomain);
GS_REPLACE_CONSTANT_STRING(NSHourNameDesignations);
GS_REPLACE_CONSTANT_STRING(NSInternationalCurrencyString);
GS_REPLACE_CONSTANT_STRING(NSLanguageCode);
GS_REPLACE_CONSTANT_STRING(NSLanguageName);
GS_REPLACE_CONSTANT_STRING(NSLaterTimeDesignations);
GS_REPLACE_CONSTANT_STRING(GSLocale);
GS_REPLACE_CONSTANT_STRING(NSLocalNotificationCenterType);
GS_REPLACE_CONSTANT_STRING(NSMonthNameArray);
GS_REPLACE_CONSTANT_STRING(NSNegativeCurrencyFormatString);
GS_REPLACE_CONSTANT_STRING(NSNextDayDesignations);
GS_REPLACE_CONSTANT_STRING(NSNextNextDayDesignations);
GS_REPLACE_CONSTANT_STRING(NSPortDidBecomeInvalidNotification);
GS_REPLACE_CONSTANT_STRING(NSPositiveCurrencyFormatString);
GS_REPLACE_CONSTANT_STRING(NSPriorDayDesignations);
GS_REPLACE_CONSTANT_STRING(NSRegistrationDomain);
GS_REPLACE_CONSTANT_STRING(NSShortDateFormatString);
GS_REPLACE_CONSTANT_STRING(NSShortMonthNameArray);
GS_REPLACE_CONSTANT_STRING(NSShortTimeDateFormatString);
GS_REPLACE_CONSTANT_STRING(NSShortWeekDayNameArray);
GS_REPLACE_CONSTANT_STRING(NSTaskDidTerminateNotification);
GS_REPLACE_CONSTANT_STRING(NSThisDayDesignations);
GS_REPLACE_CONSTANT_STRING(NSThousandsSeparator);
GS_REPLACE_CONSTANT_STRING(NSThreadDidStartNotification);
GS_REPLACE_CONSTANT_STRING(NSThreadWillExitNotification);
GS_REPLACE_CONSTANT_STRING(NSTimeDateFormatString);
GS_REPLACE_CONSTANT_STRING(NSTimeFormatString);
GS_REPLACE_CONSTANT_STRING(NSUndoManagerCheckpointNotification);
GS_REPLACE_CONSTANT_STRING(NSUndoManagerDidOpenUndoGroupNotification);
GS_REPLACE_CONSTANT_STRING(NSUndoManagerDidRedoChangeNotification);
GS_REPLACE_CONSTANT_STRING(NSUndoManagerDidUndoChangeNotification);
GS_REPLACE_CONSTANT_STRING(NSUndoManagerWillCloseUndoGroupNotification);
GS_REPLACE_CONSTANT_STRING(NSUndoManagerWillRedoChangeNotification);
GS_REPLACE_CONSTANT_STRING(NSUndoManagerWillUndoChangeNotification);
GS_REPLACE_CONSTANT_STRING(NSURLFileScheme);
GS_REPLACE_CONSTANT_STRING(NSUserDefaultsDidChangeNotification);
GS_REPLACE_CONSTANT_STRING(NSWeekDayNameArray);
GS_REPLACE_CONSTANT_STRING(NSWillBecomeMultiThreadedNotification);
GS_REPLACE_CONSTANT_STRING(NSYearMonthWeekDesignations);
}
}
/* NSLocale Calendar Keys */
GS_DECLARE NSString* const NSGregorianCalendar = @"gregorian";
GS_DECLARE NSString* const NSBuddhistCalendar = @"buddhist";
GS_DECLARE NSString* const NSChineseCalendar = @"chinese";
GS_DECLARE NSString* const NSHebrewCalendar = @"hebrew";
GS_DECLARE NSString* const NSIslamicCalendar = @"islamic";
GS_DECLARE NSString* const NSIslamicCivilCalendar = @"islamic-civil";
GS_DECLARE NSString* const NSJapaneseCalendar = @"japanese";
GS_DECLARE NSString* const NSRepublicOfChinaCalendar = @"roc";
GS_DECLARE NSString* const NSPersianCalendar = @"persian";
GS_DECLARE NSString* const NSIndianCalendar = @"indian";
GS_DECLARE NSString* const NSISO8601Calendar = @"";
/* NSLocale New Calendar ID Keys */
GS_DECLARE NSString* const NSCalendarIdentifierGregorian = @"gregorian";
GS_DECLARE NSString* const NSCalendarIdentifierBuddhist = @"buddhist";
GS_DECLARE NSString* const NSCalendarIdentifierChinese = @"chinese";
GS_DECLARE NSString* const NSCalendarIdentifierCoptic = @"coptic";
GS_DECLARE NSString* const NSCalendarIdentifierEthiopicAmeteMihret = @"ethiopic-amete-mihret";
GS_DECLARE NSString* const NSCalendarIdentifierEthiopicAmeteAlem = @"ethiopic-amete-alem";
GS_DECLARE NSString* const NSCalendarIdentifierHebrew = @"hebrew";
GS_DECLARE NSString* const NSCalendarIdentifierISO8601 = @"";
GS_DECLARE NSString* const NSCalendarIdentifierIndian = @"indian";
GS_DECLARE NSString* const NSCalendarIdentifierIslamic = @"islamic";
GS_DECLARE NSString* const NSCalendarIdentifierIslamicCivil = @"islamic-civil";
GS_DECLARE NSString* const NSCalendarIdentifierJapanese = @"japanese";
GS_DECLARE NSString* const NSCalendarIdentifierPersian = @"persian";
GS_DECLARE NSString* const NSCalendarIdentifierRepublicOfChina = @"roc";
GS_DECLARE NSString* const NSCalendarIdentifierIslamicTabular = @"islamic-tabular";
GS_DECLARE NSString* const NSCalendarIdentifierIslamicUmmAlQura = @"islamic-umm-al-qura";
/* NSMetadata */
GS_DECLARE NSString* const NSMetadataQueryUserHomeScope = @"NSMetadataQueryUserHomeScope";
GS_DECLARE NSString* const NSMetadataQueryLocalComputerScope = @"NSMetadataQueryLocalComputerScope";
GS_DECLARE NSString* const NSMetadataQueryNetworkScope = @"NSMetadataQueryNetworkScope";
GS_DECLARE NSString* const NSMetadataQueryUbiquitousDocumentsScope = @"NSMetadataQueryUbiquitousDocumentsScope";
GS_DECLARE NSString* const NSMetadataQueryUbiquitousDataScope = @"NSMetadataQueryUbiquitousDataScope";
GS_DECLARE NSString* const NSMetadataQueryDidFinishGatheringNotification = @"NSMetadataQueryDidFinishGatheringNotification";
GS_DECLARE NSString* const NSMetadataQueryDidStartGatheringNotification = @"NSMetadataQueryDidStartGatheringNotification";
GS_DECLARE NSString* const NSMetadataQueryDidUpdateNotification = @"NSMetadataQueryDidUpdateNotification";
GS_DECLARE NSString* const NSMetadataQueryGatheringProgressNotification = @"NSMetadataQueryGatheringProgressNotification";
/* NSNetServices */
GS_DECLARE NSString* const NSNetServicesErrorCode = @"NSNetServicesErrorCode";
GS_DECLARE NSString* const NSNetServicesErrorDomain = @"NSNetServicesErrorDomain";
/* NSPersonNameComponentsFormatter */
GS_DECLARE NSString* const NSPersonNameComponentKey = @"NSPersonNameComponentKey";
GS_DECLARE NSString* const NSPersonNameComponentGivenName = @"NSPersonNameComponentGivenName";
GS_DECLARE NSString* const NSPersonNameComponentFamilyName = @"NSPersonNameComponentFamilyName";
GS_DECLARE NSString* const NSPersonNameComponentMiddleName = @"NSPersonNameComponentMiddleName";
GS_DECLARE NSString* const NSPersonNameComponentPrefix = @"NSPersonNameComponentPrefix";
GS_DECLARE NSString* const NSPersonNameComponentSuffix = @"NSPersonNameComponentSuffix";
GS_DECLARE NSString* const NSPersonNameComponentNickname = @"NSPersonNameComponentNickname";
GS_DECLARE NSString* const NSPersonNameComponentDelimiter = @"NSPersonNameComponentDelimiter";
/* NSPort */
GS_DECLARE NSString* const NSInvalidReceivePortException = @"NSInvalidReceivePortException";
GS_DECLARE NSString* const NSInvalidSendPortException = @"NSInvalidSendPortException";
GS_DECLARE NSString* const NSPortReceiveException = @"NSPortReceiveException";
GS_DECLARE NSString* const NSPortSendException = @"NSPortSendException";
GS_DECLARE NSString* const NSPortTimeoutException = @"NSPortTimeoutException";
/* NSSpellServer */
GS_DECLARE NSString* const NSGrammarRange = @"NSGrammarRange";
GS_DECLARE NSString* const NSGrammarUserDescription = @"NSGrammarUserDescription";
GS_DECLARE NSString* const NSGrammarCorrections = @"NSGrammarCorrections";
/* NSTimeZone */
GS_DECLARE NSString* const NSSystemTimeZoneDidChangeNotification = @"NSSystemTimeZoneDidChangeNotification";
/* NSURLCredentialStorage */
GS_DECLARE NSString* const NSURLCredentialStorageChangedNotification = @"NSURLCredentialStorageChangedNotification";
/* NSURLHandle */
GS_DECLARE NSString* const NSHTTPPropertyStatusCodeKey = @"NSHTTPPropertyStatusCodeKey";
GS_DECLARE NSString* const NSHTTPPropertyStatusReasonKey = @"NSHTTPPropertyStatusReasonKey";
GS_DECLARE NSString* const NSHTTPPropertyServerHTTPVersionKey = @"NSHTTPPropertyServerHTTPVersionKey";
GS_DECLARE NSString* const NSHTTPPropertyRedirectionHeadersKey = @"NSHTTPPropertyRedirectionHeadersKey";
GS_DECLARE NSString* const NSHTTPPropertyErrorPageDataKey = @"NSHTTPPropertyErrorPageDataKey";
/* NSURLHandle GNUstep extras */
GS_DECLARE NSString* const GSHTTPPropertyMethodKey = @"GSHTTPPropertyMethodKey";
GS_DECLARE NSString* const GSHTTPPropertyLocalHostKey = @"GSHTTPPropertyLocalHostKey";
GS_DECLARE NSString* const GSHTTPPropertyProxyHostKey = @"GSHTTPPropertyProxyHostKey";
GS_DECLARE NSString* const GSHTTPPropertyProxyPortKey = @"GSHTTPPropertyProxyPortKey";
GS_DECLARE NSString* const GSHTTPPropertyCertificateFileKey = @"GSHTTPPropertyCertificateFileKey";
GS_DECLARE NSString* const GSHTTPPropertyKeyFileKey = @"GSHTTPPropertyKeyFileKey";
GS_DECLARE NSString* const GSHTTPPropertyPasswordKey = @"GSHTTPPropertyPasswordKey";
/* NSURLProtectionSpace */
GS_DECLARE NSString* const NSURLProtectionSpaceFTPProxy = @"ftp";
GS_DECLARE NSString* const NSURLProtectionSpaceHTTPProxy = @"http";
GS_DECLARE NSString* const NSURLProtectionSpaceHTTPSProxy = @"https";
GS_DECLARE NSString* const NSURLProtectionSpaceSOCKSProxy = @"SOCKS";
GS_DECLARE NSString* const NSURLAuthenticationMethodDefault = @"NSURLAuthenticationMethodDefault";
GS_DECLARE NSString* const NSURLAuthenticationMethodHTMLForm = @"NSURLAuthenticationMethodHTMLForm";
GS_DECLARE NSString* const NSURLAuthenticationMethodHTTPBasic = @"NSURLAuthenticationMethodHTTPBasic";
GS_DECLARE NSString* const NSURLAuthenticationMethodHTTPDigest = @"NSURLAuthenticationMethodHTTPDigest";
GS_DECLARE NSString* const NSURLAuthenticationMethodNTLM = @"NSURLAuthenticationMethodNTLM";
GS_DECLARE NSString* const NSURLAuthenticationMethodNegotiate = @"NSURLAuthenticationMethodNegotiate";
GS_DECLARE NSString* const NSURLAuthenticationMethodClientCertificate = @"NSURLAuthenticationMethodClientCertificate";
GS_DECLARE NSString* const NSURLAuthenticationMethodServerTrust = @"NSURLAuthenticationMethodServerTrust";
/* NSUserNotification */
GS_DECLARE NSString* const NSUserNotificationDefaultSoundName = @"NSUserNotificationDefaultSoundName";
/* NSStream+GNUstepBase */
GS_DECLARE NSString* const GSStreamLocalAddressKey = @"GSStreamLocalAddressKey";
GS_DECLARE NSString* const GSStreamLocalPortKey = @"GSStreamLocalPortKey";
GS_DECLARE NSString* const GSStreamRemoteAddressKey = @"GSStreamRemoteAddressKey";
GS_DECLARE NSString* const GSStreamRemotePortKey = @"GSStreamRemotePortKey";
/* NSError */
GS_DECLARE NSString* const NSFilePathErrorKey = @"NSFilePath";
GS_DECLARE NSString* const NSLocalizedDescriptionKey = @"NSLocalizedDescriptionKey";
GS_DECLARE NSString* const NSStringEncodingErrorKey = @"NSStringEncodingErrorKey";
GS_DECLARE NSString* const NSURLErrorKey = @"NSURLErrorKey";
GS_DECLARE NSString* const NSUnderlyingErrorKey = @"NSUnderlyingErrorKey";
GS_DECLARE NSString* const NSLocalizedFailureReasonErrorKey = @"NSLocalizedFailureReasonErrorKey";
GS_DECLARE NSString* const NSLocalizedRecoveryOptionsErrorKey = @"NSLocalizedRecoveryOptionsErrorKey";
GS_DECLARE NSString* const NSLocalizedRecoverySuggestionErrorKey = @"NSLocalizedRecoverySuggestionErrorKey";
GS_DECLARE NSString* const NSRecoveryAttempterErrorKey = @"NSRecoveryAttempterErrorKey";
GS_DECLARE NSString* const NSURLErrorFailingURLErrorKey = @"NSErrorFailingURLKey";
GS_DECLARE NSString* const NSURLErrorFailingURLStringErrorKey = @"NSErrorFailingURLStringKey";
GS_DECLARE NSErrorDomain const NSMACHErrorDomain = @"NSMACHErrorDomain";
GS_DECLARE NSErrorDomain const NSOSStatusErrorDomain = @"NSOSStatusErrorDomain";
GS_DECLARE NSErrorDomain const NSPOSIXErrorDomain = @"NSPOSIXErrorDomain";
GS_DECLARE NSErrorDomain const NSCocoaErrorDomain = @"NSCocoaErrorDomain";
/* NSExtensionContext */
GS_DECLARE NSString* const NSExtensionItemsAndErrorsKey = @"NSExtensionItemsAndErrorsKey";
GS_DECLARE NSString* const NSExtensionHostWillEnterForegroundNotification = @"NSExtensionHostWillEnterForegroundNotification";
GS_DECLARE NSString* const NSExtensionHostDidEnterBackgroundNotification = @"NSExtensionHostDidEnterBackgroundNotification";
GS_DECLARE NSString* const NSExtensionHostWillResignActiveNotification = @"NSExtensionHostWillResignActiveNotification";
GS_DECLARE NSString* const NSExtensionHostDidBecomeActiveNotification = @"NSExtensionHostDidBecomeActiveNotification";
/* NSInvocationOperation */
GS_DECLARE NSString* const NSInvocationOperationVoidResultException = @"NSInvocationOperationVoidResultException";
GS_DECLARE NSString* const NSInvocationOperationCancelledException = @"NSInvcationOperationCancelledException";
/* NSXMLParser */
GS_DECLARE NSString* const NSXMLParserErrorDomain = @"NSXMLParserErrorDomain";