Language
- Swift
- Objective-C
Overview
This document defines constants in the Foundation framework that are not associated with a particular class.
Language
This document defines constants in the Foundation framework that are not associated with a particular class.
NSNotFoundDefines a value that indicates that an item requested couldn’t be found or doesn’t exist.
These constants are used as components in a bitfield to specify the behavior of NSAllocateCollectable and NSReallocateCollectable.
NSEnumerationOptionsOptions for Block enumeration operations.
ComparisonResultThese constants are used to indicate how items in a request are ordered.
NSSortOptionsOptions for Block sorting operations.
QualityOfServiceUsed 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.
FileManager.SearchPathDirectoryThese constants specify the location of a variety of directories by the urls(for:in:) and url(for:in:appropriateFor:create:) FileManager methods.
FileManager.SearchPathDomainMaskSearch path domain constants specifying base locations for the FileManager.SearchPathDirectory type. These constants are used by the urls(for:in:) and url(for:in:appropriateFor:create:) FileManager methods.
NSError codes in the Cocoa error domain.
These values are returned as the error code property of an NSError object with the domain “NSURLErrorDomain”.
iCloud Error CodesThese error codes are used by error objects associated with the NSURLUbiquitousItemDownloadingErrorKey on an NSURL object when an iCloud-related error occurs.
XPC ErrorsErrors returned by XPC connections. Note that these are not currently available on iOS.
These constants defines the Cocoa error domain.
Predefined sets of callbacks for NSHashTable.
Predefined sets of callbacks for NSMapTable keys.
These are predefined sets of callbacks for NSMapTable values.
This error domain is defined for NSURL.
These constants are defined as conveniences and can be used to compare with return values from functions.
AlignmentOptionsThese constants are used by the NSIntegralRectWithOptions(_:_:) function and other related methods, such as backingAlignedRect(_:options:).
Constants used by NSDecimal.
Constants representing the maximum and minimum values of NSInteger and NSUInteger.
Exceptions defined by NSException.
Version of the Foundation framework in the current environment.
Constants to define Foundation Framework version numbers.
let NSAppleEventTimeOutDefault: DoubleSpecifies 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.
let NSAppleEventTimeOutNone: DoubleSpecifies that the application is willing to wait indefinitely for the current operation to complete. Not currently used by applications.
let NSAssertionHandlerKey: Stringlet NSBundleResourceRequestLoadingPriorityUrgent: Doublelet NSEdgeInsetsZero: EdgeInsetslet NSErrorFailingURLStringKey: StringDeprecatedlet NSExtensionItemAttachmentsKey: StringAn optional array of media data associated with the extension item.
let NSExtensionItemAttributedContentTextKey: StringAn optional string describing the extension item content.
let NSExtensionItemAttributedTitleKey: StringAn optional title of the extension item.
let NSExtensionItemsAndErrorsKey: Stringlet NSExtensionJavaScriptFinalizeArgumentKey: StringA 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.
let NSExtensionJavaScriptPreprocessingResultsKey: StringA 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.
let NSFileHandleNotificationDataItem: StringA key in the userinfo dictionary in a readCompletionNotification and NSFileHandleReadToEndOfFileCompletion.
let NSFileHandleNotificationFileHandleItem: StringA key in the userinfo dictionary in a NSFileHandleConnectionAccepted notification.
var NSFoundationVersionNumber10_10_4: Doublevar NSFoundationVersionNumber10_10_5: Int32var NSFoundationVersionNumber10_10_Max: Int32var NSFoundationVersionNumber10_11: Int32var NSFoundationVersionNumber10_11_1: Doublevar NSFoundationVersionNumber10_11_2: Doublevar NSFoundationVersionNumber10_11_3: Doublevar NSFoundationVersionNumber10_11_4: Int32var NSFoundationVersionNumber10_11_Max: Int32var NSFoundationVersionNumber_iOS_8_4: Doublevar NSFoundationVersionNumber_iOS_8_x_Max: Int32var NSFoundationVersionNumber_iOS_9_0: Doublevar NSFoundationVersionNumber_iOS_9_1: Doublevar NSFoundationVersionNumber_iOS_9_2: Doublevar NSFoundationVersionNumber_iOS_9_3: Doublevar NSFoundationVersionNumber_iOS_9_4: Doublevar NSFoundationVersionNumber_iOS_9_x_Max: Int32var NSFoundationVersionWithFileManagerResourceForkSupport: Int32The version of the Foundation framework in which NSFileManager first supported resource forks.
let NSGrammarCorrections: StringThe 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.
let NSGrammarRange: StringThe 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.
let NSGrammarUserDescription: StringThe 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.
let NSHashTableCopyIn: NSPointerFunctions.Optionslet NSHashTableObjectPointerPersonality: NSPointerFunctions.Optionslet NSHashTableStrongMemory: NSPointerFunctions.Optionslet NSHashTableWeakMemory: NSPointerFunctions.Optionslet NSKeyedArchiveRootObjectKey: StringArchives created using the class method archivedData(withRootObject:) use this key for the root object in the hierarchy of encoded objects. The NSKeyedUnarchiver class method unarchiveObject(with:) looks for this root key as well.
let NSLinguisticTagAdjective: StringThis token is an adjective
let NSLinguisticTagAdverb: StringThis token is an adverb.
let NSLinguisticTagClassifier: StringThis token is a classifier.
let NSLinguisticTagCloseParenthesis: StringThis token is a close parenthesis.
let NSLinguisticTagCloseQuote: StringThis token is a close quote.
let NSLinguisticTagConjunction: StringThis token is a conjunction.
let NSLinguisticTagDash: StringThis token is a dash.
let NSLinguisticTagDeterminer: StringThis token is a determiner.
let NSLinguisticTagIdiom: StringThis token is an idiom.
let NSLinguisticTagInterjection: StringThis token is an interjection.
let NSLinguisticTagNoun: StringThe token is a noun.
let NSLinguisticTagNumber: StringThis token is a number.
let NSLinguisticTagOpenParenthesis: StringThis token is an open parenthesis.
let NSLinguisticTagOpenQuote: StringThis token is an open quote.
let NSLinguisticTagOrganizationName: StringThis token is an organization name.
let NSLinguisticTagOther: StringThe token indicates a token other than those currently defined.
let NSLinguisticTagOtherPunctuation: StringThis token is punctuation not recognized as another token type.
let NSLinguisticTagOtherWhitespace: StringThis token is whitespace.
let NSLinguisticTagOtherWord: StringThis token is some other word.
let NSLinguisticTagParagraphBreak: StringThis token is a paragraph break.
let NSLinguisticTagParticle: StringThis token is a particle.
let NSLinguisticTagPersonalName: StringThis token is a personal name.
let NSLinguisticTagPlaceName: StringThis token is a place name.
let NSLinguisticTagPreposition: StringThis token is a preposition.
let NSLinguisticTagPronoun: StringThis token is a pronoun.
let NSLinguisticTagPunctuation: StringThe token indicates punctuation.
let NSLinguisticTagSchemeLanguage: StringThis 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.
let NSLinguisticTagSchemeLemma: StringThis tag scheme supplies a stem forms of the words, if known.
let NSLinguisticTagSchemeLexicalClass: StringThis 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.
let NSLinguisticTagSchemeNameType: StringThis 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.
let NSLinguisticTagSchemeNameTypeOrLexicalClass: StringThis 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.
let NSLinguisticTagSchemeScript: StringThis tag scheme tags tokens according to their script. The tag values will be standard script abbreviations such as “Latn”, “Cyrl”, “Jpan”, “Hans”, “Hant”, etc.
let NSLinguisticTagSchemeTokenType: StringThis 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.
let NSLinguisticTagSentenceTerminator: StringThis token is a sentence terminator.
let NSLinguisticTagVerb: StringThis token is a verb.
let NSLinguisticTagWhitespace: StringThe token indicates white space of any sort.
let NSLinguisticTagWord: StringThe token indicates a word.
let NSLinguisticTagWordJoiner: StringThis token is a word joiner.
let NSLoadedClasses: StringAn NSArray object containing the names (as NSString objects) of each class that was loaded
let NSMachErrorDomain: StringMach errors
let NSMapTableCopyIn: NSPointerFunctions.Optionslet NSMapTableObjectPointerPersonality: NSPointerFunctions.Optionslet NSMapTableStrongMemory: NSPointerFunctions.Optionslet NSMapTableWeakMemory: NSPointerFunctions.Optionslet NSMetadataItemAcquisitionMakeKey: Stringlet NSMetadataItemAcquisitionModelKey: Stringlet NSMetadataItemAlbumKey: Stringlet NSMetadataItemAltitudeKey: Stringlet NSMetadataItemApertureKey: Stringlet NSMetadataItemAppleLoopDescriptorsKey: Stringlet NSMetadataItemAppleLoopsKeyFilterTypeKey: Stringlet NSMetadataItemAppleLoopsLoopModeKey: Stringlet NSMetadataItemAppleLoopsRootKeyKey: Stringlet NSMetadataItemApplicationCategoriesKey: Stringlet NSMetadataItemAttributeChangeDateKey: Stringlet NSMetadataItemAudiencesKey: Stringlet NSMetadataItemAudioBitRateKey: Stringlet NSMetadataItemAudioChannelCountKey: Stringlet NSMetadataItemAudioEncodingApplicationKey: Stringlet NSMetadataItemAudioSampleRateKey: Stringlet NSMetadataItemAudioTrackNumberKey: Stringlet NSMetadataItemAuthorAddressesKey: Stringlet NSMetadataItemAuthorEmailAddressesKey: Stringlet NSMetadataItemAuthorsKey: Stringlet NSMetadataItemBitsPerSampleKey: Stringlet NSMetadataItemCFBundleIdentifierKey: Stringlet NSMetadataItemCameraOwnerKey: Stringlet NSMetadataItemCityKey: Stringlet NSMetadataItemCodecsKey: Stringlet NSMetadataItemColorSpaceKey: Stringlet NSMetadataItemCommentKey: Stringlet NSMetadataItemComposerKey: Stringlet NSMetadataItemContactKeywordsKey: Stringlet NSMetadataItemContentCreationDateKey: Stringlet NSMetadataItemContentModificationDateKey: Stringlet NSMetadataItemContentTypeKey: Stringlet NSMetadataItemContentTypeTreeKey: Stringlet NSMetadataItemContributorsKey: Stringlet NSMetadataItemCopyrightKey: Stringlet NSMetadataItemCountryKey: Stringlet NSMetadataItemCoverageKey: Stringlet NSMetadataItemCreatorKey: Stringlet NSMetadataItemDateAddedKey: Stringlet NSMetadataItemDeliveryTypeKey: Stringlet NSMetadataItemDescriptionKey: Stringlet NSMetadataItemDirectorKey: Stringlet NSMetadataItemDisplayNameKey: Stringlet NSMetadataItemDownloadedDateKey: Stringlet NSMetadataItemDueDateKey: Stringlet NSMetadataItemDurationSecondsKey: Stringlet NSMetadataItemEXIFGPSVersionKey: Stringlet NSMetadataItemEXIFVersionKey: Stringlet NSMetadataItemEditorsKey: Stringlet NSMetadataItemEmailAddressesKey: Stringlet NSMetadataItemEncodingApplicationsKey: Stringlet NSMetadataItemExecutableArchitecturesKey: Stringlet NSMetadataItemExecutablePlatformKey: Stringlet NSMetadataItemExposureModeKey: Stringlet NSMetadataItemExposureProgramKey: Stringlet NSMetadataItemExposureTimeSecondsKey: Stringlet NSMetadataItemExposureTimeStringKey: Stringlet NSMetadataItemFNumberKey: Stringlet NSMetadataItemFSContentChangeDateKey: Stringlet NSMetadataItemFSCreationDateKey: Stringlet NSMetadataItemFSNameKey: Stringlet NSMetadataItemFSSizeKey: Stringlet NSMetadataItemFinderCommentKey: Stringlet NSMetadataItemFlashOnOffKey: Stringlet NSMetadataItemFocalLength35mmKey: Stringlet NSMetadataItemFocalLengthKey: Stringlet NSMetadataItemFontsKey: Stringlet NSMetadataItemGPSAreaInformationKey: Stringlet NSMetadataItemGPSDOPKey: Stringlet NSMetadataItemGPSDateStampKey: Stringlet NSMetadataItemGPSDestBearingKey: Stringlet NSMetadataItemGPSDestDistanceKey: Stringlet NSMetadataItemGPSDestLatitudeKey: Stringlet NSMetadataItemGPSDestLongitudeKey: Stringlet NSMetadataItemGPSDifferentalKey: Stringlet NSMetadataItemGPSMapDatumKey: Stringlet NSMetadataItemGPSMeasureModeKey: Stringlet NSMetadataItemGPSProcessingMethodKey: Stringlet NSMetadataItemGPSStatusKey: Stringlet NSMetadataItemGPSTrackKey: Stringlet NSMetadataItemGenreKey: Stringlet NSMetadataItemHasAlphaChannelKey: Stringlet NSMetadataItemHeadlineKey: Stringlet NSMetadataItemISOSpeedKey: Stringlet NSMetadataItemIdentifierKey: Stringlet NSMetadataItemImageDirectionKey: Stringlet NSMetadataItemInformationKey: Stringlet NSMetadataItemInstantMessageAddressesKey: Stringlet NSMetadataItemInstructionsKey: Stringlet NSMetadataItemIsApplicationManagedKey: Stringlet NSMetadataItemIsGeneralMIDISequenceKey: Stringlet NSMetadataItemIsLikelyJunkKey: Stringlet NSMetadataItemIsUbiquitousKey: Stringlet NSMetadataItemKeySignatureKey: Stringlet NSMetadataItemKeywordsKey: Stringlet NSMetadataItemKindKey: Stringlet NSMetadataItemLanguagesKey: Stringlet NSMetadataItemLastUsedDateKey: Stringlet NSMetadataItemLatitudeKey: Stringlet NSMetadataItemLayerNamesKey: Stringlet NSMetadataItemLensModelKey: Stringlet NSMetadataItemLongitudeKey: Stringlet NSMetadataItemLyricistKey: Stringlet NSMetadataItemMaxApertureKey: Stringlet NSMetadataItemMediaTypesKey: Stringlet NSMetadataItemMeteringModeKey: Stringlet NSMetadataItemMusicalGenreKey: Stringlet NSMetadataItemMusicalInstrumentCategoryKey: Stringlet NSMetadataItemMusicalInstrumentNameKey: Stringlet NSMetadataItemNamedLocationKey: Stringlet NSMetadataItemNumberOfPagesKey: Stringlet NSMetadataItemOrganizationsKey: Stringlet NSMetadataItemOrientationKey: Stringlet NSMetadataItemOriginalFormatKey: Stringlet NSMetadataItemOriginalSourceKey: Stringlet NSMetadataItemPageHeightKey: Stringlet NSMetadataItemPageWidthKey: Stringlet NSMetadataItemParticipantsKey: Stringlet NSMetadataItemPathKey: Stringlet NSMetadataItemPerformersKey: Stringlet NSMetadataItemPhoneNumbersKey: Stringlet NSMetadataItemPixelCountKey: Stringlet NSMetadataItemPixelHeightKey: Stringlet NSMetadataItemPixelWidthKey: Stringlet NSMetadataItemProducerKey: Stringlet NSMetadataItemProfileNameKey: Stringlet NSMetadataItemProjectsKey: Stringlet NSMetadataItemPublishersKey: Stringlet NSMetadataItemRecipientAddressesKey: Stringlet NSMetadataItemRecipientEmailAddressesKey: Stringlet NSMetadataItemRecipientsKey: Stringlet NSMetadataItemRecordingDateKey: Stringlet NSMetadataItemRecordingYearKey: Stringlet NSMetadataItemRedEyeOnOffKey: Stringlet NSMetadataItemResolutionHeightDPIKey: Stringlet NSMetadataItemResolutionWidthDPIKey: Stringlet NSMetadataItemRightsKey: Stringlet NSMetadataItemSecurityMethodKey: Stringlet NSMetadataItemSpeedKey: Stringlet NSMetadataItemStarRatingKey: Stringlet NSMetadataItemStateOrProvinceKey: Stringlet NSMetadataItemStreamableKey: Stringlet NSMetadataItemSubjectKey: Stringlet NSMetadataItemTempoKey: Stringlet NSMetadataItemTextContentKey: Stringlet NSMetadataItemThemeKey: Stringlet NSMetadataItemTimeSignatureKey: Stringlet NSMetadataItemTimestampKey: Stringlet NSMetadataItemTitleKey: Stringlet NSMetadataItemTotalBitRateKey: Stringlet NSMetadataItemURLKey: Stringlet NSMetadataItemVersionKey: Stringlet NSMetadataItemVideoBitRateKey: Stringlet NSMetadataItemWhereFromsKey: Stringlet NSMetadataItemWhiteBalanceKey: Stringlet NSMetadataQueryAccessibleUbiquitousExternalDocumentsScope: StringSearch 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.
let NSMetadataQueryIndexedLocalComputerScope: StringSearch all indexed local mounted volumes including the current user’s home directory (even if the home directory is remote).
let NSMetadataQueryIndexedNetworkScope: StringSearch all indexed user-mounted remote volumes.
let NSMetadataQueryLocalComputerScope: StringSearch all local mounted volumes, including the user home directory. The user’s home directory is searched even if it is a remote volume.
let NSMetadataQueryNetworkScope: StringSearch all user-mounted remote volumes.
let NSMetadataQueryResultContentRelevanceAttribute: Stringlet NSMetadataQueryUbiquitousDataScope: StringSearch all files not in the Documents directories of the app’s iCloud container directories.
let NSMetadataQueryUbiquitousDocumentsScope: StringSearch all files in the Documents directories of the app’s iCloud container directories.
let NSMetadataQueryUpdateAddedItemsKey: StringThe 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.
let NSMetadataQueryUpdateChangedItemsKey: StringThe 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.
let NSMetadataQueryUpdateRemovedItemsKey: StringThe 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.
let NSMetadataQueryUserHomeScope: StringSearch the user’s home directory.
let NSMetadataUbiquitousItemContainerDisplayNameKey: Stringlet NSMetadataUbiquitousItemDownloadRequestedKey: Stringlet NSMetadataUbiquitousItemDownloadingErrorKey: Stringlet NSMetadataUbiquitousItemDownloadingStatusCurrent: Stringlet NSMetadataUbiquitousItemDownloadingStatusDownloaded: Stringlet NSMetadataUbiquitousItemDownloadingStatusKey: Stringlet NSMetadataUbiquitousItemDownloadingStatusNotDownloaded: Stringlet NSMetadataUbiquitousItemHasUnresolvedConflictsKey: Stringlet NSMetadataUbiquitousItemIsDownloadingKey: Stringlet NSMetadataUbiquitousItemIsExternalDocumentKey: Stringlet NSMetadataUbiquitousItemIsUploadedKey: Stringlet NSMetadataUbiquitousItemIsUploadingKey: Stringlet NSMetadataUbiquitousItemPercentDownloadedKey: Stringlet NSMetadataUbiquitousItemPercentUploadedKey: Stringlet NSMetadataUbiquitousItemURLInLocalContainerKey: Stringlet NSMetadataUbiquitousItemUploadingErrorKey: Stringlet NSNotFound: Intlet NSNotFound: Intlet NSNotificationDeliverImmediately: DistributedNotificationCenter.Optionslet NSNotificationPostToAllSessions: DistributedNotificationCenter.Optionslet NSOSStatusErrorDomain: StringMac OS 9/Carbon errors
let NSPOSIXErrorDomain: StringPOSIX/BSD errors
let NSPersonNameComponentDelimiter: Stringlet NSPersonNameComponentFamilyName: Stringlet NSPersonNameComponentGivenName: Stringlet NSPersonNameComponentKey: Stringlet NSPersonNameComponentMiddleName: Stringlet NSPersonNameComponentNickname: Stringlet NSPersonNameComponentPrefix: Stringlet NSPersonNameComponentSuffix: Stringlet NSRepublicOfChinaCalendar: StringIdentifier for the Republic of China (Taiwan) calendar.
let NSStreamSOCKSErrorDomain: StringThe error domain used by NSError when reporting SOCKS errors.
let NSStreamSocketSSLErrorDomain: StringThe error domain used by NSError when reporting SSL errors.
let NSTextCheckingAirlineKey: StringA key that corresponds to the airline of a transit result.
let NSTextCheckingCityKey: StringA key that corresponds to the city component of the address.
let NSTextCheckingCountryKey: StringA key that corresponds to the country component of the address.
let NSTextCheckingFlightKey: StringA key that corresponds to the flight component of a transit result.
let NSTextCheckingJobTitleKey: StringA key that corresponds to the job component of the address.
let NSTextCheckingNameKey: StringA key that corresponds to the name component of the address.
let NSTextCheckingOrganizationKey: StringA key that corresponds to the organization component of the address.
let NSTextCheckingPhoneKey: StringA key that corresponds to the phone number component of the address.
let NSTextCheckingStateKey: StringA key that corresponds to the state or province component of the address.
let NSTextCheckingStreetKey: StringA key that corresponds to the street address component of the address.
let NSTextCheckingZIPKey: StringA key that corresponds to the zip code or postal code component of the address.
var NSTimeIntervalSince1970: DoubleThe number of seconds from 1 January 1970 to the reference date, 1 January 2001.
let NSURLAuthenticationMethodClientCertificate: StringUse client certificate authentication for this protection space.
let NSURLAuthenticationMethodDefault: StringUse the default authentication method for a protocol.
let NSURLAuthenticationMethodHTMLForm: StringUse HTML form authentication for this protection space.
let NSURLAuthenticationMethodHTTPBasic: StringUse HTTP basic authentication for this protection space.
let NSURLAuthenticationMethodHTTPDigest: StringUse HTTP digest authentication for this protection space.
let NSURLAuthenticationMethodNTLM: StringUse NTLM authentication for this protection space.
let NSURLAuthenticationMethodNegotiate: StringNegotiate whether to use Kerberos or NTLM authentication for this protection space.
let NSURLAuthenticationMethodServerTrust: StringPerform server trust authentication (certificate validation) for this protection space.
let NSURLCredentialStorageRemoveSynchronizableCredentials: StringThe corresponding value is an NSNumber object representing a Boolean value that indicates whether credentials which contain the synchronizable attribute should be removed.
let NSURLErrorBackgroundTaskCancelledReasonKey: StringAn NSNumber value indicating why a background task was cancelled. For a list of possible values, see NSURLSession-Specific NSError userInfo Dictionary Keys.
let NSURLErrorFailingURLErrorKey: StringThe corresponding value is an NSURL containing the URL which caused a load to fail. This key is only present in the NSURLErrorDomain.
let NSURLErrorFailingURLPeerTrustErrorKey: StringThe corresponding value is the SecTrust object representing the state of a failed SSL handshake. This key is only present in the NSURLErrorDomain.
let NSURLErrorFailingURLStringErrorKey: StringThe corresponding value is an NSString object for the URL which caused a load to fail. This key is only present in the NSURLErrorDomain.
let NSURLErrorKey: StringThe corresponding value is an NSURL object.
let NSURLFileScheme: StringIdentifies a URL that points to a file on a mounted volume.
let NSURLProtectionSpaceFTP: StringThe protocol type for FTP.
let NSURLProtectionSpaceFTPProxy: StringThe proxy type for FTP proxies.
let NSURLProtectionSpaceHTTP: StringThe protocol type for HTTP.
let NSURLProtectionSpaceHTTPProxy: StringThe proxy type for HTTP proxies.
let NSURLProtectionSpaceHTTPS: StringThe protocol type for HTTPS.
let NSURLProtectionSpaceHTTPSProxy: StringThe proxy type for HTTPS proxies.
let NSURLProtectionSpaceSOCKSProxy: StringThe proxy type for SOCKS proxies.
let NSURLSessionDownloadTaskResumeData: StringA key in the error dictionary that provides resume data.
let NSURLSessionTransferSizeUnknown: Int64The total size of the transfer cannot be determined.
let NSUbiquitousKeyValueStoreChangeReasonKey: Stringlet NSUbiquitousKeyValueStoreChangedKeysKey: Stringlet NSUndoCloseGroupingRunLoopOrdering: Intlet NSUndoManagerGroupIsDiscardableKey: Stringlet NSUserActivityTypeBrowsingWeb: Stringlet NSUserNotificationDefaultSoundName: StringThe default notification sound.
let NSFileManagerUnmountDissentingProcessIdentifierErrorKey: Stringlet NSFilePathErrorKey: StringContains the file path of the error.
let NSHelpAnchorErrorKey: StringThe corresponding value is an NSString containing the localized help corresponding to the help button. See helpAnchor for more information.
var kCFStringEncodingASCII: CFStringEncodinglet NSLocalizedDescriptionKey: StringThe corresponding value is a localized string representation of the error that, if present, will be returned by localizedDescription.
let NSLocalizedFailureReasonErrorKey: StringThe corresponding value is a localized string representation containing the reason for the failure that, if present, will be returned by localizedFailureReason.
let NSLocalizedRecoveryOptionsErrorKey: StringThe corresponding value is an array containing the localized titles of buttons appropriate for displaying in an alert panel.
let NSLocalizedRecoverySuggestionErrorKey: StringThe corresponding value is a string containing the localized recovery suggestion for the error.
let NSRecoveryAttempterErrorKey: StringThe corresponding value is an object that conforms to the NSErrorRecoveryAttempting informal protocol.
let NSStringEncodingErrorKey: StringThe corresponding value is an NSNumber object containing the NSStringEncoding value.
let NSUnderlyingErrorKey: StringThe corresponding value is an error that was encountered in an underlying implementation and caused the error that the receiver represents to occur.