Foundation Constants

Overview

This document defines constants in the Foundation framework that are not associated with a particular class.

Symbols

Enumerations

NSByteOrder

Specifies an byte-order format.

NSNotFound

Defines a value that indicates that an item requested couldn’t be found or doesn’t exist.

Memory Allocation

These constants are used as components in a bitfield to specify the behavior of NSAllocateCollectable and NSReallocateCollectable.

NSEnumerationOptions

Options for Block enumeration operations.

NSComparisonResult

These constants are used to indicate how items in a request are ordered.

NSSortOptions

Options for Block sorting operations.

NSQualityOfService

Used to indicate the nature and importance of work to the system. Work with higher quality of service classes receive more resources than work with lower quality of service classes whenever there is resource contention.

NSSearchPathDirectory

These constants specify the location of a variety of directories by the URLsForDirectory:inDomains: and URLForDirectory:inDomain:appropriateForURL:create:error: NSFileManager methods.

NSSearchPathDomainMask

Search path domain constants specifying base locations for the NSSearchPathDirectory type. These constants are used by the URLsForDirectory:inDomains: and URLForDirectory:inDomain:appropriateForURL:create:error: NSFileManager methods.

NSError Codes

NSError codes in the Cocoa error domain.

URL Loading System Error Codes

These values are returned as the error code property of an NSError object with the domain “NSURLErrorDomain”.

iCloud Error Codes

These error codes are used by error objects associated with the NSURLUbiquitousItemDownloadingErrorKey on an NSURL object when an iCloud-related error occurs.

XPC Errors

Errors returned by XPC connections. Note that these are not currently available on iOS.

Global Variables

Cocoa Error Domain

These constants defines the Cocoa error domain.

NSHashTable Callbacks

Predefined sets of callbacks for NSHashTable.

NSMapTable Key Call Backs

Predefined sets of callbacks for NSMapTable keys.

NSMapTable Value Callbacks

These are predefined sets of callbacks for NSMapTable values.

NSURL Domain

This error domain is defined for NSURL.

Zero Constants

These constants are defined as conveniences and can be used to compare with return values from functions.

Geometric Alignment

NSAlignmentOptions

These constants are used by the NSIntegralRectWithOptions function and other related methods, such as backingAlignedRect:options:.

Minimum and Maximum Edges

Defines the minimum and maximum edge constants.

Numeric Constants

NSDecimal Constants

Constants used by NSDecimal.

NSMapTable Constants

Constants used by NSMapTable.

NSInteger and NSUInteger Maximum and Minimum Values

Constants representing the maximum and minimum values of NSInteger and NSUInteger.

Notifications

Java Setup Notification Names

Notifications sent by the Java bridge to registered observers when a virtual machine is created and initialized.

Exceptions

General Exception Names

Exceptions defined by NSException.

Version Numbers

Foundation Version Number

Version of the Foundation framework in the current environment.

Foundation Framework Version Numbers

Constants to define Foundation Framework version numbers.

Constants

NSCalendarIdentifierISO8601

Identifier for the ISO8601 calendar.

NSAMPMDesignation

Key for the value that specifies how the morning and afternoon designations are printed, affecting strings that use the %p format specifier.

Deprecated
NSAppleEventManagerWillProcessFirstEventNotification

Posted by NSAppleEventManager before it first dispatches an Apple event. Your application can use this notification to avoid registering any Apple event handlers until the first time at which they may be needed.

NSAppleEventTimeOutDefault

Specifies that an event-processing operation should continue until a timeout occurs based on a value determined by the Apple Event Manager (about 1 minute). Not currently used by applications.

NSAppleEventTimeOutNone

Specifies that the application is willing to wait indefinitely for the current operation to complete. Not currently used by applications.

NSAssertionHandlerKey
NSBuddhistCalendar

Identifier for the Buddhist calendar.

Deprecated
NSBundleResourceRequestLoadingPriorityUrgent
NSBundleResourceRequestLowDiskSpaceNotification

Posted after the system detects that the amount of available disk space is getting low. The notification is posted to the default notification center.

NSCalendarDayChangedNotification

Posted whenever the calendar day of the system changes, as determined by the system calendar, locale, and time zone. This notification does not provide an object.

NSChineseCalendar

Identifier for the Chinese calendar.

Deprecated
NSClassDescriptionNeededForClassNotification

Posted by classDescriptionForClass: when a class description cannot be found for a class.

NSConnectionDidDieNotification

Posted when an NSConnection object is deallocated or when it’s notified that its NSPort object has become invalid. The notification object is the NSConnection object. This notification does not contain a userInfo dictionary.

NSConnectionDidInitializeNotification

Posted when an NSConnection object is initialized using initWithReceivePort:sendPort: (the designated initializer for NSConnection). The notification object is the NSConnection object. This notification does not contain a userInfo dictionary.

NSConnectionReplyMode

The mode to indicate an NSConnection object waiting for replies.

NSCurrencySymbol

A string that specifies the symbol used to denote currency in this language.

Deprecated
NSDateFormatString

Key for the format string that specifies how how dates are printed using the date format specifiers.

Deprecated
NSDateTimeOrdering

Key for the string that specifies how to use ambiguous numbers in date strings.

Deprecated
NSDeallocateZombiesNSDebugEnabled
NSDecimalDigits

Strings that identify the decimal digits in addition to or instead of the ASCII digits.

Deprecated
NSDecimalSeparator

A string that specifies the decimal separator.

Deprecated
NSEarlierTimeDesignations

Key for an array of strings that denote a time in the past.

Deprecated
NSEdgeInsetsZero
NSErrorFailingURLStringKey

The corresponding value is the URL that caused the error. This key is only present in the NSURLErrorDomain.

Deprecated
NSExtensionHostDidBecomeActiveNotification

Posted when the extension’s host app moves from the inactive to the active state.

NSExtensionHostDidEnterBackgroundNotification

Posted when the extension’s host app begins running in the background.

NSExtensionHostWillEnterForegroundNotification

Posted when the extension’s host app begins running in the foreground.

NSExtensionHostWillResignActiveNotification

Posted when the extension’s host app moves from the active to the inactive state.

NSExtensionItemAttachmentsKey

An optional array of media data associated with the extension item.

NSExtensionItemAttributedContentTextKey

An optional string describing the extension item content.

NSExtensionItemAttributedTitleKey

An optional title of the extension item.

NSExtensionItemsAndErrorsKey
NSExtensionJavaScriptFinalizeArgumentKey

A key whose value is an item of type kUTTypePropertyList. The item contains an NSDictionary that contains the arguments to be passed to a JavaScript finalize method.

NSExtensionJavaScriptPreprocessingResultsKey

A key whose value is an item of type kUTTypePropertyList. The item contains an NSDictionary that contains the object returned by the JavaScript code to its completion function.

NSFTPPropertyActiveTransferModeKey

Key for retrieving whether in active transfer mode, returned as a boolean wrapped in an NSNumber object.

Deprecated
NSFTPPropertyFTPProxy

NSDictionary containing proxy information to use in place of proxy identified in SystemConfiguration.framework.

Deprecated
NSFTPPropertyFileOffsetKey

Key for retrieving the file offset, returned as an NSNumber object. The default value for this key is zero.

Deprecated
NSFTPPropertyUserLoginKey

Key for the user login, returned as an NSString object.

Deprecated
NSFTPPropertyUserPasswordKey

Key for the user password, returned as an NSString object.

Deprecated
NSFailedAuthenticationException

Raised by NSConnection on receipt of a remote message the delegate doesn’t authenticate.

NSFileHandleConnectionAcceptedNotification

This notification is posted when an NSFileHandle object establishes a socket connection between two processes, creates an NSFileHandle object for one end of the connection, and makes this object available to observers by putting it in the userInfo dictionary.

NSFileHandleDataAvailableNotification

This notification is posted when the file handle determines that data is currently available for reading in a file or at a communications channel.

NSFileHandleNotificationMonitorModes

Currently unused.

Deprecated
NSFileHandleReadToEndOfFileCompletionNotification

This notification is posted when the file handle reads all data in the file or, if a communications channel, until the other process signals the end of data.

NSGrammarCorrections

The value for the NSGrammarCorrections key should be an NSArray of NSStrings representing potential substitutions to correct the problem, but it is expected that this may not be available in all cases. NSGrammarUserDescription or NSGrammarCorrections must be supplied in order for correction guidance to be presented to the user.

NSGrammarRange

The value for the NSGrammarRange dictionary key should be an NSValue containing an NSRange, a subrange of the sentence range used as the return value, whose location should be an offset from the beginning of the sentence--so, for example, an NSGrammarRange for the first four characters of the overall sentence range should be {0, 4}. If the NSGrammarRange key is not present in the dictionary it is assumed to be equal to the overall sentence range.

NSGrammarUserDescription

The value for the NSGrammarUserDescription dictionary key should be an NSString containing descriptive text about that range, to be presented directly to the user; it is intended that the user description should provide enough information to allow the user to correct the problem. It is recommended that NSGrammarUserDescription be supplied in all cases, however, NSGrammarUserDescription or NSGrammarCorrections must be supplied in order for correction guidance to be presented to the user.

NSGregorianCalendar

Identifier for the Gregorian calendar.

Deprecated
NSHTTPCookieManagerAcceptPolicyChangedNotification

This notification is posted when the acceptance policy of the NSHTTPCookieStorage instance has changed.

NSHTTPCookieManagerCookiesChangedNotification

This notification is posted when the cookies stored in the NSHTTPCookieStorage instance have changed.

NSHTTPPropertyErrorPageDataKey

Key for retrieving an error page as an NSData object.

Deprecated
NSHTTPPropertyHTTPProxy

Key for retrieving the NSDictionary object containing proxy information to use in place of proxy identified in SystemConfiguration.framework.

Deprecated
NSHTTPPropertyRedirectionHeadersKey

Key for retrieving the redirection headers as an NSDictionary object with each header value keyed to the header name.

Deprecated
NSHTTPPropertyServerHTTPVersionKey

Key for retrieving the HTTP version as an NSString object containing the initial server status line up to the first space.

Deprecated
NSHTTPPropertyStatusCodeKey

Key for the status code, returned as an integer wrapped in an NSNumber object.

Deprecated
NSHTTPPropertyStatusReasonKey

Key for the remainder of the HTTP status line following the status code, returned as an NSString object.

Deprecated
NSHashTableWeakMemory

Equal to NSPointerFunctionsWeakMemory. Uses weak read and write barriers appropriate for ARC or GC. Using NSPointerFunctionsWeakMemory object references will turn to NULL on last release.

NSHashTableZeroingWeakMemory

This option has been deprecated. Instead use the NSHashTableWeakMemory option. Equal to NSPointerFunctionsZeroingWeakMemory.

Deprecated
NSHebrewCalendar

Identifier for the Hebrew calendar.

Deprecated
NSHourNameDesignations

Key for strings that identify the time of day.

Deprecated
NSISO8601Calendar

Identifier for the ISO8601 calendar.

Deprecated
NSIndianCalendar

Identifier for the Indian calendar.

Deprecated
NSInternationalCurrencyString

A string containing a three-letter abbreviation for currency, following the ISO 4217 standard.

Deprecated
NSIslamicCalendar

Identifier for the Islamic calendar.

Deprecated
NSIslamicCivilCalendar

Identifier for the Islamic civil calendar.

Deprecated
NSItemProviderPreferredImageSizeKey

A key specifying the dimensions of an image in pixels. The value of this key is an NSValue object containing a CGSize or NSSize data type.

NSJapaneseCalendar

Identifier for the Japanese calendar.

Deprecated
NSKeepAllocationStatistics
NSKeyedArchiveRootObjectKey

Archives created using the class method archivedDataWithRootObject: use this key for the root object in the hierarchy of encoded objects. The NSKeyedUnarchiver class method unarchiveObjectWithData: looks for this root key as well.

NSLaterTimeDesignations

Key for an array of strings that denote a time in the future.

Deprecated
NSLinguisticTagAdjective

This token is an adjective

NSLinguisticTagAdverb

This token is an adverb.

NSLinguisticTagClassifier

This token is a classifier.

NSLinguisticTagCloseParenthesis

This token is a close parenthesis.

NSLinguisticTagCloseQuote

This token is a close quote.

NSLinguisticTagConjunction

This token is a conjunction.

NSLinguisticTagDash

This token is a dash.

NSLinguisticTagDeterminer

This token is a determiner.

NSLinguisticTagIdiom

This token is an idiom.

NSLinguisticTagInterjection

This token is an interjection.

NSLinguisticTagNoun

The token is a noun.

NSLinguisticTagNumber

This token is a number.

NSLinguisticTagOpenParenthesis

This token is an open parenthesis.

NSLinguisticTagOpenQuote

This token is an open quote.

NSLinguisticTagOrganizationName

This token is an organization name.

NSLinguisticTagOther

The token indicates a token other than those currently defined.

NSLinguisticTagOtherPunctuation

This token is punctuation not recognized as another token type.

NSLinguisticTagOtherWhitespace

This token is whitespace.

NSLinguisticTagOtherWord

This token is some other word.

NSLinguisticTagParagraphBreak

This token is a paragraph break.

NSLinguisticTagParticle

This token is a particle.

NSLinguisticTagPersonalName

This token is a personal name.

NSLinguisticTagPlaceName

This token is a place name.

NSLinguisticTagPreposition

This token is a preposition.

NSLinguisticTagPronoun

This token is a pronoun.

NSLinguisticTagPunctuation

The token indicates punctuation.

NSLinguisticTagSchemeLanguage

This tag scheme tags tokens according to their script. The tag values will be standard language abbreviations such as “en”, “fr”, “de”, etc., as used with the NSOrthography class. Note that the tagger generally attempts to determine the language of text at the level of an entire sentence or paragraph, rather than word by word.

NSLinguisticTagSchemeLemma

This tag scheme supplies a stem forms of the words, if known.

NSLinguisticTagSchemeLexicalClass

This tag scheme classifies tokens according to class: part of speech for words, type of punctuation or whitespace, etc. The value will be one of the constants specified in NSLinguisticTagSchemeLexicalClass. For this scheme a client may use pointer equality to compare the values with the tag constants.

NSLinguisticTagSchemeNameType

This tag scheme classifies tokens as to whether they are part of named entities of various types or not. The possible tags are: NSLinguisticTagPersonalName, NSLinguisticTagPlaceName, or NSLinguisticTagOrganizationName. For this scheme a client may use pointer equality to compare the values with the tag constants.

NSLinguisticTagSchemeNameTypeOrLexicalClass

This tag scheme follows NSLinguisticTagSchemeNameType for names, NSLinguisticTagSchemeLexicalClass for all other tokens. The possible tags are those specified in NSLinguisticTagSchemeLexicalClass or NSLinguisticTagSchemeNameType. For this scheme a client may use pointer equality to compare the values with the tag constants.

NSLinguisticTagSchemeScript

This tag scheme tags tokens according to their script. The tag values will be standard script abbreviations such as “Latn”, “Cyrl”, “Jpan”, “Hans”, “Hant”, etc.

NSLinguisticTagSchemeTokenType

This tag scheme classifies tokens according to their broad type: word, punctuation, whitespace, etc. The possible tags are: NSLinguisticTagWord, NSLinguisticTagPunctuation, NSLinguisticTagWhitespace, or NSLinguisticTagOther. For this scheme a client may use pointer equality to compare the values with the tag constants.

NSLinguisticTagSentenceTerminator

This token is a sentence terminator.

NSLinguisticTagVerb

This token is a verb.

NSLinguisticTagWhitespace

The token indicates white space of any sort.

NSLinguisticTagWord

The token indicates a word.

NSLinguisticTagWordJoiner

This token is a word joiner.

NSLoadedClasses

An NSArray object containing the names (as NSString objects) of each class that was loaded

NSMapTableCopyInNSMapTableObjectPointerPersonalityNSMapTableStrongMemoryNSMapTableWeakMemoryNSMetadataItemAcquisitionMakeKeyNSMetadataItemAcquisitionModelKeyNSMetadataItemAlbumKeyNSMetadataItemAltitudeKeyNSMetadataItemApertureKeyNSMetadataItemAppleLoopDescriptorsKeyNSMetadataItemAppleLoopsKeyFilterTypeKeyNSMetadataItemAppleLoopsLoopModeKeyNSMetadataItemAppleLoopsRootKeyKeyNSMetadataItemApplicationCategoriesKeyNSMetadataItemAttributeChangeDateKeyNSMetadataItemAudiencesKeyNSMetadataItemAudioBitRateKeyNSMetadataItemAudioChannelCountKeyNSMetadataItemAudioEncodingApplicationKeyNSMetadataItemAudioSampleRateKeyNSMetadataItemAudioTrackNumberKeyNSMetadataItemAuthorAddressesKeyNSMetadataItemAuthorEmailAddressesKeyNSMetadataItemAuthorsKeyNSMetadataItemBitsPerSampleKeyNSMetadataItemCFBundleIdentifierKeyNSMetadataItemCameraOwnerKeyNSMetadataItemCityKeyNSMetadataItemCodecsKeyNSMetadataItemColorSpaceKeyNSMetadataItemCommentKeyNSMetadataItemComposerKeyNSMetadataItemContactKeywordsKeyNSMetadataItemContentCreationDateKeyNSMetadataItemContentModificationDateKeyNSMetadataItemContentTypeKeyNSMetadataItemContentTypeTreeKeyNSMetadataItemContributorsKeyNSMetadataItemCopyrightKeyNSMetadataItemCountryKeyNSMetadataItemCoverageKeyNSMetadataItemCreatorKeyNSMetadataItemDateAddedKeyNSMetadataItemDeliveryTypeKeyNSMetadataItemDescriptionKeyNSMetadataItemDirectorKeyNSMetadataItemDisplayNameKeyNSMetadataItemDownloadedDateKeyNSMetadataItemDueDateKeyNSMetadataItemDurationSecondsKeyNSMetadataItemEXIFGPSVersionKeyNSMetadataItemEXIFVersionKeyNSMetadataItemEditorsKeyNSMetadataItemEmailAddressesKeyNSMetadataItemEncodingApplicationsKeyNSMetadataItemExecutableArchitecturesKeyNSMetadataItemExecutablePlatformKeyNSMetadataItemExposureModeKeyNSMetadataItemExposureProgramKeyNSMetadataItemExposureTimeSecondsKeyNSMetadataItemExposureTimeStringKeyNSMetadataItemFNumberKeyNSMetadataItemFSContentChangeDateKeyNSMetadataItemFSCreationDateKeyNSMetadataItemFSNameKeyNSMetadataItemFSSizeKeyNSMetadataItemFinderCommentKeyNSMetadataItemFlashOnOffKeyNSMetadataItemFocalLength35mmKeyNSMetadataItemFocalLengthKeyNSMetadataItemFontsKeyNSMetadataItemGPSAreaInformationKeyNSMetadataItemGPSDOPKeyNSMetadataItemGPSDateStampKeyNSMetadataItemGPSDestBearingKeyNSMetadataItemGPSDestDistanceKeyNSMetadataItemGPSDestLatitudeKeyNSMetadataItemGPSDestLongitudeKeyNSMetadataItemGPSDifferentalKeyNSMetadataItemGPSMapDatumKeyNSMetadataItemGPSMeasureModeKeyNSMetadataItemGPSProcessingMethodKeyNSMetadataItemGPSStatusKeyNSMetadataItemGPSTrackKeyNSMetadataItemGenreKeyNSMetadataItemHasAlphaChannelKeyNSMetadataItemHeadlineKeyNSMetadataItemISOSpeedKeyNSMetadataItemIdentifierKeyNSMetadataItemImageDirectionKeyNSMetadataItemInformationKeyNSMetadataItemInstantMessageAddressesKeyNSMetadataItemInstructionsKeyNSMetadataItemIsApplicationManagedKeyNSMetadataItemIsGeneralMIDISequenceKeyNSMetadataItemIsLikelyJunkKeyNSMetadataItemIsUbiquitousKeyNSMetadataItemKeySignatureKeyNSMetadataItemKeywordsKeyNSMetadataItemKindKeyNSMetadataItemLanguagesKeyNSMetadataItemLastUsedDateKeyNSMetadataItemLatitudeKeyNSMetadataItemLayerNamesKeyNSMetadataItemLensModelKeyNSMetadataItemLongitudeKeyNSMetadataItemLyricistKeyNSMetadataItemMaxApertureKeyNSMetadataItemMediaTypesKeyNSMetadataItemMeteringModeKeyNSMetadataItemMusicalGenreKeyNSMetadataItemMusicalInstrumentCategoryKeyNSMetadataItemMusicalInstrumentNameKeyNSMetadataItemNamedLocationKeyNSMetadataItemNumberOfPagesKeyNSMetadataItemOrganizationsKeyNSMetadataItemOrientationKeyNSMetadataItemOriginalFormatKeyNSMetadataItemOriginalSourceKeyNSMetadataItemPageHeightKeyNSMetadataItemPageWidthKeyNSMetadataItemParticipantsKeyNSMetadataItemPathKeyNSMetadataItemPerformersKeyNSMetadataItemPhoneNumbersKeyNSMetadataItemPixelCountKeyNSMetadataItemPixelHeightKeyNSMetadataItemPixelWidthKeyNSMetadataItemProducerKeyNSMetadataItemProfileNameKeyNSMetadataItemProjectsKeyNSMetadataItemPublishersKeyNSMetadataItemRecipientAddressesKeyNSMetadataItemRecipientEmailAddressesKeyNSMetadataItemRecipientsKeyNSMetadataItemRecordingDateKeyNSMetadataItemRecordingYearKeyNSMetadataItemRedEyeOnOffKeyNSMetadataItemResolutionHeightDPIKeyNSMetadataItemResolutionWidthDPIKeyNSMetadataItemRightsKeyNSMetadataItemSecurityMethodKeyNSMetadataItemSpeedKeyNSMetadataItemStarRatingKeyNSMetadataItemStateOrProvinceKeyNSMetadataItemStreamableKeyNSMetadataItemSubjectKeyNSMetadataItemTempoKeyNSMetadataItemTextContentKeyNSMetadataItemThemeKeyNSMetadataItemTimeSignatureKeyNSMetadataItemTimestampKeyNSMetadataItemTitleKeyNSMetadataItemTotalBitRateKeyNSMetadataItemURLKeyNSMetadataItemVersionKeyNSMetadataItemVideoBitRateKeyNSMetadataItemWhereFromsKeyNSMetadataItemWhiteBalanceKey
NSMetadataQueryAccessibleUbiquitousExternalDocumentsScope

Search for documents outside the app’s container. This search can locate iCloud documents that the user previously opened using a document picker view controller. This lets your app access the documents again without requiring direct user interaction. The result’s NSMetadataItemURLKey attributes return security-scoped NSURLs. For more information on working with security-scoped URLs, see Security-Scoped URLs in NSURL.

NSMetadataQueryDidFinishGatheringNotification

Posted when the receiver has finished with the initial result-gathering phase of the query.

NSMetadataQueryDidStartGatheringNotification

Posted when the receiver begins with the initial result-gathering phase of the query.

NSMetadataQueryDidUpdateNotification

Posted when the receiver’s results have changed during the live-update phase of the query.

NSMetadataQueryGatheringProgressNotification

Posted as the receiver is collecting results during the initial result-gathering phase of the query.

NSMetadataQueryIndexedLocalComputerScope

Search all indexed local mounted volumes including the current user’s home directory (even if the home directory is remote).

NSMetadataQueryIndexedNetworkScope

Search all indexed user-mounted remote volumes.

NSMetadataQueryLocalComputerScope

Search all local mounted volumes, including the user home directory. The user’s home directory is searched even if it is a remote volume.

NSMetadataQueryNetworkScope

Search all user-mounted remote volumes.

NSMetadataQueryResultContentRelevanceAttribute
NSMetadataQueryUbiquitousDataScope

Search all files not in the Documents directories of the app’s iCloud container directories.

NSMetadataQueryUbiquitousDocumentsScope

Search all files in the Documents directories of the app’s iCloud container directories.

NSMetadataQueryUpdateAddedItemsKey

The key for retrieving an array of items added to the query result. By default, this array contains NSMetadataItem objects, representing the query’s results; however, the query’s delegate can substitute these objects with instances of a different class.

NSMetadataQueryUpdateChangedItemsKey

The key for retrieving an array of items that have changed in the query result. By default, this array contains NSMetadataItem objects, representing the query’s results; however, the query’s delegate can substitute these objects with instances of a different class.

NSMetadataQueryUpdateRemovedItemsKey

The key for retrieving an array of items removed from the query result. By default, this array contains NSMetadataItem objects, representing the query’s results; however, the query’s delegate can substitute these objects with instances of a different class.

NSMetadataQueryUserHomeScope

Search the user’s home directory.

NSMetadataUbiquitousItemContainerDisplayNameKeyNSMetadataUbiquitousItemDownloadRequestedKeyNSMetadataUbiquitousItemDownloadingErrorKeyNSMetadataUbiquitousItemDownloadingStatusCurrentNSMetadataUbiquitousItemDownloadingStatusDownloadedNSMetadataUbiquitousItemDownloadingStatusKeyNSMetadataUbiquitousItemDownloadingStatusNotDownloadedNSMetadataUbiquitousItemHasUnresolvedConflictsKeyNSMetadataUbiquitousItemIsDownloadingKeyNSMetadataUbiquitousItemIsExternalDocumentKeyNSMetadataUbiquitousItemIsUploadedKeyNSMetadataUbiquitousItemIsUploadingKeyNSMetadataUbiquitousItemPercentDownloadedKeyNSMetadataUbiquitousItemPercentUploadedKeyNSMetadataUbiquitousItemURLInLocalContainerKeyNSMetadataUbiquitousItemUploadingErrorKey
NSMonthNameArray

Key for the value that specifies the names for the months, affecting strings that use the %B format specifier.

Deprecated
NSNegativeCurrencyFormatString

A format string that specifies how negative numbers are printed when representing a currency value.

Deprecated
NSNextDayDesignations

Key for an array of strings that denote the day after today.

Deprecated
NSNextNextDayDesignations

Key for an array of strings that denote the day after tomorrow.

Deprecated
NSNotFoundNSNotificationDeliverImmediatelyNSNotificationPostToAllSessions
NSOSStatusErrorDomain

Mac OS 9/Carbon errors

NSPOSIXErrorDomain

POSIX/BSD errors

NSPersianCalendar

Identifier for the Persian calendar.

Deprecated
NSPersonNameComponentDelimiterNSPersonNameComponentFamilyNameNSPersonNameComponentGivenNameNSPersonNameComponentKeyNSPersonNameComponentMiddleNameNSPersonNameComponentNicknameNSPersonNameComponentPrefixNSPersonNameComponentSuffix
NSPositiveCurrencyFormatString

A format string that specifies how positive numbers are printed when representing a currency value.

Deprecated
NSPriorDayDesignations

Key for an array of strings that denote the day before today.

Deprecated
NSProcessInfoPowerStateDidChangeNotification

Posted when the power state (Low Power Mode is enabled or disabled) of an iOS device changes.

NSRepublicOfChinaCalendar

Identifier for the Republic of China (Taiwan) calendar.

Deprecated
NSShortDateFormatString

Key for a format string that specifies how dates are abbreviated.

Deprecated
NSShortMonthNameArray

Key for an array of strings that specify the abbreviations for the months, affecting strings that use the %b format specifier.

Deprecated
NSShortTimeDateFormatString

Key for a format string that specifies how times and dates are abbreviated.

Deprecated
NSShortWeekDayNameArray

Key for an array of strings that specify the abbreviations for the days of the week, affecting strings that use the %a format specifier.

Deprecated
NSStreamSOCKSErrorDomain

The error domain used by NSError when reporting SOCKS errors.

NSStreamSocketSSLErrorDomain

The error domain used by NSError when reporting SSL errors.

NSSystemClockDidChangeNotification

Posted whenever the system clock is changed. This can be initiated by a call to settimeofday() or the user changing values in the Date and Time Preference panel.

NSSystemTimeZoneDidChangeNotification

Sent when the time zone changed.

NSTextCheckingAirlineKey

A key that corresponds to the airline of a transit result.

NSTextCheckingCityKey

A key that corresponds to the city component of the address.

NSTextCheckingCountryKey

A key that corresponds to the country component of the address.

NSTextCheckingFlightKey

A key that corresponds to the flight component of a transit result.

NSTextCheckingJobTitleKey

A key that corresponds to the job component of the address.

NSTextCheckingNameKey

A key that corresponds to the name component of the address.

NSTextCheckingOrganizationKey

A key that corresponds to the organization component of the address.

NSTextCheckingPhoneKey

A key that corresponds to the phone number component of the address.

NSTextCheckingStateKey

A key that corresponds to the state or province component of the address.

NSTextCheckingStreetKey

A key that corresponds to the street address component of the address.

NSTextCheckingZIPKey

A key that corresponds to the zip code or postal code component of the address.

NSThisDayDesignations

Key for an array of strings that specify what this day is called.

Deprecated
NSThousandsSeparator

A string that specifies the separator character for the thousands place of a decimal number.

Deprecated
NSThreadWillExitNotification

An NSThread object posts this notification when it receives the exit message, before the thread exits. Observer methods invoked to receive this notification execute in the exiting thread, before it exits.

NSThumbnail1024x1024SizeKey

A 1024 x 1024 pixel thumbnail as a UIImage on iOS or an NSImage in macOS.

NSTimeDateFormatString

Key for the value that specifies how dates with times are printed, affecting strings that use the format specifiers %c, %X, or %x.

Deprecated
NSTimeFormatString

Key for a format string that specifies how dates with times are printed.

Deprecated
NSURLAuthenticationMethodClientCertificate

Use client certificate authentication for this protection space.

NSURLAuthenticationMethodDefault

Use the default authentication method for a protocol.

NSURLAuthenticationMethodHTMLForm

Use HTML form authentication for this protection space.

NSURLAuthenticationMethodHTTPBasic

Use HTTP basic authentication for this protection space.

NSURLAuthenticationMethodHTTPDigest

Use HTTP digest authentication for this protection space.

NSURLAuthenticationMethodNTLM

Use NTLM authentication for this protection space.

NSURLAuthenticationMethodNegotiate

Negotiate whether to use Kerberos or NTLM authentication for this protection space.

NSURLAuthenticationMethodServerTrust

Perform server trust authentication (certificate validation) for this protection space.

NSURLCredentialStorageChangedNotification

This notification is posted when the set of stored credentials changes.

NSURLCredentialStorageRemoveSynchronizableCredentials

The corresponding value is an NSNumber object representing a Boolean value that indicates whether credentials which contain the NSURLCredentialPersistenceSynchronizable attribute should be removed.

NSURLErrorBackgroundTaskCancelledReasonKey

An NSNumber value indicating why a background task was cancelled. For a list of possible values, see NSURLSession-Specific NSError userInfo Dictionary Keys.

NSURLErrorFailingURLErrorKey

The corresponding value is an NSURL containing the URL which caused a load to fail. This key is only present in the NSURLErrorDomain.

NSURLErrorFailingURLPeerTrustErrorKey

The corresponding value is the SecTrustRef object representing the state of a failed SSL handshake. This key is only present in the NSURLErrorDomain.

NSURLErrorFailingURLStringErrorKey

The corresponding value is an NSString object for the URL which caused a load to fail. This key is only present in the NSURLErrorDomain.

NSURLErrorKey

The corresponding value is an NSURL object.

NSURLFileScheme

Identifies a URL that points to a file on a mounted volume.

NSURLProtectionSpaceFTP

The protocol type for FTP.

NSURLProtectionSpaceFTPProxy

The proxy type for FTP proxies.

NSURLProtectionSpaceHTTP

The protocol type for HTTP.

NSURLProtectionSpaceHTTPProxy

The proxy type for HTTP proxies.

NSURLProtectionSpaceHTTPS

The protocol type for HTTPS.

NSURLProtectionSpaceHTTPSProxy

The proxy type for HTTPS proxies.

NSURLProtectionSpaceSOCKSProxy

The proxy type for SOCKS proxies.

NSURLSessionDownloadTaskResumeData

A key in the error dictionary that provides resume data.

NSURLSessionTransferSizeUnknown

The total size of the transfer cannot be determined.

NSUbiquitousKeyValueStoreChangeReasonKeyNSUbiquitousKeyValueStoreChangedKeysKey
NSUbiquityIdentityDidChangeNotification

Sent after the iCloud (“ubiquity”) identity has changed.

NSUndoCloseGroupingRunLoopOrdering
NSUndoManagerCheckpointNotification

Posted whenever an NSUndoManager object opens or closes an undo group (except when it opens a top-level group) and when checking the redo stack in canRedo.

NSUndoManagerDidCloseUndoGroupNotification

Posted after an NSUndoManager object closes an undo group, which occurs in the implementation of the endUndoGrouping method.

NSUndoManagerDidOpenUndoGroupNotification

Posted whenever an NSUndoManager object opens an undo group, which occurs in the implementation of the beginUndoGrouping method.

NSUndoManagerDidRedoChangeNotification

Posted just after an NSUndoManager object performs a redo operation (redo).

NSUndoManagerDidUndoChangeNotification

Posted just after an NSUndoManager object performs an undo operation.

NSUndoManagerGroupIsDiscardableKey
NSUndoManagerWillCloseUndoGroupNotification

Posted before an NSUndoManager object closes an undo group, which occurs in the implementation of the endUndoGrouping method.

NSUndoManagerWillRedoChangeNotification

Posted just before an NSUndoManager object performs a redo operation (redo).

NSUndoManagerWillUndoChangeNotification

Posted just before an NSUndoManager object performs an undo operation.

NSUserActivityTypeBrowsingWeb
NSUserNotificationDefaultSoundName

The default notification sound.

NSWeekDayNameArray

Key for an array of strings that specify the names for the days of the week, affecting strings that use the %A format specifier.

Deprecated
NSWillBecomeMultiThreadedNotification

Posted when the first thread is detached from the current thread. The NSThread class posts this notification at most once—the first time a thread is detached using detachNewThreadSelector:toTarget:withObject: or the start method. Subsequent invocations of those methods do not post this notification. Observers of this notification have their notification method invoked in the main thread, not the new thread. The observer notification methods always execute before the new thread begins executing.

NSYearMonthWeekDesignations

Key for an array of strings that specify the words for year, month, and week in the current locale.

Deprecated
NSZombieEnabled
NSURLAddedToDirectoryDateKey

The time at which the resource’s was created or renamed into or within its parent directory, returned as an NSDate. Inconsistent behavior may be observed when this attribute is requested on hard-linked items. This property is not supported by all volumes. (read-only)

NSStringEncodingDetectionAllowLossyKey
NSLocaleAlternateQuotationBeginDelimiterKey

The key for the alternating begin quotation symbol associated with the locale.

NSLocaleAlternateQuotationEndDelimiterKey

The key for the alternate end quotation symbol associated with the locale.

NSFileAppendOnly

The key in a file attribute dictionary whose value indicates whether the file is read-only.

NSURLApplicationIsScriptableKey
NSArgumentDomain

The domain consisting of defaults parsed from the application’s arguments. These are one or more pairs of the form -default value included in the command-line invocation of the application.

NSURLAttributeModificationDateKey

The time at which the resource’s attributes were most recently modified, returned as an NSDate object if the volume supports attribute modification dates, or nil if attribute modification dates are unsupported (read-only).

NSStreamNetworkServiceTypeBackground

Specifies that the stream is providing a background service.

NSURLFileResourceTypeBlockSpecial

The resource is a block special file.

NSCalendarIdentifierBuddhist

Identifier for the Buddhist calendar.

NSFileBusy

The key in a file attribute dictionary whose value indicates whether the file is busy.

NSLocaleCalendar

The key for the calendar associated with the locale.

NSStreamNetworkServiceTypeCallSignalingNSURLCanonicalPathKey
NSCharacterConversionException

NSString raises an NSCharacterConversionException if a string cannot be represented in a file-system or string encoding.

NSURLFileResourceTypeCharacterSpecial

The resource is a character special file.

NSCalendarIdentifierChinese

Identifier for the Chinese calendar.

NSLocaleCollationIdentifier

The key for the collation associated with the locale.

NSLocaleCollatorIdentifier

The key for the collation identifier for the locale.

NSHTTPCookieComment

An NSString object containing the comment for the cookie.

NSHTTPCookieCommentURL

An NSURL object or NSString object containing the comment URL for the cookie.

NSRunLoopCommonModes

Objects added to a run loop using this value as the mode are monitored by all run loop modes that have been declared as a member of the set of “common" modes; see the description of CFRunLoopAddCommonMode for details.

NSFileProtectionCompleteNSURLFileProtectionCompleteNSFileProtectionCompleteUnlessOpenNSURLFileProtectionCompleteUnlessOpenNSFileProtectionCompleteUntilFirstUserAuthenticationNSURLFileProtectionCompleteUntilFirstUserAuthentication
NSUbiquitousUserDefaultsCompletedInitialSyncNotification

This notification is posted when ubiquitous defaults finish downloading data, either the first time a device is connected to an iCloud account or when a user switches their primary iCloud account.

NSURLContentAccessDateKey

The time at which the resource was most recently accessed, returned as an NSDate object if the volume supports access dates, or nil if access dates are unsupported (read-only).

NSURLContentModificationDateKey

The time at which the resource was most recently modified, returned as an NSDate object if the volume supports modification dates, or nil if modification dates are unsupported (read-write).

NSCalendarIdentifierCoptic

Identifier for the Coptic calendar.

NSProgressFileOperationKindCopying

The progress is tracking the copying of a file from source to destination.

NSLocaleCountryCode

The key for the locale country code.

NSFileCreationDate

The key in a file attribute dictionary whose value indicates the file's creation date.

NSURLCreationDateKey

The resource’s creation date, returned as an NSDate object if the volume supports creation dates, or nil if creation dates are unsupported (read-write).

NSLocaleCurrencyCode

The key for the currency code associated with the locale.

NSLocaleCurrencySymbol

The key for the currency symbol associated with the locale.

NSURLUbiquitousItemDownloadingStatusCurrent

A local copy of this item exists and is the most up-to-date version known to the device.

NSCurrentLocaleDidChangeNotification

A notification that indicates that the user’s locale changed.

NSURLCustomIconKey

The icon stored with the resource, returned as an NSImage object, or nil if the resource has no custom icon.

NSStreamDataWrittenToMemoryStreamKey

Value is an NSData instance containing the data written to a memory stream.

NSDecimalNumberDivideByZeroException

The name of the exception raised on divide by zero.

NSDecimalNumberExactnessException

The name of the exception raised if there is an exactness error.

NSDecimalNumberOverflowException

The name of the exception raised on overflow.

NSDecimalNumberUnderflowException

The name of the exception raised on underflow.

NSLocaleDecimalSeparator

The key for the decimal separator associated with the locale.

NSProgressFileOperationKindDecompressingAfterDownloading

The progress is tracking file decompression after a download.

NSOperationQueueDefaultMaxConcurrentOperationCount
NSURLSessionTaskPriorityDefault

The default URL session task priority, used implicitly for any task you have not prioritized. The floating point value of this constant is 0.5.

NSDefaultRunLoopMode

The mode to deal with input sources other than NSConnection objects.

NSFileDeviceIdentifier

The key in a file attribute dictionary whose value indicates the identifier for the device on which the file resides.

NSPortDidBecomeInvalidNotification

Posted from the invalidate method, which is invoked when the NSPort is deallocated or when it notices that its communication channel has been damaged. The notification object is the NSPort object that has become invalid. This notification does not contain a userInfo dictionary.

NSUbiquitousUserDefaultsDidChangeAccountsNotification

This notification is posted when the user changes the primary iCloud account.

NSUbiquitousKeyValueStoreDidChangeExternallyNotification

Posted when the value of one or more keys in the local key-value store changed due to incoming data pushed from iCloud.

NSUserDefaultsDidChangeNotification

This notification is posted when user defaults are changed within the current process.

NSBundleDidLoadNotification

NSBundle posts NSBundleDidLoadNotification to notify observers which classes and categories have been dynamically loaded.

NSTaskDidTerminateNotification

Posted when the task has stopped execution. This notification can be posted either when the task has exited normally or as a result of terminate being sent to the NSTask object. If the NSTask object gets released, however, this notification will not get sent, as the port the message would have been sent on was released as part of the task release. The observer method can use terminationStatus to determine why the task died. See Ending an NSTask for an example.

NSURLFileResourceTypeDirectory

The resource is a directory.

NSStringEncodingDetectionDisallowedEncodingsKey
NSHTTPCookieDiscard

An NSString object stating whether the cookie should be discarded at the end of the session.

NSURLDocumentIdentifierKey

The document identifier returned as an NSNumber (read-only).

NSHTTPCookieDomain

An NSString object containing the domain for the cookie.

NSURLUbiquitousItemDownloadingStatusDownloaded

A local copy of this item exists, but it is stale. The most recent version will be downloaded as soon as possible.

NSProgressFileOperationKindDownloading

The progress is tracking a file download operation.

NSURLEffectiveIconKey

The resource’s normal icon, returned as an NSImage object (read-only).

NSAppleScriptErrorAppName

An NSString that specifies the name of the application that generated the error.

NSAppleScriptErrorBriefMessage

An NSString that provides a brief description of the error.

NSNetServicesErrorCode

This key identifies the error that occurred during the most recent operation.

NSItemProviderErrorDomain
NSNetServicesErrorDomain

This key identifies the originator of the error, which is either the NSNetService object or the mach network layer. For most errors, you should not need the value provided by this key.

NSXMLParserErrorDomain

Indicates an error in XML parsing.

NSAppleScriptErrorMessage

An NSString that supplies a detailed description of the error condition.

NSAppleScriptErrorNumber

An NSNumber that specifies the error number.

NSAppleScriptErrorRange

An NSValue that specifies a range.

NSProgressEstimatedTimeRemainingKey

The corresponding value is an NSNumber instance representing the time remaining, in seconds.

NSCalendarIdentifierEthiopicAmeteAlem

Identifier for the Ethiopic (Amete Alem) calendar.

NSCalendarIdentifierEthiopicAmeteMihret

Identifier for the Ethiopic (Amete Mihret) calendar.

NSLocaleExemplarCharacterSet

The key for the exemplar character set for the locale.

NSHTTPCookieExpires

An NSDate object or NSString object specifying the expiration date for the cookie.

NSFileExtensionHidden

The key in a file attribute dictionary whose value indicates whether the file's extension is hidden.

NSProgressKindFile

The value for the kind property that indicates that the progress is tracking a file operation. If you set this value for the progress kind, you must set a value in the user info dictionary for the NSProgressFileOperationKindKey.

NSURLFileAllocatedSizeKey

Key for the total size allocated on disk for the file, returned as an NSNumber object (read-only).

NSProgressFileAnimationImageKey

The corresponding value must be an NSImage, typically an icon to represent the file. This entry is optional, but if present along with a value for NSProgressFileAnimationImageOriginalRectKey, and the Dock has an item for the folder containing the relevant file (such as the Downloads folder), the Dock will use them to show an animation of the file flying into the Dock, before invoking acknowledgeWithSuccess:.

NSProgressFileAnimationImageOriginalRectKey

The corresponding value must be an NSValue containing an NSRect, in screen coordinates, to indicate the starting location of the image on screen. This entry is optional, but if present along with a value for NSProgressFileAnimationImageKey, and the Dock has an item for the folder containing the relevant file (such as the Downloads folder), the Dock will use them to show an animation of the file flying into the Dock, before invoking acknowledgeWithSuccess:.

NSProgressFileCompletedCountKey

The corresponding value must be an NSNumber containing an integer to represent the number of completed files. This entry is optional; if you set a value for this key, the auto-generated localizedAdditionalDescription string will make use of it.

NSStreamFileCurrentOffsetKey

Value is an NSNumber object containing the current absolute offset of the stream.

NSFileHandleOperationException

Raised by NSFileHandle if attempts to determine file-handle type fail or if attempts to read from a file or channel fail.

NSProgressFileIconKey

The corresponding value must be an NSImage, typically an icon to represent the file. This entry is optional, but if it is present, the Finder will use it to show the icon of a file tracked by a progress object.

NSFileManagerUnmountDissentingProcessIdentifierErrorKey
NSProgressFileOperationKindKey

A value is required for this key in the user info dictionary when the progress kind is set to NSProgressKindFile. The corresponding value must be one of the entries listed in File operation kinds.

NSFilePathErrorKey

Contains the file path of the error.

NSURLFileProtectionKey
NSURLFileResourceIdentifierKey

The resource’s unique identifier, returned as an id (read-only).

NSURLFileResourceTypeKey

The resource’s object type, returned as an NSString object (read-only). See NSURLFileResourceType for possible values.

NSURLFileSecurityKey

The resource’s security information, returned as an NSFileSecurity object (read-write).

NSURLFileSizeKey

Key for the file’s size in bytes, returned as an NSNumber object (read-only).

NSProgressFileTotalCountKey

The corresponding value must be an NSNumber containing an integer to represent the total number of files affected. This entry is optional; if you set a value for this key, the auto-generated localizedAdditionalDescription string will make use of it.

NSProgressFileURLKeyNSStringEncodingDetectionFromWindowsKey
NSStringTransformFullwidthToHalfwidth

Transform full-width CJK characters to half-width forms. This transformation is reversible.

NSURLGenerationIdentifierKey

An opaque generation identifier, returned as an id <NSCopying, NSCoding, NSObject> (read-only)

NSGlobalDomain

The domain consisting of defaults meant to be seen by all applications.

NSCalendarIdentifierGregorian

Identifier for the Gregorian calendar.

NSFileGroupOwnerAccountID

The key in a file attribute dictionary whose value indicates the file's group ID.

NSFileGroupOwnerAccountName

The key in a file attribute dictionary whose value indicates the group name of the file's owner.

NSLocaleGroupingSeparator

The key for the numeric grouping separator associated with the locale.

NSURLHasHiddenExtensionKey

Key for determining whether the resource’s extension is normally removed from its localized name, returned as a Boolean NSNumber object (read-write).

NSCalendarIdentifierHebrew

Identifier for the Hebrew calendar.

NSHelpAnchorErrorKey

The corresponding value is an NSString containing the localized help corresponding to the help button. See helpAnchor for more information.

NSFileHFSCreatorCode

The key in a file attribute dictionary whose value indicates the file's HFS creator code.

NSFileHFSTypeCode

The key in a file attribute dictionary whose value indicates the file's HFS type code.

NSURLSessionTaskPriorityHigh

A high URL session task priority, with a floating point value above the default value and below the maximum of 1.0.

NSStringTransformHiraganaToKatakana

Transliterate Hiragana script to Katakana script. This transformation is reversible.

NSStreamSOCKSProxyHostKey

Value is an NSString object that represents the SOCKS proxy host.

NSLocaleIdentifier

The key for the locale identifier.

NSFileImmutable

The key in a file attribute dictionary whose value indicates whether the file is mutable.

NSInconsistentArchiveException

The name of an exception raised by NSArchiver if there are problems initializing or encoding.

NSCalendarIdentifierIndian

Identifier for the Indian calendar.

NSInvalidArchiveOperationException

The name of the exception raised by NSKeyedArchiver if there is a problem creating an archive.

NSInvalidUnarchiveOperationException

The name of the exception raised by NSKeyedArchiver if there is a problem extracting an archive.

NSInvocationOperationCancelledException

The name of the exception raised if the result method is called after the operation was cancelled.

NSInvocationOperationVoidResultException

The name of the exception raised if the result method is called for an invocation method with a void return type.

NSURLIsAliasFileKey

Key for determining whether the file is an alias, returned as a Boolean NSNumber object (read-only).

NSURLIsApplicationKey
NSURLIsDirectoryKey

Key for determining whether the resource is a directory, returned as a Boolean NSNumber object (read-only).

NSURLIsExcludedFromBackupKey

Key for determining whether the resource is excluded from all backups of app data, returned as a Boolean NSNumber object (read-write).

NSURLIsExecutableKey

Key for determining whether the current process (as determined by the EUID) can execute the resource (if it is a file) or search the resource (if it is a directory), returned as a Boolean NSNumber object (read-only).

NSURLIsHiddenKey

Key for determining whether the resource is normally not displayed to users, returned as a Boolean NSNumber object (read-write).

NSURLIsMountTriggerKey

Key for determining whether the URL is a file system trigger directory, returned as a Boolean NSNumber object (read-only). Traversing or opening a file system trigger directory causes an attempt to mount a file system on the directory.

NSIsNilTransformerName

This value transformer returns YES if the value is nil.

NSIsNotNilTransformerName

This value transformer returns YES if the value is non-nil.

NSURLIsPackageKey

Key for determining whether the resource is a file package, returned as a Boolean NSNumber object (read-write in macOS 10.8 and later, read-only in previous versions). A true value means that the resource is a file package.

NSURLIsReadableKey

Key for determining whether the current process (as determined by the EUID) can read the resource, returned as a Boolean NSNumber object (read-only).

NSURLIsRegularFileKey

Key for determining whether the resource is a regular file, as opposed to a directory or a symbolic link. Returned as a Boolean NSNumber object (read-only).

NSURLIsSymbolicLinkKey

Key for determining whether the resource is a symbolic link, returned as a Boolean NSNumber object (read-only).

NSURLIsSystemImmutableKey

Key for determining whether the resource's system immutable bit is set, returned as a Boolean NSNumber object (read-write).

NSURLIsUbiquitousItemKey

A boolean NSNumber that contains true if this item is in iCloud storage, false if it is a local item (read-only).

NSURLIsUserImmutableKey

Key for determining whether the resource's user immutable bit is set, returned as a Boolean NSNumber object (read-write).

NSURLIsVolumeKey

Key for determining whether the resource is the root directory of a volume, returned as a Boolean NSNumber object (read-only).

NSURLIsWritableKey

Key for determining whether the current process (as determined by the EUID) can write to the resource, returned as a Boolean NSNumber object (read-only).

NSCalendarIdentifierIslamic

Identifier for the Islamic calendar.

NSCalendarIdentifierIslamicCivil

Identifier for the Islamic civil calendar.

NSCalendarIdentifierIslamicTabular

Identifier for a tabular Islamic calendar.

NSCalendarIdentifierIslamicUmmAlQura

Identifier for the Islamic Umm al-Qura calendar.

NSCalendarIdentifierJapanese

Identifier for the Japanese calendar.

NSKeyedUnarchiveFromDataTransformerName

This value transformer returns an object created by attempting to unarchive the data in the NSData object passed as the value. The archived object must be created using keyed archiving in order to be unarchived and archived with this transformer.

NSURLKeysOfUnsetValuesKey

Key for the resource properties that have not been set after the setResourceValues:error: method returns an error, returned as an array of of NSString objects.

NSURLLabelColorKey

The resource’s label color, returned as an NSColor object, or nil if the resource has no label color (read-only).

NSURLLabelNumberKey

The resource’s label number, returned as an NSNumber object (read-write).

NSLocaleLanguageCode

The key for the locale language code.

NSStringTransformLatinToArabic

Transliterate Latin script to Arabic script. This transformation is reversible.

NSStringTransformLatinToCyrillic

Transliterate Latin script to Cyrillic script. This transformation is reversible.

NSStringTransformLatinToGreek
NSStringTransformLatinToHangul

Transliterate Latin script to Hangul script. This transformation is reversible.

NSStringTransformLatinToHebrew

Transliterate Latin script to Hebrew script. This transformation is reversible.

NSStringTransformLatinToHiragana

Transliterate Latin script to Hiragana script. This transformation is reversible.

NSStringTransformLatinToKatakana

Transliterate Latin script to Katakana script. This transformation is reversible.

NSStringTransformLatinToThai

Transliterate Latin script to Thai script. This transformation is reversible.

NSStringEncodingDetectionLikelyLanguageKey
NSURLLinkCountKey

The number of hard links to the resource, returned as an NSNumber object (read-only).

NSLocalNotificationCenterType

Distributes notifications to all tasks on the sender’s computer.

NSLocalizedDescriptionKey

The corresponding value is a localized string representation of the error that, if present, will be returned by localizedDescription.

NSLocalizedFailureReasonErrorKey

The corresponding value is a localized string representation containing the reason for the failure that, if present, will be returned by localizedFailureReason.

NSURLLocalizedLabelKey

The resource’s localized label text, returned as an NSString object, or nil if the resource has no localized label text (read-only).

NSURLLocalizedNameKey

The resource’s localized or extension-hidden name, returned as an NSString object (read-only).

NSLocalizedRecoveryOptionsErrorKey

The corresponding value is an array containing the localized titles of buttons appropriate for displaying in an alert panel.

NSLocalizedRecoverySuggestionErrorKey

The corresponding value is a string containing the localized recovery suggestion for the error.

NSURLLocalizedTypeDescriptionKey

The resource’s localized type description, returned as an NSString object (read-only).

NSStringEncodingDetectionLossySubstitutionKey
NSURLSessionTaskPriorityLow

A low URL session task priority, with a floating point value above the minimum of 0 and below the default value.

NSStringTransformMandarinToLatin

Transliterate Han script to Latin.

NSHTTPCookieMaximumAge

An NSString object containing an integer value stating how long in seconds the cookie should be kept, at most.

NSLocaleMeasurementSystem

The key for the measurement system associated with the locale.

NSFileModificationDate

The key in a file attribute dictionary whose value indicates the file's last modified date.

NSHTTPCookieName

An NSString object containing the name of the cookie. This cookie attribute is required.

NSURLNameKey

The resource’s name in the file system, returned as an NSString object (read-write).

NSURLFileResourceTypeNamedPipe

The resource is a named pipe.

NSNegateBooleanTransformerName

This value transformer negates a boolean value, transforming YES to NO and NO to YES.

NSStreamSocketSecurityLevelNegotiatedSSL

Specifies that the highest level security protocol that can be negotiated be set as the security protocol for a socket stream.

NSStreamNetworkServiceType

The type of service for the stream. Providing the service type allows the system to properly handle certain attributes of the stream, including routing and suspension behavior. Most streams do not need to set this property. See Stream Service Types for a list of possible values.

NSUbiquitousUserDefaultsNoCloudAccountNotification

This notification is posted when a cloud default is set, but no iCloud user is logged in.

NSFileProtectionNone
NSStreamSocketSecurityLevelNone

Specifies that no security level be set for a socket stream.

NSURLFileProtectionNone
NSHTTPCookieOriginURL

An NSURL or NSString object containing the URL that set this cookie.

NSFileOwnerAccountID

The key in a file attribute dictionary whose value indicates the file's owner's account ID.

NSFileOwnerAccountName

The key in a file attribute dictionary whose value indicates the name of the file's owner.

NSURLParentDirectoryURLKey

The parent directory of the resource, returned as an NSURL object, or nil if the resource is the root directory of its volume (read-only).

NSParseErrorException

NSString raises an NSParseErrorException if a string cannot be parsed as a property list.

NSStreamSOCKSProxyPasswordKey

Value is an NSString object containing the user’s password.

NSHTTPCookiePath

An NSString object containing the path for the cookie.

NSURLPathKey

The file system path for the URL, returned as an NSString object (read-only).

NSCalendarIdentifierPersian

Identifier for the Persian calendar.

NSHTTPCookiePort

An NSString object containing comma-separated integer values specifying the ports for the cookie.

NSStreamSOCKSProxyPortKey

Value is an NSNumber object containing an integer that represents the port on which the proxy listens.

NSFilePosixPermissions

The key in a file attribute dictionary whose value indicates the file's Posix permissions.

NSURLPreferredIOBlockSizeKey

The optimal block size to use when reading or writing this file's data, returned as an NSNumber object, or nil if the preferred size is not available (read-only).

NSFileProtectionKeyNSURLQuarantinePropertiesKey
NSLocaleQuotationBeginDelimiterKey

The key for the begin quotation symbol associated with the locale.

NSLocaleQuotationEndDelimiterKey

The key for the end quotation symbol associated with the locale.

NSFileHandleReadCompletionNotification

This notification is posted when the file handle reads the data currently available in a file or at a communications channel.

NSProgressFileOperationKindReceiving

The progress is tracking the receipt of a file from another source.

NSRecoveryAttempterErrorKey

The corresponding value is an object that conforms to the NSErrorRecoveryAttempting informal protocol.

NSFileReferenceCount

The key in a file attribute dictionary whose value indicates the file's reference count.

NSRegistrationDomain

The domain consisting of a set of temporary defaults whose values can be set by the application to ensure that searches will always be successful.

NSURLFileResourceTypeRegular

The resource is a regular file.

NSCalendarIdentifierRepublicOfChina

Identifier for the Republic of China (Taiwan) calendar.

NSLocaleScriptCode

The key for the locale script code.

NSHTTPCookieSecure

An NSString object indicating that the cookie should be transmitted only over secure channels.

NSFileSize

The key in a file attribute dictionary whose value indicates the file's size in bytes.

NSUserDefaultsSizeLimitExceededNotification

This notification is posted when more data is stored in user defaults than is allowed.

NSURLFileResourceTypeSocket

The resource is a socket.

NSStreamSocketSecurityLevelKey
NSStreamSOCKSProxyConfigurationKey

Value is an NSDictionary object containing SOCKS proxy configuration information.

NSStreamSocketSecurityLevelSSLv2

Specifies that SSL version 2 be set as the security protocol for a socket stream.

NSStreamSocketSecurityLevelSSLv3

Specifies that SSL version 3 be set as the security protocol for a socket stream.

NSStringEncodingErrorKey

The corresponding value is an NSNumber object containing the NSStringEncoding value.

NSStringTransformStripCombiningMarks

Transform characters by removing combining marks.

NSStringTransformStripDiacritics

Transform characters by removing diacritics.

NSStringEncodingDetectionSuggestedEncodingsKey
NSURLFileResourceTypeSymbolicLink

The resource is a symbolic link.

NSFileSystemFileNumber

The key in a file attribute dictionary whose value indicates the file's filesystem file number.

NSFileSystemFreeNodes

The key in a file system attribute dictionary dictionary whose value indicates the number of free nodes in the file system.

NSFileSystemFreeSize

The key in a file system attribute dictionary whose value indicates the amount of free space on the file system.

NSFileSystemNodes

The key in a file system attribute dictionary whose value indicates the number of nodes in the file system.

NSFileSystemNumber

The key in a file system attribute dictionary dictionary whose value indicates the filesystem number of the file system.

NSFileSystemSize

The key in a file system attribute dictionary whose value indicates the size of the file system.

NSURLTagNamesKey

The names of tags attached to the resource, returned as an array of NSString values (read-write).

NSProcessInfoThermalStateDidChangeNotification

Posted when the thermal state of the system changes.

NSProgressThroughputKey

The corresponding value is an NSNumber instance indicating the speed of data processing, in bytes per second.

NSURLThumbnailDictionaryKey

A dictionary of NSImage/UIImage objects keyed by size (read-write). See NSURLThumbnailDictionaryItem for a list of possible keys.

NSURLThumbnailKey

All thumbnails as a single NSImage (read-write).

NSStreamSocketSecurityLevelTLSv1

Specifies that TLS version 1 be set as the security protocol for a socket stream.

NSStringTransformToLatin

Transliterate any script to Latin script.

NSStringTransformToUnicodeName

Transform characters to Unicode names.

NSURLTotalFileAllocatedSizeKey

Key for the total allocated size of the file in bytes, returned as an NSNumber object (read-only). This includes the size of any file metadata.

NSURLTotalFileSizeKey

Key for the total displayable size of the file in bytes, returned as an NSNumber object (read-only). This includes the size of any file metadata.

NSStringTransformToXMLHex

Transform characters to XML hexadecimal escape codes. This transformation is reversible.

NSFileType

The key in a file attribute dictionary whose value indicates the file's type.

NSFileTypeBlockSpecial

Block special file

NSFileTypeCharacterSpecial

Character special file

NSURLTypeIdentifierKey

The resource’s uniform type identifier (UTI), returned as an NSString object (read-only).

NSFileTypeRegular

Regular file

NSURLUbiquitousItemContainerDisplayNameKey

A string containing the name of the item’s container, as it is displayed to the user.

NSURLUbiquitousItemDownloadRequestedKey

A Boolean indicating whether a call to startDownloadingUbiquitousItemAtURL:error: has already been made to download the item. The value of this key is read-only.

NSURLUbiquitousItemDownloadingErrorKey

An error object that indicates why downloading the item from iCloud failed. See Foundation Constants for possible error codes.

NSURLUbiquitousItemDownloadingStatusKey

The current download state for the item, indicating whether a local copy exists and whether that copy is the most current version of the item. The possible values for this key are described in NSURLUbiquitousItemDownloadingStatus.

NSURLUbiquitousItemHasUnresolvedConflictsKey

A boolean NSNumber that contains true if this item has conflicts outstanding, false otherwise (read-only).

NSURLUbiquitousItemIsDownloadedKey

A boolean NSNumber that contains true if this item’s data has been downloaded to a ubiquity container, false otherwise (read-only).

Deprecated
NSURLUbiquitousItemIsDownloadingKey

A boolean NSNumber that contains true if this item is being downloaded from iCloud, false otherwise (read-only).

NSURLUbiquitousItemIsUploadedKey

A boolean NSNumber that contains true if this item’s data has been uploaded to iCloud storage, false otherwise (read-only).

NSURLUbiquitousItemIsUploadingKey

A boolean NSNumber that contains true if this item is being uploaded to iCloud, false otherwise (read-only).

NSURLUbiquitousItemPercentDownloadedKey

An NSNumber in the range 0–100 that indicates the percentage of the data that has been downloaded (read-only).

Deprecated
NSURLUbiquitousItemPercentUploadedKey

An NSNumber in the range 0–100 that indicates the percentage of the data that has been uploaded (read-only).

Deprecated
NSURLUbiquitousItemUploadingErrorKey

An error object that indicates why uploading the item to iCloud failed. See Foundation Constants for possible error codes.

NSUnarchiveFromDataTransformerName

This value transformer returns an object created by attempting to unarchive the data in the NSData object passed as the value.

NSUnderlyingErrorKey

The corresponding value is an error that was encountered in an underlying implementation and caused the error that the receiver represents to occur.

NSURLFileResourceTypeUnknown

The resource’s type is unknown.

NSStringEncodingDetectionUseOnlySuggestedEncodingsKey
NSStreamSOCKSProxyUserKey

Value is an NSString object containing the user’s name.

NSLocaleUsesMetricSystem

The key for the flag that indicates whether the locale uses the metric system.

NSHTTPCookieValue

An NSString object containing the value of the cookie.

NSLocaleVariantCode

The key for the locale variant code.

NSHTTPCookieVersion

An NSString object that specifies the version of the cookie.

NSStreamSOCKSProxyVersion4

Possible value for NSStreamSOCKSProxyVersionKey.

NSStreamSOCKSProxyVersion5

Possible value for NSStreamSOCKSProxyVersionKey.

NSStreamSOCKSProxyVersionKey

Value is either NSStreamSOCKSProxyVersion4 or NSStreamSOCKSProxyVersion5.

NSStreamNetworkServiceTypeVideo

Specifies that the stream is providing video service.

NSStreamNetworkServiceTypeVoice

Specifies that the stream is providing voice service.

NSStreamNetworkServiceTypeVoIP

Specifies that the stream is providing VoIP service.

NSURLVolumeAvailableCapacityKey

Key for the volume’s available capacity in bytes, returned as an NSNumber object (read-only).

NSURLVolumeCreationDateKey

Key for the volume’s creation date, returned as an NSDate object, or NULL if it cannot be determined (read-only).

NSURLVolumeIdentifierKey

The unique identifier of the resource’s volume, returned as an id (read-only).

NSURLVolumeIsAutomountedKey

Key for determining whether the volume is automounted, returned as a Boolean NSNumber object (read-only).

NSURLVolumeIsBrowsableKey

Key for determining whether the volume is visible in GUI-based file-browsing environments, such as the Desktop or the Finder application, returned as a Boolean NSNumber object (read-only).

NSURLVolumeIsEjectableKey

Key for determining whether the volume is ejectable from the drive mechanism under software control, returned as a Boolean NSNumber object (read-only).

NSURLVolumeIsEncryptedKey

Whether the volume is encrypted, returned as NSNumber containing a Boolean value (read-only).

NSURLVolumeIsInternalKey

Key for determining whether the volume is connected to an internal bus, returned as a Boolean NSNumber object, or nil if it cannot be determined (read-only).

NSURLVolumeIsJournalingKey

Key for determining whether the volume is currently journaling, returned as a Boolean NSNumber object (read-only).

NSURLVolumeIsLocalKey

Key for determining whether the volume is stored on a local device, returned as a Boolean NSNumber object (read-only).

NSURLVolumeIsReadOnlyKey

Key for determining whether the volume is read-only, returned as a Boolean NSNumber object (read-only).

NSURLVolumeIsRemovableKey

Key for determining whether the volume is removable from the drive mechanism, returned as a Boolean NSNumber object (read-only).

NSURLVolumeIsRootFileSystemKey

Whether the volume is the root filesystem, returned as NSNumber containing a Boolean value (read-only).

NSURLVolumeLocalizedFormatDescriptionKey

Key for the volume’s descriptive format name, returned as an NSString object (read-only).

NSURLVolumeLocalizedNameKey

The name of the volume as it should be displayed in the user interface, returned as an NSString object (read-only).

NSURLVolumeMaximumFileSizeKey

Key for the largest file size supported by the volume in bytes, returned as a Boolean NSNumber object, or nil if it cannot be determined (read-only).

NSURLVolumeNameKey

The name of the volume, returned as an NSString object (read-write). Settable only if NSURLVolumeSupportsRenamingKey is YES.

NSURLVolumeResourceCountKey

Key for the total number of resources on the volume, returned as an NSNumber object (read-only).

NSURLVolumeSupportsAdvisoryFileLockingKey

Key for determining whether the volume implements whole-file advisory locks in the style of flock, along with the O_EXLOCK and O_SHLOCK flags of the open function, returned as a Boolean NSNumber object (read-only).

NSURLVolumeSupportsCasePreservedNamesKey

Key for determining whether the volume supports case-preserved names, returned as a Boolean NSNumber object (read-only).

NSURLVolumeSupportsCaseSensitiveNamesKey

Key for determining whether the volume supports case-sensitive names, returned as a Boolean NSNumber object (read-only).

NSURLVolumeSupportsCompressionKey

Whether the volume supports transparent decompression of compressed files using decmpfs, returned as NSNumber containing a Boolean value (read-only).

NSURLVolumeSupportsExclusiveRenamingKey

Whether the volume supports exclusive renaming using renamex_np(2) with the RENAME_EXCL option, returned as NSNumber containing a Boolean value (read-only).

NSURLVolumeSupportsExtendedSecurityKey

Key for determining whether the volume supports extended security (access control lists), returned as a Boolean NSNumber object (read-only) (read-only).

NSURLVolumeSupportsFileCloningKey

Whether the volume supports cloning using clonefile(2), returned as NSNumber containing a Boolean value (read-only).

NSURLVolumeSupportsHardLinksKey

Key for determining whether the volume supports hard links, returned as a Boolean NSNumber object (read-only).

NSURLVolumeSupportsJournalingKey

Key for determining whether the volume supports journaling, returned as a Boolean NSNumber object (read-only).

NSURLVolumeSupportsPersistentIDsKey

Key for determining whether the volume supports persistent IDs, returned as a Boolean NSNumber object (read-only).

NSURLVolumeSupportsRenamingKey

Key for determining whether the volume can be renamed, returned as a Boolean NSNumber object (read-only).

NSURLVolumeSupportsRootDirectoryDatesKey

Key for determining whether the volume supports reliable storage of times for the root directory, returned as a Boolean NSNumber object (read-only).

NSURLVolumeSupportsSparseFilesKey

Key for determining whether the volume supports sparse files, returned as a Boolean NSNumber object (read-only).

NSURLVolumeSupportsSwapRenamingKey

Whether the volume supports renaming using renamex_np(2) with the RENAME_SWAP option, returned as NSNumber containing a Boolean value (read-only).

NSURLVolumeSupportsSymbolicLinksKey

Key for determining whether the volume supports symbolic links, returned as a Boolean NSNumber object (read-only).

NSURLVolumeSupportsVolumeSizesKey

Key for determining whether the volume supports returning volume size information, returned as a Boolean NSNumber object (read-only). If true, volume size information is available as values of the NSURLVolumeTotalCapacityKey andNSURLVolumeAvailableCapacityKey keys.

NSURLVolumeSupportsZeroRunsKey

Key for determining whether the volume supports zero runs, returned as a Boolean NSNumber object (read-only).

NSURLVolumeTotalCapacityKey

Key for the volume’s capacity in bytes, returned as an NSNumber object (read-only).

NSURLVolumeURLForRemountingKey

Key for the URL needed to remount the network volume, returned as an NSURL object, or nil if a URL is not available (read-only).

NSURLVolumeURLKey

The root directory of the resource’s volume, returned as an NSURL object (read-only).

NSURLVolumeUUIDStringKey

Key for the volume’s persistent UUID, returned as an NSString object, or nil if a persistent UUID is not available (read-only).