Foundation Constants

Overview

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

Symbols

Enumerations

NSNot​Found

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 NSAllocate​Collectable and NSReallocate​Collectable.

NSEnumeration​Options

Options for Block enumeration operations.

Comparison​Result

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

NSSort​Options

Options for Block sorting operations.

Quality​Of​Service

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.

File​Manager.Search​Path​Directory

These constants specify the location of a variety of directories by the urls(for:​in:​) and url(for:​in:​appropriate​For:​create:​) File​Manager methods.

File​Manager.Search​Path​Domain​Mask

Search path domain constants specifying base locations for the File​Manager.Search​Path​Directory type. These constants are used by the urls(for:​in:​) and url(for:​in:​appropriate​For:​create:​) File​Manager 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”.

i​Cloud Error Codes

These error codes are used by error objects associated with the NSURLUbiquitous​Item​Downloading​Error​Key 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.

NSHash​Table Callbacks

Predefined sets of callbacks for NSHash​Table.

NSMap​Table Key Call Backs

Predefined sets of callbacks for NSMap​Table keys.

NSMap​Table Value Callbacks

These are predefined sets of callbacks for NSMap​Table 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

Alignment​Options

These constants are used by the NSIntegral​Rect​With​Options(_:​_:​) function and other related methods, such as backing​Aligned​Rect(_:​options:​).

Numeric Constants

NSDecimal Constants

Constants used by NSDecimal.

NSInteger and NSUInteger Maximum and Minimum Values

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

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

let NSApple​Event​Time​Out​Default:​ Double

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.

let NSApple​Event​Time​Out​None:​ Double

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

let NSAssertion​Handler​Key:​ String
let NSBuddhist​Calendar:​ String

Identifier for the Buddhist calendar.

Deprecated
let NSBundle​Resource​Request​Loading​Priority​Urgent:​ Double
let NSChinese​Calendar:​ String

Identifier for the Chinese calendar.

Deprecated
let NSEdge​Insets​Zero:​ Edge​Insets
let NSExtension​Item​Attachments​Key:​ String

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

let NSExtension​Item​Attributed​Content​Text​Key:​ String

An optional string describing the extension item content.

let NSExtension​Item​Attributed​Title​Key:​ String

An optional title of the extension item.

let NSExtension​Items​And​Errors​Key:​ String
let NSExtension​Java​Script​Finalize​Argument​Key:​ String

A key whose value is an item of type k​UTType​Property​List. The item contains an NSDictionary that contains the arguments to be passed to a JavaScript finalize method.

let NSExtension​Java​Script​Preprocessing​Results​Key:​ String

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

var NSFoundation​Version​Number10_10_4:​ Doublevar NSFoundation​Version​Number10_10_5:​ Int32var NSFoundation​Version​Number10_10_Max:​ Int32var NSFoundation​Version​Number10_11:​ Int32var NSFoundation​Version​Number10_11_1:​ Doublevar NSFoundation​Version​Number10_11_2:​ Doublevar NSFoundation​Version​Number10_11_3:​ Doublevar NSFoundation​Version​Number10_11_4:​ Int32var NSFoundation​Version​Number10_11_Max:​ Int32var NSFoundation​Version​Number_i​OS_8_4:​ Doublevar NSFoundation​Version​Number_i​OS_8_x_Max:​ Int32var NSFoundation​Version​Number_i​OS_9_0:​ Doublevar NSFoundation​Version​Number_i​OS_9_1:​ Doublevar NSFoundation​Version​Number_i​OS_9_2:​ Doublevar NSFoundation​Version​Number_i​OS_9_3:​ Doublevar NSFoundation​Version​Number_i​OS_9_4:​ Doublevar NSFoundation​Version​Number_i​OS_9_x_Max:​ Int32
var NSFoundation​Version​With​File​Manager​Resource​Fork​Support:​ Int32

The version of the Foundation framework in which NSFile​Manager first supported resource forks.

let NSGrammar​Corrections:​ String

The value for the NSGrammar​Corrections 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. NSGrammar​User​Description or NSGrammar​Corrections must be supplied in order for correction guidance to be presented to the user.

let NSGrammar​Range:​ String

The value for the NSGrammar​Range 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 NSGrammar​Range for the first four characters of the overall sentence range should be {0, 4}. If the NSGrammar​Range key is not present in the dictionary it is assumed to be equal to the overall sentence range.

let NSGrammar​User​Description:​ String

The value for the NSGrammar​User​Description 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 NSGrammar​User​Description be supplied in all cases, however, NSGrammar​User​Description or NSGrammar​Corrections must be supplied in order for correction guidance to be presented to the user.

let NSGregorian​Calendar:​ String

Identifier for the Gregorian calendar.

Deprecated
let NSHash​Table​Weak​Memory:​ NSPointer​Functions.Options

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

let NSHebrew​Calendar:​ String

Identifier for the Hebrew calendar.

Deprecated
let NSISO8601Calendar:​ String

Identifier for the ISO8601 calendar.

Deprecated
let NSIndian​Calendar:​ String

Identifier for the Indian calendar.

Deprecated
let NSIslamic​Calendar:​ String

Identifier for the Islamic calendar.

Deprecated
let NSIslamic​Civil​Calendar:​ String

Identifier for the Islamic civil calendar.

Deprecated
let NSItem​Provider​Preferred​Image​Size​Key:​ String

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.

let NSJapanese​Calendar:​ String

Identifier for the Japanese calendar.

Deprecated
let NSKeyed​Archive​Root​Object​Key:​ String

Archives created using the class method archived​Data(with​Root​Object:​) use this key for the root object in the hierarchy of encoded objects. The NSKeyed​Unarchiver class method unarchive​Object(with:​) looks for this root key as well.

let NSLinguistic​Tag​Other:​ String

The token indicates a token other than those currently defined.

let NSLinguistic​Tag​Other​Punctuation:​ String

This token is punctuation not recognized as another token type.

let NSLinguistic​Tag​Punctuation:​ String

The token indicates punctuation.

let NSLinguistic​Tag​Scheme​Language:​ String

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.

let NSLinguistic​Tag​Scheme​Lemma:​ String

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

let NSLinguistic​Tag​Scheme​Lexical​Class:​ String

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.

let NSLinguistic​Tag​Scheme​Name​Type:​ String

This tag scheme classifies tokens as to whether they are part of named entities of various types or not. The possible tags are: NSLinguistic​Tag​Personal​Name, NSLinguistic​Tag​Place​Name, or NSLinguistic​Tag​Organization​Name. For this scheme a client may use pointer equality to compare the values with the tag constants.

let NSLinguistic​Tag​Scheme​Name​Type​Or​Lexical​Class:​ String

This tag scheme follows NSLinguistic​Tag​Scheme​Name​Type for names, NSLinguistic​Tag​Scheme​Lexical​Class 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 NSLinguistic​Tag​Scheme​Script:​ String

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.

let NSLinguistic​Tag​Scheme​Token​Type:​ String

This tag scheme classifies tokens according to their broad type: word, punctuation, whitespace, etc. The possible tags are: NSLinguistic​Tag​Word, NSLinguistic​Tag​Punctuation, NSLinguistic​Tag​Whitespace, or NSLinguistic​Tag​Other. For this scheme a client may use pointer equality to compare the values with the tag constants.

let NSLinguistic​Tag​Whitespace:​ String

The token indicates white space of any sort.

let NSLinguistic​Tag​Word:​ String

The token indicates a word.

let NSLoaded​Classes:​ String

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

let NSMap​Table​Copy​In:​ NSPointer​Functions.Optionslet NSMap​Table​Object​Pointer​Personality:​ NSPointer​Functions.Optionslet NSMap​Table​Strong​Memory:​ NSPointer​Functions.Optionslet NSMap​Table​Weak​Memory:​ NSPointer​Functions.Optionslet NSMetadata​Item​Acquisition​Make​Key:​ Stringlet NSMetadata​Item​Acquisition​Model​Key:​ Stringlet NSMetadata​Item​Album​Key:​ Stringlet NSMetadata​Item​Altitude​Key:​ Stringlet NSMetadata​Item​Aperture​Key:​ Stringlet NSMetadata​Item​Apple​Loop​Descriptors​Key:​ Stringlet NSMetadata​Item​Apple​Loops​Key​Filter​Type​Key:​ Stringlet NSMetadata​Item​Apple​Loops​Loop​Mode​Key:​ Stringlet NSMetadata​Item​Apple​Loops​Root​Key​Key:​ Stringlet NSMetadata​Item​Application​Categories​Key:​ Stringlet NSMetadata​Item​Attribute​Change​Date​Key:​ Stringlet NSMetadata​Item​Audiences​Key:​ Stringlet NSMetadata​Item​Audio​Bit​Rate​Key:​ Stringlet NSMetadata​Item​Audio​Channel​Count​Key:​ Stringlet NSMetadata​Item​Audio​Encoding​Application​Key:​ Stringlet NSMetadata​Item​Audio​Sample​Rate​Key:​ Stringlet NSMetadata​Item​Audio​Track​Number​Key:​ Stringlet NSMetadata​Item​Author​Addresses​Key:​ Stringlet NSMetadata​Item​Author​Email​Addresses​Key:​ Stringlet NSMetadata​Item​Authors​Key:​ Stringlet NSMetadata​Item​Bits​Per​Sample​Key:​ Stringlet NSMetadata​Item​CFBundle​Identifier​Key:​ Stringlet NSMetadata​Item​Camera​Owner​Key:​ Stringlet NSMetadata​Item​City​Key:​ Stringlet NSMetadata​Item​Codecs​Key:​ Stringlet NSMetadata​Item​Color​Space​Key:​ Stringlet NSMetadata​Item​Comment​Key:​ Stringlet NSMetadata​Item​Composer​Key:​ Stringlet NSMetadata​Item​Contact​Keywords​Key:​ Stringlet NSMetadata​Item​Content​Creation​Date​Key:​ Stringlet NSMetadata​Item​Content​Modification​Date​Key:​ Stringlet NSMetadata​Item​Content​Type​Key:​ Stringlet NSMetadata​Item​Content​Type​Tree​Key:​ Stringlet NSMetadata​Item​Contributors​Key:​ Stringlet NSMetadata​Item​Copyright​Key:​ Stringlet NSMetadata​Item​Country​Key:​ Stringlet NSMetadata​Item​Coverage​Key:​ Stringlet NSMetadata​Item​Creator​Key:​ Stringlet NSMetadata​Item​Date​Added​Key:​ Stringlet NSMetadata​Item​Delivery​Type​Key:​ Stringlet NSMetadata​Item​Description​Key:​ Stringlet NSMetadata​Item​Director​Key:​ Stringlet NSMetadata​Item​Display​Name​Key:​ Stringlet NSMetadata​Item​Downloaded​Date​Key:​ Stringlet NSMetadata​Item​Due​Date​Key:​ Stringlet NSMetadata​Item​Duration​Seconds​Key:​ Stringlet NSMetadata​Item​EXIFGPSVersion​Key:​ Stringlet NSMetadata​Item​EXIFVersion​Key:​ Stringlet NSMetadata​Item​Editors​Key:​ Stringlet NSMetadata​Item​Email​Addresses​Key:​ Stringlet NSMetadata​Item​Encoding​Applications​Key:​ Stringlet NSMetadata​Item​Executable​Architectures​Key:​ Stringlet NSMetadata​Item​Executable​Platform​Key:​ Stringlet NSMetadata​Item​Exposure​Mode​Key:​ Stringlet NSMetadata​Item​Exposure​Program​Key:​ Stringlet NSMetadata​Item​Exposure​Time​Seconds​Key:​ Stringlet NSMetadata​Item​Exposure​Time​String​Key:​ Stringlet NSMetadata​Item​FNumber​Key:​ Stringlet NSMetadata​Item​FSContent​Change​Date​Key:​ Stringlet NSMetadata​Item​FSCreation​Date​Key:​ Stringlet NSMetadata​Item​FSName​Key:​ Stringlet NSMetadata​Item​FSSize​Key:​ Stringlet NSMetadata​Item​Finder​Comment​Key:​ Stringlet NSMetadata​Item​Flash​On​Off​Key:​ Stringlet NSMetadata​Item​Focal​Length35mm​Key:​ Stringlet NSMetadata​Item​Focal​Length​Key:​ Stringlet NSMetadata​Item​Fonts​Key:​ Stringlet NSMetadata​Item​GPSArea​Information​Key:​ Stringlet NSMetadata​Item​GPSDOPKey:​ Stringlet NSMetadata​Item​GPSDate​Stamp​Key:​ Stringlet NSMetadata​Item​GPSDest​Bearing​Key:​ Stringlet NSMetadata​Item​GPSDest​Distance​Key:​ Stringlet NSMetadata​Item​GPSDest​Latitude​Key:​ Stringlet NSMetadata​Item​GPSDest​Longitude​Key:​ Stringlet NSMetadata​Item​GPSDifferental​Key:​ Stringlet NSMetadata​Item​GPSMap​Datum​Key:​ Stringlet NSMetadata​Item​GPSMeasure​Mode​Key:​ Stringlet NSMetadata​Item​GPSProcessing​Method​Key:​ Stringlet NSMetadata​Item​GPSStatus​Key:​ Stringlet NSMetadata​Item​GPSTrack​Key:​ Stringlet NSMetadata​Item​Genre​Key:​ Stringlet NSMetadata​Item​Has​Alpha​Channel​Key:​ Stringlet NSMetadata​Item​Headline​Key:​ Stringlet NSMetadata​Item​ISOSpeed​Key:​ Stringlet NSMetadata​Item​Identifier​Key:​ Stringlet NSMetadata​Item​Image​Direction​Key:​ Stringlet NSMetadata​Item​Information​Key:​ Stringlet NSMetadata​Item​Instant​Message​Addresses​Key:​ Stringlet NSMetadata​Item​Instructions​Key:​ Stringlet NSMetadata​Item​Is​Application​Managed​Key:​ Stringlet NSMetadata​Item​Is​General​MIDISequence​Key:​ Stringlet NSMetadata​Item​Is​Likely​Junk​Key:​ Stringlet NSMetadata​Item​Is​Ubiquitous​Key:​ Stringlet NSMetadata​Item​Key​Signature​Key:​ Stringlet NSMetadata​Item​Keywords​Key:​ Stringlet NSMetadata​Item​Kind​Key:​ Stringlet NSMetadata​Item​Languages​Key:​ Stringlet NSMetadata​Item​Last​Used​Date​Key:​ Stringlet NSMetadata​Item​Latitude​Key:​ Stringlet NSMetadata​Item​Layer​Names​Key:​ Stringlet NSMetadata​Item​Lens​Model​Key:​ Stringlet NSMetadata​Item​Longitude​Key:​ Stringlet NSMetadata​Item​Lyricist​Key:​ Stringlet NSMetadata​Item​Max​Aperture​Key:​ Stringlet NSMetadata​Item​Media​Types​Key:​ Stringlet NSMetadata​Item​Metering​Mode​Key:​ Stringlet NSMetadata​Item​Musical​Genre​Key:​ Stringlet NSMetadata​Item​Musical​Instrument​Category​Key:​ Stringlet NSMetadata​Item​Musical​Instrument​Name​Key:​ Stringlet NSMetadata​Item​Named​Location​Key:​ Stringlet NSMetadata​Item​Number​Of​Pages​Key:​ Stringlet NSMetadata​Item​Organizations​Key:​ Stringlet NSMetadata​Item​Orientation​Key:​ Stringlet NSMetadata​Item​Original​Format​Key:​ Stringlet NSMetadata​Item​Original​Source​Key:​ Stringlet NSMetadata​Item​Page​Height​Key:​ Stringlet NSMetadata​Item​Page​Width​Key:​ Stringlet NSMetadata​Item​Participants​Key:​ Stringlet NSMetadata​Item​Path​Key:​ Stringlet NSMetadata​Item​Performers​Key:​ Stringlet NSMetadata​Item​Phone​Numbers​Key:​ Stringlet NSMetadata​Item​Pixel​Count​Key:​ Stringlet NSMetadata​Item​Pixel​Height​Key:​ Stringlet NSMetadata​Item​Pixel​Width​Key:​ Stringlet NSMetadata​Item​Producer​Key:​ Stringlet NSMetadata​Item​Profile​Name​Key:​ Stringlet NSMetadata​Item​Projects​Key:​ Stringlet NSMetadata​Item​Publishers​Key:​ Stringlet NSMetadata​Item​Recipient​Addresses​Key:​ Stringlet NSMetadata​Item​Recipient​Email​Addresses​Key:​ Stringlet NSMetadata​Item​Recipients​Key:​ Stringlet NSMetadata​Item​Recording​Date​Key:​ Stringlet NSMetadata​Item​Recording​Year​Key:​ Stringlet NSMetadata​Item​Red​Eye​On​Off​Key:​ Stringlet NSMetadata​Item​Resolution​Height​DPIKey:​ Stringlet NSMetadata​Item​Resolution​Width​DPIKey:​ Stringlet NSMetadata​Item​Rights​Key:​ Stringlet NSMetadata​Item​Security​Method​Key:​ Stringlet NSMetadata​Item​Speed​Key:​ Stringlet NSMetadata​Item​Star​Rating​Key:​ Stringlet NSMetadata​Item​State​Or​Province​Key:​ Stringlet NSMetadata​Item​Streamable​Key:​ Stringlet NSMetadata​Item​Subject​Key:​ Stringlet NSMetadata​Item​Tempo​Key:​ Stringlet NSMetadata​Item​Text​Content​Key:​ Stringlet NSMetadata​Item​Theme​Key:​ Stringlet NSMetadata​Item​Time​Signature​Key:​ Stringlet NSMetadata​Item​Timestamp​Key:​ Stringlet NSMetadata​Item​Title​Key:​ Stringlet NSMetadata​Item​Total​Bit​Rate​Key:​ Stringlet NSMetadata​Item​URLKey:​ Stringlet NSMetadata​Item​Version​Key:​ Stringlet NSMetadata​Item​Video​Bit​Rate​Key:​ Stringlet NSMetadata​Item​Where​Froms​Key:​ Stringlet NSMetadata​Item​White​Balance​Key:​ String
let NSMetadata​Query​Accessible​Ubiquitous​External​Documents​Scope:​ String

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 NSMetadata​Item​URLKey attributes return security-scoped NSURLs. For more information on working with security-scoped URLs, see Security-Scoped URLs in NSURL.

let NSMetadata​Query​Indexed​Local​Computer​Scope:​ String

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

let NSMetadata​Query​Indexed​Network​Scope:​ String

Search all indexed user-mounted remote volumes.

let NSMetadata​Query​Local​Computer​Scope:​ String

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

let NSMetadata​Query​Network​Scope:​ String

Search all user-mounted remote volumes.

let NSMetadata​Query​Result​Content​Relevance​Attribute:​ String
let NSMetadata​Query​Ubiquitous​Data​Scope:​ String

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

let NSMetadata​Query​Ubiquitous​Documents​Scope:​ String

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

let NSMetadata​Query​Update​Added​Items​Key:​ String

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

let NSMetadata​Query​Update​Changed​Items​Key:​ String

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

let NSMetadata​Query​Update​Removed​Items​Key:​ String

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

let NSMetadata​Ubiquitous​Item​Container​Display​Name​Key:​ Stringlet NSMetadata​Ubiquitous​Item​Download​Requested​Key:​ Stringlet NSMetadata​Ubiquitous​Item​Downloading​Error​Key:​ Stringlet NSMetadata​Ubiquitous​Item​Downloading​Status​Current:​ Stringlet NSMetadata​Ubiquitous​Item​Downloading​Status​Downloaded:​ Stringlet NSMetadata​Ubiquitous​Item​Downloading​Status​Key:​ Stringlet NSMetadata​Ubiquitous​Item​Downloading​Status​Not​Downloaded:​ Stringlet NSMetadata​Ubiquitous​Item​Has​Unresolved​Conflicts​Key:​ Stringlet NSMetadata​Ubiquitous​Item​Is​Downloading​Key:​ Stringlet NSMetadata​Ubiquitous​Item​Is​External​Document​Key:​ Stringlet NSMetadata​Ubiquitous​Item​Is​Uploaded​Key:​ Stringlet NSMetadata​Ubiquitous​Item​Is​Uploading​Key:​ Stringlet NSMetadata​Ubiquitous​Item​Percent​Downloaded​Key:​ Stringlet NSMetadata​Ubiquitous​Item​Percent​Uploaded​Key:​ Stringlet NSMetadata​Ubiquitous​Item​URLIn​Local​Container​Key:​ Stringlet NSMetadata​Ubiquitous​Item​Uploading​Error​Key:​ Stringlet NSNot​Found:​ Intlet NSNot​Found:​ Intlet NSNotification​Deliver​Immediately:​ Distributed​Notification​Center.Optionslet NSNotification​Post​To​All​Sessions:​ Distributed​Notification​Center.Options
let NSPersian​Calendar:​ String

Identifier for the Persian calendar.

Deprecated
let NSPerson​Name​Component​Delimiter:​ Stringlet NSPerson​Name​Component​Family​Name:​ Stringlet NSPerson​Name​Component​Given​Name:​ Stringlet NSPerson​Name​Component​Key:​ Stringlet NSPerson​Name​Component​Middle​Name:​ Stringlet NSPerson​Name​Component​Nickname:​ Stringlet NSPerson​Name​Component​Prefix:​ Stringlet NSPerson​Name​Component​Suffix:​ String
let NSRepublic​Of​China​Calendar:​ String

Identifier for the Republic of China (Taiwan) calendar.

Deprecated
let NSStream​SOCKSError​Domain:​ String

The error domain used by NSError when reporting SOCKS errors.

let NSStream​Socket​SSLError​Domain:​ String

The error domain used by NSError when reporting SSL errors.

let NSText​Checking​Airline​Key:​ String

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

let NSText​Checking​City​Key:​ String

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

let NSText​Checking​Country​Key:​ String

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

let NSText​Checking​Flight​Key:​ String

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

let NSText​Checking​Job​Title​Key:​ String

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

let NSText​Checking​Name​Key:​ String

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

let NSText​Checking​Organization​Key:​ String

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

let NSText​Checking​Phone​Key:​ String

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

let NSText​Checking​State​Key:​ String

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

let NSText​Checking​Street​Key:​ String

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

let NSText​Checking​ZIPKey:​ String

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

var NSTime​Interval​Since1970:​ Double

The number of seconds from 1 January 1970 to the reference date, 1 January 2001.

let NSURLAuthentication​Method​Client​Certificate:​ String

Use client certificate authentication for this protection space.

let NSURLAuthentication​Method​Default:​ String

Use the default authentication method for a protocol.

let NSURLAuthentication​Method​HTMLForm:​ String

Use HTML form authentication for this protection space.

let NSURLAuthentication​Method​HTTPBasic:​ String

Use HTTP basic authentication for this protection space.

let NSURLAuthentication​Method​HTTPDigest:​ String

Use HTTP digest authentication for this protection space.

let NSURLAuthentication​Method​NTLM:​ String

Use NTLM authentication for this protection space.

let NSURLAuthentication​Method​Negotiate:​ String

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

let NSURLAuthentication​Method​Server​Trust:​ String

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

let NSURLCredential​Storage​Remove​Synchronizable​Credentials:​ String

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

let NSURLError​Background​Task​Cancelled​Reason​Key:​ String

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

let NSURLError​Failing​URLError​Key:​ String

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

let NSURLError​Failing​URLPeer​Trust​Error​Key:​ String

The corresponding value is the Sec​Trust object representing the state of a failed SSL handshake. This key is only present in the NSURLError​Domain.

let NSURLError​Failing​URLString​Error​Key:​ String

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

let NSURLError​Key:​ String

The corresponding value is an NSURL object.

let NSURLFile​Scheme:​ String

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

let NSURLSession​Download​Task​Resume​Data:​ String

A key in the error dictionary that provides resume data.

let NSURLSession​Transfer​Size​Unknown:​ Int64

The total size of the transfer cannot be determined.

let NSUbiquitous​Key​Value​Store​Change​Reason​Key:​ Stringlet NSUbiquitous​Key​Value​Store​Changed​Keys​Key:​ Stringlet NSUndo​Close​Grouping​Run​Loop​Ordering:​ Intlet NSUndo​Manager​Group​Is​Discardable​Key:​ Stringlet NSUser​Activity​Type​Browsing​Web:​ Stringlet NSFile​Manager​Unmount​Dissenting​Process​Identifier​Error​Key:​ String
let NSFile​Path​Error​Key:​ String

Contains the file path of the error.

let NSHelp​Anchor​Error​Key:​ String

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

var k​CFString​Encoding​ASCII:​ CFString​Encoding
let NSLocalized​Description​Key:​ String

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

let NSLocalized​Failure​Reason​Error​Key:​ String

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

let NSLocalized​Recovery​Options​Error​Key:​ String

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

let NSLocalized​Recovery​Suggestion​Error​Key:​ String

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

let NSRecovery​Attempter​Error​Key:​ String

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

let NSString​Encoding​Error​Key:​ String

The corresponding value is an NSNumber object containing the NSString​Encoding value.

let NSUnderlying​Error​Key:​ String

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