TechnologiesFoundation, System & Concurrency

Foundation

iOSmacOStvOSwatchOSvisionOS

Foundation provides the base layer of data types, collections, strings, dates, files, URLs, networking, and OS services that Apple apps are built on. You work with core value and reference types such as NSArray and NSMutableArray, NSData, NSDate and NSCalendar, NSAttributedString, Decimal and NSDecimalNumber, and NSCharacterSet to model and manipulate your app's data. The framework also covers archiving and serialization through NSCoder, NSArchiver, and NSUnarchiver, formatting with DateFormatter, DateComponentsFormatter, and ByteCountFormatter, and supporting services like Bundle, NSCache, and NSBackgroundActivityScheduler. It is available on iOS, macOS, tvOS, watchOS, and visionOS.

Collections 19

Ordered, keyed, and set-based container types for storing and organizing objects.

  • Cl
    NSArray
    A static ordered collection of objects.
  • Cl
    NSMutableArray
    A dynamic ordered collection of objects.
  • Cl
    NSDictionary
    A static collection of objects associated with unique keys.
  • Cl
    NSMutableDictionary
    A dynamic collection of objects associated with unique keys.
  • Cl
    NSSet
    A static, unordered collection of unique objects.
  • Cl
    NSMutableSet
    A dynamic unordered collection of unique objects.
  • Cl
    NSCountedSet
    A mutable, unordered collection of distinct objects that may appear more than once in the collection.
  • Cl
    NSOrderedSetmacOS 10.7+
    A static, ordered collection of unique objects.
  • Cl
    NSMutableOrderedSetmacOS 10.7+
    A dynamic, ordered collection of unique objects.
  • Cl
    NSOrderedCollectionChangemacOS 10.15+
    An object that represents an indexed change within an ordered collection.
  • Cl
    NSOrderedCollectionDifferencemacOS 10.15+
    An object representing the difference between two ordered collections.
  • Cl
    NSIndexSet
    An immutable collection of unique integer values that represent indexes in another collection.
  • Cl
    NSMutableIndexSet
    A mutable collection of unique integer values that represent indexes in another collection.
  • Cl
    NSIndexPath
    A list of indexes that together represent the path to a specific location in a tree of nested arrays.
  • Cl
    NSEnumerator
    An abstract class whose subclasses enumerate collections of objects, such as arrays and dictionaries.
  • Cl
    NSHashTablemacOS 10.5+
    A collection similar to a set, but with broader range of available memory semantics.
  • Cl
    NSMapTablemacOS 10.5+
    A collection similar to a dictionary, but with a broader range of available memory semantics.
  • Cl
    NSPointerArraymacOS 10.5+
    A collection similar to an array, but with a broader range of available memory semantics.
  • Cl
    NSPointerFunctionsmacOS 10.5+
    An instance of `NSPointerFunctions` defines callout functions appropriate for managing a pointer reference held somewhere else.

Strings and Text 13

Mutable and attributed string types plus linguistic and text-analysis utilities.

  • Cl
    NSString
    A static, plain-text Unicode string object.
  • Cl
    NSMutableString
    A dynamic plain-text Unicode string object.
  • Cl
    NSAttributedStringmacOS 10.0+
    A string of text that manages data, layout, and stylistic information for ranges of characters to support rendering.
  • Cl
    NSMutableAttributedStringmacOS 10.0+
    A mutable string with associated attributes (such as visual style, hyperlinks, or accessibility data) for portions of its text.
  • Cl
    NSCharacterSet
    An object representing a fixed set of Unicode character values for use in search operations.
  • Cl
    NSMutableCharacterSet
    An object representing a mutable set of Unicode character values for use in search operations.
  • Cl
    Scanner
    A string parser that scans for substrings or characters in a character set, and for numeric values from decimal, hexadecimal, and floating-point representations.
  • Cl
    NSLinguisticTagger
    Analyze natural language text to tag part of speech and lexical class, identify names, perform lemmatization, and determine the language and script.
  • Cl
    NSOrthographymacOS 10.6+
    A description of the linguistic content of natural language text, typically used for spelling and grammar checking.
  • Cl
    NSSpellServer
    A server that your app uses to provide a spell checker service to other apps running in the system.
  • Cl
    NSRegularExpressionmacOS 10.7+
    An immutable representation of a compiled regular expression that you apply to Unicode strings.
  • Cl
    NSDataDetectormacOS 10.7+
    A specialized regular expression object that matches natural language text for predefined data patterns.
  • Cl
    NSTextCheckingResultmacOS 10.6+
    An occurrence of textual content found during the analysis of a block of text, such as when matching a regular expression.

Numbers, Data, and Values 15

Core value types for numbers, raw bytes, decimals, measurements, and identifiers.

  • Cl
    NSData
    A static byte buffer in memory.
  • Cl
    NSMutableData
    An object representing a dynamic byte buffer in memory.
  • Cl
    NSPurgeableDatamacOS 10.6+
    A mutable data object containing bytes that can be discarded when they're no longer needed.
  • Cl
    NSDecimalNumber
    An object for representing and performing arithmetic on base-10 numbers.
  • Cl
    NSDecimalNumberHandler
    A class that adopts the decimal number behaviors protocol.
  • Cl
    NSNull
    A singleton object used to represent null values in collection objects that don't allow `nil` values.
  • Cl
    NSUUIDmacOS 10.8+
    A universally unique value that can be used to identify types, interfaces, and other items.
  • Cl
    NSMeasurementmacOS 10.12+
    A numeric quantity labeled with a unit of measure, with support for unit conversion and unit-aware calculations.
  • Cl
    UnitmacOS 10.12+
    An abstract class representing a unit of measure.
  • Cl
    DimensionmacOS 10.12+
    An abstract class representing a dimensional unit of measure.
  • Cl
    UnitConvertermacOS 10.12+
    An abstract class that provides a description of how to convert a unit to and from the base unit of its dimension.
  • Cl
    UnitConverterLinearmacOS 10.12+
    A description of how to convert between units using a linear equation.
  • Cl
    UnitAccelerationmacOS 10.12+
    A unit of measure for acceleration.
  • Cl
    UnitAnglemacOS 10.12+
    A unit of measure for planar angle and rotation.
  • Cl
    UnitAreamacOS 10.12+
    A unit of measure for area.

Dates and Times 5

Types for representing instants, calendars, time zones, and date intervals.

  • Cl
    NSDate
    A representation of a specific point in time, independent of any calendar or time zone.
  • Cl
    NSCalendar
    A definition of the relationships between calendar units and absolute points in time, providing features for calculation and comparison of dates.
  • Cl
    NSDateComponents
    An object that specifies a date or time in terms of units (such as year, month, day, hour, and minute) to be evaluated in a calendar system and time zone.
  • Cl
    NSDateIntervalmacOS 10.12+
    An object representing the span of time between a specific start date and end date.
  • Cl
    NSTimeZone
    Information about standard time conventions associated with a specific geopolitical region.

Formatting 16

Formatter objects that convert values to and from localized, human-readable text.

  • Cl
    Formatter
    An abstract class that declares an interface for objects that create, interpret, and validate the textual representation of values.
  • Cl
    DateFormatter
    A formatter that converts between dates and their textual representations.
  • Cl
    ISO8601DateFormattermacOS 10.12+
    A formatter that converts between dates and their ISO 8601 string representations.
  • Cl
    DateComponentsFormattermacOS 10.10+
    A formatter that creates string representations of quantities of time.
  • Cl
    DateIntervalFormattermacOS 10.10+
    A formatter that creates string representations of time intervals.
  • Cl
    RelativeDateTimeFormattermacOS 10.15+
    A formatter that creates locale-aware string representations of a relative date or time.
  • Cl
    NumberFormatter
    A formatter that converts between numeric values and their textual representations.
  • Cl
    ByteCountFormattermacOS 10.8+
    A formatter that converts a byte count value into a localized description that is formatted with the appropriate byte modifier (KB, MB, GB and so on).
  • Cl
    EnergyFormattermacOS 10.10+
    A formatter that provides localized descriptions of energy values.
  • Cl
    LengthFormattermacOS 10.10+
    A formatter that provides localized descriptions of linear distances, such as length and height measurements.
  • Cl
    MassFormattermacOS 10.10+
    A formatter that provides localized descriptions of mass and weight values.
  • Cl
    MeasurementFormattermacOS 10.12+
    A formatter that provides localized representations of units and measurements.
  • Cl
    ListFormattermacOS 10.15+
    An object that provides locale-correct formatting of a list of items using the appropriate separator and conjunction.
  • Cl
    PersonNameComponentsFormattermacOS 10.11+
    A formatter that provides localized representations of the components of a person's name.
  • Cl
    NSPersonNameComponentsmacOS 10.11+
    An object that manages the separate parts of a person's name to allow locale-aware formatting.
  • Cl
    NSSortDescriptor
    An immutable description of how to order a collection of objects according to a property common to all the objects.

Files and File System 13

Types for accessing, coordinating, and packaging files and directories.

  • Cl
    FileManager
    A convenient interface to the contents of the file system, and the primary means of interacting with it.
  • Cl
    FileHandle
    An object-oriented wrapper for a file descriptor.
  • Cl
    Pipe
    A one-way communications channel between related processes.
  • Cl
    FileWrappermacOS 10.0+
    A representation of a node (a file, directory, or symbolic link) in the file system.
  • Cl
    NSFileCoordinatormacOS 10.7+
    An object that coordinates the reading and writing of files and directories among file presenters.
  • Cl
    NSFileAccessIntentmacOS 10.10+
    The details of a coordinated-read or coordinated-write operation.
  • Cl
    NSFileVersionmacOS 10.7+
    A snapshot of a file at a specific point in time.
  • Cl
    NSFileProviderServicemacOS 10.13+
    A service that provides a custom communication channel between your app and a File Provider extension.
  • Cl
    NSFileSecuritymacOS 10.7+
    A stub class that encapsulates security information about a file.
  • Cl
    NSMetadataQuerymacOS 10.4+
    A query that you perform against Spotlight metadata.
  • Cl
    NSMetadataItemmacOS 10.4+
    The metadata associated with a file.
  • Cl
    NSMetadataQueryResultGroupmacOS 10.4+
    The `NSMetadataQueryResultGroup` class represents a collection of grouped attribute results returned by an ``NSMetadataQuery`` object.
  • Cl
    NSMetadataQueryAttributeValueTuplemacOS 10.4+
    The `NSMetadataQueryAttributeValueTuple` class represents attribute-value tuples, which are objects that contain the attribute name and value of a metadata attribute.

Streams and Ports 8

Byte streams and interprocess ports for moving data between endpoints.

  • Cl
    Stream
    An abstract class representing a stream.
  • Cl
    InputStream
    A stream that provides read-only stream functionality.
  • Cl
    OutputStream
    A stream that provides write-only stream functionality.
  • Cl
    Port
    An abstract class that represents a communication channel.
  • Cl
    NSMachPort
    A port that can be used as an endpoint for distributed object connections (or raw messaging).
  • Cl
    MessagePort
    A port that can be used as an endpoint for distributed object connections (or raw messaging).
  • Cl
    SocketPort
    A port that represents a BSD socket.
  • Cl
    PortMessage
    A low-level, operating system-independent type for inter-application (and inter-thread) messages.

URLs and Networking 32

URL loading, requests, responses, sessions, cookies, and credential management.

  • Cl
    NSURL
    An object that represents the location of a resource, such as an item on a remote server or the path to a local file.
  • Cl
    NSURLComponentsmacOS 10.9+
    An object that parses URLs into and constructs URLs from their constituent parts.
  • Cl
    NSURLQueryItemmacOS 10.10+
    An object representing a single name/value pair for an item in the query portion of a URL.
  • Cl
    NSURLRequestmacOS 10.2+
    A URL load request that is independent of protocol or URL scheme.
  • Cl
    NSMutableURLRequestmacOS 10.2+
    A mutable URL load request that is independent of protocol or URL scheme.
  • Cl
    URLResponsemacOS 10.2+
    The metadata associated with the response to a URL load request, independent of protocol and URL scheme.
  • Cl
    HTTPURLResponsemacOS 10.2+
    The metadata associated with the response to an HTTP protocol URL load request.
  • Cl
    NSURLConnectionmacOS 10.2+
    An object that enables you to start and stop URL requests.
  • Cl
    NSURLDownloadmacOS 10.2+
    An object that downloads a resource asynchronously and saves the data to a file.
  • Cl
    NSURLHandle
    An object that accesses and manages resource data indicated by a URL.
  • Cl
    URLSessionmacOS 10.9+
    An object that coordinates a group of related, network data transfer tasks.
  • Cl
    URLSessionConfigurationmacOS 10.9+
    A configuration object that defines behavior and policies for a URL session.
  • Cl
    URLSessionTaskmacOS 10.9+
    A task, like downloading a specific resource, performed in a URL session.
  • Cl
    URLSessionDataTaskmacOS 10.9+
    A URL session task that returns downloaded data directly to the app in memory.
  • Cl
    URLSessionUploadTaskmacOS 10.9+
    A URL session task that uploads data to the network in a request body.
  • Cl
    URLSessionDownloadTaskmacOS 10.9+
    A URL session task that stores downloaded data to a file.
  • Cl
    URLSessionStreamTaskmacOS 10.11+
    A URL session task that is stream-based.
  • Cl
    URLSessionWebSocketTaskmacOS 10.15+
    A URL session task that communicates over the WebSockets protocol standard.
  • Cl
    URLSessionTaskMetricsmacOS 10.12+
    An object encapsulating the metrics for a session task.
  • Cl
    URLSessionTaskTransactionMetricsmacOS 10.12+
    An object that encapsulates the performance metrics collected by the URL Loading System during the execution of a session task.
  • Cl
    URLCachemacOS 10.2+
    An object that maps URL requests to cached response objects.
  • Cl
    CachedURLResponsemacOS 10.2+
    A cached response to a URL request.
  • Cl
    URLProtocolmacOS 10.2+
    An abstract class that handles the loading of protocol-specific URL data.
  • Cl
    URLAuthenticationChallengemacOS 10.2+
    A challenge from a server requiring authentication from the client.
  • Cl
    URLProtectionSpacemacOS 10.2+
    A server or an area on a server, commonly referred to as a realm, that requires authentication.
  • Cl
    URLCredentialmacOS 10.2+
    An authentication credential consisting of information specific to the type of credential and the type of persistent storage to use, if any.
  • Cl
    URLCredentialStoragemacOS 10.2+
    The manager of a shared credentials cache.
  • Cl
    HTTPCookiemacOS 10.2+
    A representation of an HTTP cookie.
  • Cl
    HTTPCookieStoragemacOS 10.2+
    A container that manages the storage of cookies.
  • Cl
    Host
    A representation of an individual host on the network.
  • Cl
    NetService
    A network service that broadcasts its availability using multicast DNS.
  • Cl
    NetServiceBrowser
    A network service browser that finds published services on a network using multicast DNS.

Archiving and Serialization 7

Coders, archivers, and serializers for persisting and exchanging object graphs.

  • Cl
    NSCoder
    An abstract class that serves as the basis for objects that enable archiving and distribution of other objects.
  • Cl
    NSArchiver
    A coder that stores an object's data to an archive.
  • Cl
    NSUnarchiver
    A decoder that restores data from an archive.
  • Cl
    NSKeyedArchiver
    An encoder that stores an object's data to an archive referenced by keys.
  • Cl
    NSKeyedUnarchiver
    A decoder that restores data from an archive referenced by keys.
  • Cl
    JSONSerializationmacOS 10.7+
    An object that converts between JSON and the equivalent Foundation objects.
  • Cl
    PropertyListSerialization
    An object that converts between a property list and one of several serialized representations.

Predicates and Expressions 4

Types that define and evaluate logical queries over collections and objects.

  • Cl
    NSPredicatemacOS 10.4+
    A definition of logical conditions for constraining a search for a fetch or for in-memory filtering.
  • Cl
    NSComparisonPredicatemacOS 10.4+
    A specialized predicate for comparing expressions.
  • Cl
    NSCompoundPredicatemacOS 10.4+
    A specialized predicate that evaluates logical combinations of other predicates.
  • Cl
    NSExpressionmacOS 10.4+
    An expression for use in a comparison predicate.

Concurrency and Tasks 15

Operations, threads, run loops, timers, locks, and background scheduling.

  • Cl
    OperationmacOS 10.5+
    An abstract class that represents the code and data associated with a single task.
  • Cl
    BlockOperationmacOS 10.6+
    An operation that manages the concurrent execution of one or more blocks.
  • Cl
    OperationQueuemacOS 10.5+
    A queue that regulates the execution of operations.
  • Cl
    Thread
    A thread of execution.
  • Cl
    RunLoop
    The programmatic interface to objects that manage input sources.
  • Cl
    Timer
    A timer that fires after a certain time interval has elapsed, sending a specified message to a target object.
  • Cl
    Process
    An object that represents a subprocess of the current process.
  • Cl
    NSLock
    An object that coordinates the operation of multiple threads of execution within the same application.
  • Cl
    NSConditionLock
    A lock that can be associated with specific, user-defined conditions.
  • Cl
    NSRecursiveLock
    A lock that may be acquired multiple times by the same thread without causing a deadlock.
  • Cl
    NSConditionmacOS 10.5+
    A condition variable whose semantics follow those used for POSIX-style conditions.
  • Cl
    NSBackgroundActivitySchedulermacOS 10.10+
    A task scheduler suitable for low priority operations that can run in the background.
  • Cl
    ProgressmacOS 10.9+
    An object that conveys ongoing progress to the user for a specified task.
  • Cl
    NSProxy
    An abstract superclass defining an API for objects that act as stand-ins for other objects or for objects that don't exist yet.
  • Cl
    NSProtocolChecker
    An object that restricts the messages that can be sent to another object (referred to as the checker's delegate).

Notifications 6

Broadcast mechanisms for posting and observing notifications across an app.

  • Cl
    NSNotification
    A container for information broadcast through a notification center to all registered observers.
  • Cl
    NotificationCenter
    A notification dispatch mechanism that enables the broadcast of information to registered observers.
  • Cl
    DistributedNotificationCenter
    A notification dispatch mechanism that enables the broadcast of notifications across task boundaries.
  • Cl
    NotificationQueue
    A notification center buffer.
  • Cl
    NSKeyValueSharedObserversmacOS 15.0+
    A collection of key-value observations which may be registered with multiple
  • Cl
    NSKeyValueSharedObserversSnapshotmacOS 15.0+
    A collection of key-value observations which may be registered with multiple

App Services and Resources 10

Process information, bundles, caches, locale, and system-level services.

  • Cl
    ProcessInfo
    A collection of information about the current process.
  • Cl
    Bundle
    A representation of the code and resources stored in a bundle directory on disk.
  • Cl
    NSCachemacOS 10.6+
    A mutable collection you use to temporarily store transient key-value pairs that are subject to eviction when resources are low.
  • Cl
    NSLocale
    Information about linguistic, cultural, and technological conventions for use in formatting data for presentation.
  • Cl
    NSUbiquitousKeyValueStoremacOS 10.7+
    An iCloud-based container of key-value pairs you share among instances of your app
  • Cl
    NSDistributedLock
    A lock that multiple applications on multiple hosts can use to restrict access to some shared resource, such as a file.
  • Cl
    NSItemProvidermacOS 10.10+
    An item provider for conveying data or a file between processes during drag-and-drop or copy-and-paste activities, or from a host app to an app extension.
  • Cl
    NSExtensionContextmacOS 10.10+
    The host app context from which an app extension is invoked.
  • Cl
    NSExtensionItemmacOS 10.10+
    An immutable collection of values representing different aspects of an item for an extension to act upon.
  • Cl
    NSClassDescription
    An abstract class that provides the interface for querying the relationships and properties of a class.

Errors and Exceptions 3

Types for reporting recoverable errors and handling runtime exceptions.

  • Cl
    NSError
    Information about an error condition including a domain, a domain-specific error code, and application-specific information.
  • Cl
    NSException
    An object that represents a special condition that interrupts the normal flow of program execution.
  • Cl
    NSAssertionHandler
    An object that logs an assertion to the console.

Scripting Support 33

AppleScript and Cocoa scripting infrastructure for scriptable applications.

  • Cl
    NSAppleScript
    An object that provides the ability to load, compile, and execute scripts.
  • Cl
    NSAppleEventDescriptor
    A wrapper for the Apple event descriptor data type.
  • Cl
    NSAppleEventManager
    A mechanism for registering handler routines for specific types of Apple events and dispatching events to those handlers.
  • Cl
    NSScriptClassDescription
    A scriptable class that a macOS app supports.
  • Cl
    NSScriptCoercionHandler
    A mechanism for converting one kind of scripting data to another.
  • Cl
    NSScriptCommand
    A self-contained scripting statement.
  • Cl
    NSScriptCommandDescription
    A script command that a macOS app supports.
  • Cl
    NSScriptExecutionContext
    The context in which the current script command is executed.
  • Cl
    NSScriptObjectSpecifier
    An abstract class used to represent natural language expressions.
  • Cl
    NSIndexSpecifier
    A specifier representing an object in a collection (or container) with an index number.
  • Cl
    NSMiddleSpecifier
    A specifier indicating the middle object in a collection or, if not a one-to-many relationship, the sole object.
  • Cl
    NSNameSpecifier
    A specifier for an object in a collection (or container) by name.
  • Cl
    NSPositionalSpecifier
    A specifier for an insertion point in a container relative to another object in the container.
  • Cl
    NSPropertySpecifier
    A specifier for a simple attribute value, a one-to-one relationship, or all elements of a to-many relationship.
  • Cl
    NSRandomSpecifier
    A specifier for an arbitrary object in a collection or, if not a one-to-many relationship, the sole object.
  • Cl
    NSRangeSpecifier
    A specifier for a range of objects in a container.
  • Cl
    NSRelativeSpecifier
    A specifier that indicates an object in a collection by its position relative to another object.
  • Cl
    NSUniqueIDSpecifier
    A specifier for an object in a collection (or container) by unique ID.
  • Cl
    NSWhoseSpecifier
    A specifier that indicates every object in a collection matching a condition.
  • Cl
    NSCloneCommand
    A command that clones one or more scriptable objects.
  • Cl
    NSCloseCommand
    A command that closes one or more scriptable objects.
  • Cl
    NSCountCommand
    A command that counts the number of objects of a specified class in the specified object container.
  • Cl
    NSCreateCommand
    A command that creates a scriptable object.
  • Cl
    NSDeleteCommand
    A command that deletes a scriptable object.
  • Cl
    NSExistsCommand
    A command that determines whether a scriptable object exists.
  • Cl
    NSGetCommand
    A command that retrieves a value or object from a scriptable object.
  • Cl
    NSMoveCommand
    A command that moves one or more scriptable objects.
  • Cl
    NSQuitCommand
    A command that quits the specified app.
  • Cl
    NSSetCommand
    A command that sets one or more attributes or relationships to one or more values.
  • Cl
    NSScriptSuiteRegistry
    The top-level repository of scriptability information for an app at runtime.
  • Cl
    NSScriptWhoseTest
    An abstract class that provides the basis for testing specifiers one at a time or in groups.
  • Cl
    NSLogicalTest
    A script whose test that combines other tests using logical AND, OR, or NOT operations.
  • Cl
    NSSpecifierTest
    A script whose test that compares an object specifier against a value using a comparison operator.

Geometry 1

Affine transform support for two-dimensional coordinate manipulation.

  • Cl
    NSAffineTransform
    A graphics coordinate transformation.

Classes 51

  • Cl
    UndoManagermacOS 10.0+
    A general-purpose recorder of operations that enables undo and redo.
  • Cl
    UnitConcentrationMassmacOS 10.12+
    A unit of measure for concentration of mass.
  • Cl
    UnitDispersionmacOS 10.12+
    A unit of measure for specific quantities of dispersion.
  • Cl
    UnitDurationmacOS 10.12+
    A unit of measure for a duration of time.
  • Cl
    UnitElectricChargemacOS 10.12+
    A unit of measure for electric charge.
  • Cl
    UnitElectricCurrentmacOS 10.12+
    A unit of measure for electric current.
  • Cl
    UnitElectricPotentialDifferencemacOS 10.12+
    A unit of measure for electric potential difference.
  • Cl
    UnitElectricResistancemacOS 10.12+
    A unit of measure for electric resistance.
  • Cl
    UnitEnergymacOS 10.12+
    A unit of measure for energy.
  • Cl
    UnitFrequencymacOS 10.12+
    A unit of measure for frequency.
  • Cl
    UnitFuelEfficiencymacOS 10.12+
    A unit of measure for fuel efficiency.
  • Cl
    UnitInformationStoragemacOS 10.15+
    A unit of measure for quantities of information.
  • Cl
    UnitLengthmacOS 10.12+
    A unit of measure for length.
  • Cl
    UnitIlluminancemacOS 10.12+
    A unit of measure for illuminance.
  • Cl
    UnitMassmacOS 10.12+
    A unit of measure for mass.
  • Cl
    UnitPowermacOS 10.12+
    A unit of measure for power.
Show 35 more
  • Cl
    UnitPressuremacOS 10.12+
    A unit of measure for pressure.
  • Cl
    UnitSpeedmacOS 10.12+
    A unit of measure for speed.
  • Cl
    UnitTemperaturemacOS 10.12+
    A unit of measure for temperature.
  • Cl
    UnitVolumemacOS 10.12+
    A unit of measure for volume.
  • Cl
    NSUserActivitymacOS 10.10+
    A representation of the state of your app at a moment in time.
  • Cl
    UserDefaults
    An interface to the user's defaults database, which stores system-wide and app-specific settings.
  • Cl
    NSUserNotification
    A notification that can be scheduled for display in the notification center.
  • Cl
    NSUserNotificationAction
    An action that the user can take in response to receiving a notification.
  • Cl
    NSUserNotificationCenter
    An object that delivers notifications from apps to the user.
  • Cl
    NSUserScriptTaskmacOS 10.8+
    An object that executes scripts.
  • Cl
    NSUserUnixTaskmacOS 10.8+
    An object that executes unix applications.
  • Cl
    NSUserAppleScriptTaskmacOS 10.8+
    An object that executes AppleScript scripts.
  • Cl
    NSUserAutomatorTaskmacOS 10.8+
    An object that executes Automator workflows.
  • Cl
    NSValue
    A simple container for a single C or Objective-C data item.
  • Cl
    NSNumber
    An object wrapper for primitive scalar numeric values.
  • Cl
    ValueTransformermacOS 10.3+
    An abstract class used to transform values from one representation to another.
  • Cl
    NSSecureUnarchiveFromDataTransformermacOS 10.14+
    A value transformer that converts data to and from classes that support secure coding.
  • Cl
    XMLDTD
    A representation of a Document Type Definition.
  • Cl
    XMLDTDNode
    The nodes that are exclusive to a DTD.
  • Cl
    XMLDocument
    An XML document as internalized into a logical tree structure.
  • Cl
    XMLElement
    The element nodes in an XML tree structure.
  • Cl
    XMLNode
    The nodes in the abstract, logical tree structure that represents an XML document.
  • Cl
    XMLParser
    An event driven parser of XML documents (including DTD declarations).
  • Cl
    NSXPCConnectionmacOS 10.8+
    A bidirectional communication channel between two processes.
  • Cl
    NSXPCListenermacOS 10.8+
    A listener that waits for new incoming connections, configures them, and accepts or rejects them.
  • Cl
    NSXPCInterfacemacOS 10.8+
    An interface that may be sent to an exported object or remote object proxy.
  • Cl
    NSXPCListenerEndpointmacOS 10.8+
    An object that names a specific XPC listener.
  • Cl
    NSXPCCodermacOS 10.8+
    A coder that encodes and decodes objects that your app sends over an XPC connection.
  • Cl
    JSONDecoderiOS 8.0+
    An object that decodes instances of a data type from JSON objects.
  • Cl
    JSONEncoderiOS 8.0+
    An object that encodes instances of a data type as JSON objects.
  • Cl
    NSKeyValueObservationiOS 8.0+
  • Cl
    ProgressManageriOS 27+
    An object that conveys ongoing progress to the user for a specified task.
  • Cl
    ProgressReporteriOS 27+
    ProgressReporter is a wrapper for ProgressManager that carries information about ProgressManager.
  • Cl
    PropertyListDecoderiOS 8.0+
    An object that decodes instances of data types from a property list.
  • Cl
    PropertyListEncoderiOS 8.0+
    An object that encodes instances of data types to a property list.

Structures 114

  • St
    NSAffineTransformStruct
    A structure that defines the three-by-three matrix that performs an affine transform between two coordinate systems.
  • St
    NSBinarySearchingOptions
    Options for searches and insertions using ``NSArray/index(of:inSortedRange:options:usingComparator:)``.
  • St
    NSAttributedStringFormattingContextKey
    A type that represents a key in the formatting context dictionary.
  • St
    InlinePresentationIntentmacOS 12.0+
    A type that defines presentation intent for runs of characters for traits like emphasis, strikethrough, and code voice.
  • St
    NSSwappedFloat
    A structure holding a swapped `float` value.
  • St
    NSSwappedDouble
    A structure holding a swapped `double` value.
  • St
    Decimal
    A structure representing a base-10 number.
  • St
    NSFastEnumerationState
    A structure used by objects adopting the `NSFastEnumeration` protocol to maintain enumeration state.
  • St
    _expressionFlags
  • St
    FileAttributeKey
    Keys in dictionaries used to get and set file attributes.
  • St
    FileAttributeType
    Values representing a file's type attribute.
  • St
    FileProtectionType
    Protection level values that can be associated with a file attribute key.
  • St
    NSFileProviderServiceName
    The name used to identify a File Provider service.
  • St
    NSFileManagerSupportedSyncControlsmacOS 26.0+
    An option set of the sync controls available for an item.
  • St
    NSEdgeInsets
    A description of the distance between the edges of two rectangles.
  • St
    AlignmentOptions
    Values representing alignment operations.
Show 98 more
  • St
    HTTPCookiePropertyKey
    Constants that define the supported keys in a cookie attributes dictionary.
  • St
    HTTPCookieStringPolicy
    Values that indicate whether to restrict the cookie to requests sent back to the same site that created it.
  • St
    NSHashEnumerator
  • St
    NSHashTableCallBacks
  • St
    NSItemProviderFileOptionsmacOS 10.13+
    Data-access specifications that declare how to handle items.
  • St
    NSKeyValueOperator
    These constants define the available collection operators.
  • St
    NSKeyValueObservingOptions
    The values that can be returned in a change dictionary.
  • St
    NSKeyValueChangeKey
    The keys that can appear in the change dictionary.
  • St
    NSLinguisticTagScheme
    Constants for the tag schemes specified when initializing a linguistic tagger.
  • St
    NSLinguisticTag
    A token, lexical class, name, lemma, language, or script returned by a linguistic tagger for natural language text.
  • St
    NSMapEnumerator
  • St
    NSMapTableKeyCallBacks
  • St
    NSMapTableValueCallBacks
    The function pointers used to configure behavior of `NSMapTable` with respect to value elements within a map table.
  • St
    NSExceptionName
  • St
    NSEnumerationOptions
    Options for block enumeration operations.
  • St
    NSSortOptions
    Options for block sorting operations.
  • St
    NSOrderedCollectionDifferenceCalculationOptionsmacOS 10.15+
    Constants that specify the options to use when creating an ordered collection difference.
  • St
    _predicateFlags
  • St
    OperatingSystemVersion
    A structure that contains version information about the currently executing operating system, including major, minor, and patch version numbers.
  • St
    ProgressKind
    An object that represents the kind of progress.
  • St
    ProgressUserInfoKey
    Keys for the user info dictionary that affect the autogenerated localized additional description string.
  • St
    _NSRange
    A structure used to describe a portion of a series, such as characters in a string or objects in an array.
  • St
    StreamSocketSecurityLevel
    `NSStream` defines these string constants for specifying the secure-socket layer (SSL) security level.
  • St
    StreamSOCKSProxyConfiguration
  • St
    StreamSOCKSProxyVersion
  • St
    StreamNetworkServiceTypeValue
    `NSStream` defines these string constants for specifying the service type of a stream.
  • St
    StringTransform
    Constants representing an ICU string transform.
  • St
    StringEncodingDetectionOptionsKey
  • St
    NSTextCheckingKey
  • St
    URLResourceKey
    Keys that apply to file system URLs.
  • St
    URLFileResourceType
    Possible values for the type of file resource.
  • St
    URLThumbnailDictionaryItem
    Possible keys for the ``URLResourceKey/thumbnailDictionaryKey`` dictionary.
  • St
    URLFileProtection
    Protection-level values for a URL resource key.
  • St
    URLUbiquitousItemDownloadingStatus
    Values that describe the iCloud storage state of a file.
  • St
    URLUbiquitousSharedItemRole
    The key for the role of a shared item.
  • St
    URLUbiquitousSharedItemPermissions
    The key for the permissions of a shared item.
  • St
    NSValueTransformerName
    Named value transformers defined by `NSValueTransformer`.
  • St
    AffineTransformiOS 8.0+
    A graphics coordinate transformation.
  • St
    AsyncCharacterSequenceiOS 15.0+
    An asynchronous sequence of characters.
  • St
    AsyncLineSequenceiOS 15.0+
    An asynchronous sequence of lines of text.
  • St
    AsyncUnicodeScalarSequenceiOS 15.0+
    An asynchronous sequence of Unicode scalar values.
  • St
    AttributeContaineriOS 15+
    A container for attribute keys and values.
  • St
    AttributeScopeCodableConfigurationiOS 15+
    A configuration type for encoding and decoding attributed strings.
  • St
    AttributedStringiOS 15+
    A value type for a string with associated attributes for portions of its text.
  • St
    AttributedSubstringiOS 15+
    A portion of an attributed string.
  • St
    ByteCountFormatStyleiOS 15.0+
    A format style that provides string representations of byte counts.
  • St
    CalendariOS 8.0+
    A definition of the relationships between calendar units and absolute points in time, providing features for calculation and comparison of dates.
  • St
    CharacterSetiOS 8.0+
    A set of Unicode character values for use in search operations.
  • St
    CocoaErroriOS 8.0+
    Describes errors within the Cocoa error domain, including errors that Foundation throws.
  • St
    CodableConfigurationiOS 15+
    A property wrapper that makes a type codable, by supplying a configuration that provides additional information for serialization.
  • St
    ComparableComparatoriOS 15.0+
    A comparator that compares types according to their conformance to the comparable protocol.
  • St
    DataiOS 8.0+
    A byte buffer in memory.
  • St
    DateiOS 8.0+
    A specific point in time, independent of any calendar or time zone.
  • St
    DateComponentsiOS 8.0+
    A date or time specified in terms of units (such as year, month, day, hour, minute) to be evaluated in a calendar system and time zone.
  • St
    DateIntervaliOS 10.0+
    The span of time between a specific start date and end date.
  • St
    DiscontiguousAttributedSubstringiOS 26+
    A discontiguous portion of an attributed string.
  • St
    ErrorUserInfoKeyiOS 8.0+
    These keys may exist in the user info dictionary.
  • St
    ExpressioniOS 18+
  • St
    FloatingPointFormatStyleiOS 15.0+
    A structure that converts between floating-point values and their textual representations.
  • St
    FloatingPointParseStrategyiOS 15.0+
    A parse strategy for creating floating-point values from formatted strings.
  • St
    FormatStyleCapitalizationContextiOS 15.0+
    The capitalization formatting context used when formatting dates and times.
  • St
    IndexPathiOS 8.0+
    A list of indexes that together represent the path to a specific location in a tree of nested arrays.
  • St
    IndexSetiOS 8.0+
    A collection of unique integer values that represent the indexes of elements in another collection.
  • St
    IntegerFormatStyleiOS 15.0+
    A structure that converts between integer values and their textual representations.
  • St
    IntegerParseStrategyiOS 15.0+
    A parse strategy for creating integer values from formatted strings.
  • St
    KeyPathComparatoriOS 15.0+
    A comparator that uses another sort comparator to provide the comparison of values at a key path.
  • St
    ListFormatStyleiOS 15.0+
    A type that formats lists of items with a separator and conjunction appropriate for a given locale.
  • St
    LocaleiOS 8.0+
    Information about linguistic, cultural, and technological conventions for use in formatting data for presentation.
  • St
    LocalizedStringResourceiOS 16+
    A reference to a localizable string, accessible from another process.
  • St
    MachErroriOS 8.0+
    Describes an error in the Mach error domain.
  • St
    MeasurementiOS 10.0+
    A numeric quantity labeled with a unit of measure, with support for unit conversion and unit-aware calculations.
  • St
    MeasurementFormatUnitUsageiOS 15.0+
    A type that provides the generalized usage for a formatted measurement.
  • St
    MorphologyiOS 15.0+
    A description of the grammatical properties of a string.
  • St
    NSFastEnumerationIterator
  • St
    NSIndexSetIteratoriOS 8.0+
    An iterator suitable for enumerating the elements of an index set.
  • St
    NSKeyValueObservedChangeiOS 8.0+
  • St
    NotificationiOS 8.0+
    A container for information broadcast through a notification center to all
  • St
    POSIXErroriOS 8.0+
    Describes an error in the POSIX error domain.
  • St
    PersonNameComponentsiOS 9.0+
    The separate parts of a person's name, allowing locale-aware formatting.
  • St
    PredicateiOS 17+
    A logical condition used to test a set of input values for searching or filtering.
  • St
    PredicateBindingsiOS 17+
    A mapping from a predicates's input variables to their values.
  • St
    PredicateCodableConfigurationiOS 17+
    A specification of the expected types and key paths found in an archived predicate.
  • St
    PredicateErroriOS 17+
    An error thrown while evaluating a predicate.
  • St
    PresentationIntentiOS 15+
    A type that defines presentation intent for blocks of characters like paragraphs, lists, block quotes, and tables.
  • St
    ScopedAttributeContaineriOS 15+
    An attribute container that allows dynamic member lookup of its contents within the specified attribute scope.
  • St
    SortDescriptoriOS 15.0+
    A serializable description of how to sort numerics and strings.
  • St
    StringStyleiOS 15.0+
  • St
    SubprogressiOS 27+
    Subprogress is used to establish parent-child relationship between two instances of `ProgressManager`.
  • St
    TermOfAddressiOS 17+
    The type for representing grammatical gender in localized text.
  • St
    TimeZoneiOS 8.0+
    Information about standard time conventions associated with a specific geopolitical region.
  • St
    URLiOS 8.0+
    A value that identifies the location of a resource, such as an item on a remote server or the path to a local file.
  • St
    URLComponentsiOS 8.0+
    A structure that parses URLs into and constructs URLs from their constituent parts.
  • St
    URLErroriOS 8.0+
    Error codes returned by URL loading APIs.
  • St
    URLQueryItemiOS 8.0+
    A single name-value pair from the query portion of a URL.
  • St
    URLRequestiOS 8.0+
    A URL load request that is independent of protocol or URL scheme.
  • St
    URLResourceiOS 16+
    A resource located at a particular file URL within a bundle.
  • St
    URLResourceValuesiOS 8.0+
    URLs to file system resources support the properties defined below.
  • St
    UUIDiOS 6.0+
    A universally unique value to identify types, interfaces, and other items.

Enumerations 28

  • En
    NSFileManagerResumeSyncBehaviormacOS 26.0+
    The behaviors the file manager can apply to resolve conflicts when resuming a sync.
  • En
    NSFileManagerUploadLocalVersionConflictPolicymacOS 26.0+
    The policies the file manager can apply to resolve conflicts when uploading a local version of a file.
  • En
    NSRectEdge
  • En
    NSItemProviderRepresentationVisibilitymacOS 10.13+
    Specifications that control which categories of processes can see an item.
  • En
    NSKeyValueChange
    The kinds of changes that can be observed.
  • En
    NSKeyValueSetMutationKind
  • En
    NSLinguisticTaggerUnit
    Constants representing linguistic units.
  • En
    NSGrammaticalGendermacOS 12.0+
    A representation of grammatical gender, used for inflecting strings.
  • En
    NSGrammaticalPartOfSpeechmacOS 12.0+
    A representation of grammatical parts of speech, used for inflecting strings.
  • En
    NSGrammaticalNumbermacOS 12.0+
    A representation of grammatical number, used for inflecting strings.
  • En
    NSGrammaticalCasemacOS 14.0+
  • En
    NSGrammaticalPronounTypemacOS 14.0+
  • En
    NSGrammaticalPersonmacOS 14.0+
  • En
    NSGrammaticalDeterminationmacOS 14.0+
  • En
    NSGrammaticalDefinitenessmacOS 14.0+
  • En
    ComparisonResult
    Constants that indicate sort order.
Show 12 more
  • En
    QualityOfServicemacOS 10.10+
    Constants that indicate the nature and importance of work to the system.
  • En
    NSCollectionChangeTypemacOS 10.15+
    The type of change represented in computing the difference of an ordered collection.
  • En
    NSSaveOptions
    Constants that specify whether a document should be saved before being closed.
  • En
    AttributeDynamicLookupiOS 15+
    A type to support dynamic member lookup of attributes and containers.
  • En
    AttributeScopesiOS 15+
    Collections of attributes that system frameworks define.
  • En
    CurrencyFormatStyleConfigurationiOS 15.0+
    Configuration settings for formatting currency values.
  • En
    DescriptiveNumberFormatConfigurationiOS 15.0+
  • En
    InflectionConceptiOS 17+
    An inflection method to use when localizing text.
  • En
    InflectionRuleiOS 15.0+
    A rule that affects how an attributed string performs automatic grammatical agreement.
  • En
    NumberFormatStyleConfigurationiOS 15.0+
    Configuration settings for formatting numbers of different types.
  • En
    PredicateExpressionsiOS 17+
    The expressions that make up a predicate.
  • En
    SortOrderiOS 15.0+
    The orderings that you can perform sorts with.

Protocols 71

  • Pr
    NSCacheDelegate
    The delegate of an ``NSCache`` object implements this protocol to perform specialized actions when an object is about to be evicted or removed from the cache.
  • Pr
    NSDecimalNumberBehaviors
    A protocol that declares three methods that control the discretionary aspects of working with decimal numbers.
  • Pr
    NSFastEnumeration
    A protocol that objects adopt to support fast enumeration.
  • Pr
    NSExtensionRequestHandling
    The interface an app extension uses to respond to a request from a host app.
  • Pr
    FileManagerDelegate
    The interface a file manager's delegate uses to intervene during operations or if an error occurs.
  • Pr
    NSFilePresenter
    The interface a file coordinator uses to inform an object presenting a file about changes to that file made elsewhere in the system.
  • Pr
    NSItemProviderWritingmacOS 10.13+
    A protocol that allows a class to export its data to a variety of binary representations.
  • Pr
    NSItemProviderReadingmacOS 10.13+
    A protocol that allows a class to be constructed from a variety of binary representations.
  • Pr
    NSKeyedArchiverDelegate
    The optional methods implemented by the delegate of a keyed archiver.
  • Pr
    NSKeyedUnarchiverDelegate
    The optional methods implemented by the delegate of a keyed unarchiver.
  • Pr
    NSLocking
    The elementary methods adopted by classes that define lock objects.
  • Pr
    NSMetadataQueryDelegate
    An interface that enables the delegate of a metadata query to provide substitute results or attributes.
  • Pr
    NetServiceDelegatemacOS 10.2+
    The interface a net service uses to inform its delegate about the state of the service it offers.
  • Pr
    NetServiceBrowserDelegatemacOS 10.2+
    The interface a net service browser uses to inform a delegate about the state of service discovery.
  • Pr
    NSCopying
    A protocol that objects adopt to provide functional copies of themselves.
  • Pr
    NSMutableCopying
    A protocol that mutable objects adopt to provide functional copies of themselves.
Show 55 more
  • Pr
    NSCoding
    A protocol that enables an object to be encoded and decoded for archiving and distribution.
  • Pr
    NSSecureCoding
    A protocol that enables encoding and decoding in a manner that is robust against object substitution attacks.
  • Pr
    NSDiscardableContent
    You implement this protocol when a class's objects have subcomponents that can be discarded when not being used, thereby giving an application a smaller memory footprint.
  • Pr
    PortDelegate
    An interface for handling incoming messages.
  • Pr
    NSMachPortDelegate
    An interface for handling incoming Mach messages.
  • Pr
    NSPredicateValidatingmacOS 26.4+
  • Pr
    ProgressReporting
    An interface for objects that report progress using a single progress instance.
  • Pr
    NSSpellServerDelegate
    The optional methods implemented by the delegate of a spell server.
  • Pr
    StreamDelegate
    An interface that delegates of a stream instance use to handle events on the stream.
  • Pr
    URLAuthenticationChallengeSendermacOS 10.2+
    The `URLAuthenticationChallengeSender` protocol represents the interface that the sender of an authentication challenge must implement.
  • Pr
    NSURLConnectionDelegatemacOS 10.2+
    A protocol that most delegates of a URL connection implement to receive data associated with the connection.
  • Pr
    NSURLConnectionDataDelegatemacOS 10.2+
    A protocol that most delegates of a URL connection implement to receive data associated with the connection.
  • Pr
    NSURLConnectionDownloadDelegatemacOS 10.2+
    A protocol that delegates of a URL connection created with Newsstand Kit implement to receive data associated with a download.
  • Pr
    NSURLDownloadDelegatemacOS 10.2+
    A protocol that URL download delegates implement to interact with a URL download request.
  • Pr
    URLProtocolClientmacOS 10.2+
    The interface used by ``URLProtocol`` subclasses to communicate with the URL Loading System.
  • Pr
    URLSessionDelegatemacOS 10.9+
    A protocol that defines methods that URL session instances call on their delegates to handle session-level events, like session life cycle changes.
  • Pr
    URLSessionTaskDelegatemacOS 10.9+
    A protocol that defines methods that URL session instances call on their delegates to handle task-level events.
  • Pr
    URLSessionDataDelegatemacOS 10.9+
    A protocol that defines methods that URL session instances call on their delegates to handle task-level events specific to data and upload tasks.
  • Pr
    URLSessionDownloadDelegatemacOS 10.9+
    A protocol that defines methods that URL session instances call on their delegates to handle task-level events specific to download tasks.
  • Pr
    URLSessionStreamDelegatemacOS 10.11+
    A protocol that defines methods that URL session instances call on their delegates to handle task-level events specific to stream tasks.
  • Pr
    URLSessionWebSocketDelegatemacOS 10.15+
    A protocol that defines methods that URL session instances call on their delegates to handle task-level events specific to WebSocket tasks.
  • Pr
    NSUserActivityDelegatemacOS 10.10+
    The interface through which a user activity instance notifies its delegate of updates.
  • Pr
    NSUserNotificationCenterDelegate
    An interface that enables customizing the behavior of the default notification center.
  • Pr
    XMLParserDelegate
    The interface an XML parser uses to inform its delegate about the content of the parsed document.
  • Pr
    NSXPCProxyCreating
    Methods for creating new proxy objects.
  • Pr
    NSXPCListenerDelegate
    The protocol that delegates to the XPC listener use to accept or reject new connections.
  • Pr
    AttributeScopeiOS 15+
    A type that organizes attributes into a grouping, and supports dynamic member lookup and serialization of attribute keys.
  • Pr
    AttributedStringAttributeMutationiOS 15+
    A protocol that defines in-place mutations for attributes in an attributed string.
  • Pr
    AttributedStringKeyiOS 15+
    A type that defines an attribute's name and type.
  • Pr
    AttributedStringProtocoliOS 15+
    A protocol that provides common functionality to attributed strings and attributed substrings.
  • Pr
    ContiguousBytesiOS 8.0+
    A protocol that declares the type offers direct access to the underlying raw bytes in a contiguous manner.
  • Pr
    CustomLocalizedStringResourceConvertibleiOS 16+
    A type that provides an out-of-process localizable description.
  • Pr
    CustomNSErroriOS 8.0+
    A specialized error that provides a domain, error code, and user-info dictionary.
  • Pr
    DataProtocoliOS 8.0+
    A protocol that provides consistent data access to the bytes underlying contiguous and noncontiguous data buffers.
  • Pr
    DecodableAttributedStringKeyiOS 15+
    A protocol that defines how an attribute key decodes its value.
  • Pr
    DecodableWithConfigurationiOS 15+
    A protocol for types that support decoding when supplied with an additional configuration type.
  • Pr
    DecodingConfigurationProvidingiOS 15+
    A protocol whose conformers provide a configuration instance to help decode types that don't support encoding by themselves.
  • Pr
    DiscreteFormatStyleiOS 18+
    A format style that transforms a continuous input into a discrete output and provides
  • Pr
    EncodableAttributedStringKeyiOS 15+
    A protocol that defines how an attribute key encodes its value.
  • Pr
    EncodableWithConfigurationiOS 15+
    A protocol for types that support encoding when supplied with an additional configuration type.
  • Pr
    EncodingConfigurationProvidingiOS 15+
    A protocol whose conformers provide a configuration instance to help encode types that don't support encoding by themselves.
  • Pr
    FormatStyleiOS 15.0+
    A type that converts a given data type into a representation in another type, such as a string.
  • Pr
    LocalizedErroriOS 8.0+
    A specialized error that provides localized messages describing the error and why it occurred.
  • Pr
    MarkdownDecodableAttributedStringKeyiOS 15+
    A protocol that defines how an attribute key decodes a value that corresponds to Markdown syntax.
  • Pr
    MutableDataProtocoliOS 8.0+
    A protocol that provides consistent data access to the bytes underlying contiguous and noncontiguous mutable data buffers.
  • Pr
    NSKeyValueObservingCustomizationiOS 8.0+
    Conforming to NSKeyValueObservingCustomization is not required to use Key-Value Observing. Provide an implementation of these functions if you need to disable auto-notifying for a key, or add dependen
  • Pr
    ObjectiveCConvertibleAttributedStringKeyiOS 15+
    A protocol that defines Objective-C interoperability with an attribute key's value type.
  • Pr
    ParseStrategyiOS 15.0+
    A type that parses an input representation, such as a formatted string, into a provided data type.
  • Pr
    ParseableFormatStyleiOS 15.0+
    A type that can convert a given input data type into a representation in an output type.
  • Pr
    PredicateCodableKeyPathProvidingiOS 17+
    A type that provides the expected key paths found in an archived predicate.
  • Pr
    PredicateExpressioniOS 17+
    A component expression that makes up part of a predicate.
  • Pr
    RecoverableErroriOS 8.0+
    A specialized error that may be recoverable by presenting several potential recovery options to the user.
  • Pr
    ReferenceConvertibleiOS 8.0+
    A decoration applied to types that are backed by a Foundation reference type.
  • Pr
    SortComparatoriOS 15.0+
    A comparison algorithm for a specified type.
  • Pr
    StandardPredicateExpressioniOS 17+
    A component expression that makes up part of a predicate, and that's supported by the standard predicate type.

Type Aliases 30

  • Ty
    TimeInterval
    A number of seconds.
  • Ty
    NSErrorDomain
  • Ty
    NSUncaughtExceptionHandler
    The type for uncaught exception handler functions.
  • Ty
    NSPoint
    A point in a Cartesian coordinate system.
  • Ty
    NSPointPointer
    Type indicating a parameter is a pointer to an `NSPoint` structure.
  • Ty
    NSPointArray
    Type indicating a parameter is array of `NSPoint` structures.
  • Ty
    NSSize
    A two-dimensional size.
  • Ty
    NSSizePointer
    Type indicating parameter is a pointer to an `NSSize` structure.
  • Ty
    NSSizeArray
    Type indicating a parameter is an array of `NSSize` structures.
  • Ty
    NSRect
    A rectangle.
  • Ty
    NSRectPointer
    Type indicating a parameter is a pointer to an `NSRect` structure.
  • Ty
    NSRectArray
    Type indicating a parameter is array of `NSRect` structures.
  • Ty
    NSHashTableOptions
    Components in a bit-field to specify the behavior of elements in an ``NSHashTable`` object.
  • Ty
    NSMapTableOptions
    Constants used as components in a bitfield to specify the behavior of elements (keys and values) in an `NSMapTable` object.
  • Ty
    Comparator
    Defines the signature for a block object used for comparison operations.
  • Ty
    SocketNativeHandle
    Type for the platform-specific native socket handle.
Show 14 more
  • Ty
    NSRange
    A structure used to describe a portion of a series, such as characters in a string or objects in an array.
  • Ty
    NSRangePointer
  • Ty
    unichar
  • Ty
    NSTextCheckingTypes
  • Ty
    NSUserActivityPersistentIdentifier
  • Ty
    CodableAttributedStringKey
    A type alias for attribute keys that are both encodable and decodable.
  • Ty
    CodableWithConfiguration
    A type that can convert itself into and out of an external representation with the help of a configuration that handles encoding contained types.
  • Ty
    ErrorPointer
  • Ty
    MutableURLRequest
    An alias for `NSMutableURLRequest`.
  • Ty
    NSErrorPointer
  • Ty
    ObservableObject
    A type alias for the Combine framework's type for an object with a publisher that emits before the object has changed.
  • Ty
    Published
    A type alias for the Combine framework's type that publishes a property marked with an attribute.
  • Ty
    uuid_string_t
  • Ty
    uuid_t

Extends 63

NSObject__NSInflectionRule__NSMorphologyRangeRangeSetStringDictionaryArrayArraySliceContiguousArrayEmptyCollectionRepeatedUnsafeRawBufferPointerUnsafeMutableRawBufferPointerUnsafeBufferPointerUnsafeMutableBufferPointerCollectionOfOneSliceRawSpanMutableRawSpanOutputRawSpanUTF8SpanSpanMutableSpanOutputSpanInlineArrayErrorRegexComponentKeyedEncodingContainerKeyedDecodingContainerUnkeyedEncodingContainerUnkeyedDecodingContainerSequenceStringProtocolEncodingErrorDecodingErrorOptionalNeverMutableCollectionFilePath
← Foundation, System & Concurrency