TechnologiesFoundation, System & Concurrency

Swift

iOSmacOStvOSwatchOSvisionOS

Swift is the standard library that underpins all Swift code, providing the core types, collections, protocols, generics, and language primitives the language is built on. You model data and behavior against fundamental protocols such as Equatable, Comparable, Collection, BidirectionalCollection, and AdditiveArithmetic, and adopt protocols like Codable's Encodable and Decodable, CaseIterable, and CustomStringConvertible to give your own types standard capabilities. The library also defines numeric and literal protocols including BinaryInteger, BinaryFloatingPoint, ExpressibleByIntegerLiteral, and ExpressibleByArrayLiteral, along with supporting types like AnyKeyPath, CollectionDifference, and the DecodingError and EncodingError errors. It is available across iOS, macOS, tvOS, watchOS, and visionOS.

Equality, Ordering, and Hashing 5

Fundamental protocols that give types value equality, ordering, and hash-based behavior.

  • Pr
    Equatable
    A type that can be compared for value equality.
  • Pr
    Comparable
    A type that can be compared using the relational operators `<`, `<=`, `>=`,
  • Pr
    Hashable
    A type that can be hashed into a `Hasher` to produce an integer hash value.
  • Pr
    IdentifiableiOS 13.0+
    A class of types whose instances hold the value of an entity with stable
  • Pr
    Strideable
    A type representing continuous, one-dimensional values that can be offset

Sequences and Collections 18

Protocols and supporting types for iterating, indexing, slicing, and mutating ordered values.

  • Pr
    Sequence
    A type that provides sequential, iterated access to its elements.
  • Pr
    IteratorProtocol
    A type that supplies the values of a sequence one at a time.
  • Pr
    Collection
    A sequence whose elements can be traversed multiple times,
  • Pr
    BidirectionalCollection
    A collection that supports backward as well as forward traversal.
  • Pr
    RandomAccessCollection
    A collection that supports efficient random-access index traversal.
  • Pr
    MutableCollection
    A collection that supports subscript assignment.
  • Pr
    RangeReplaceableCollection
    A collection that supports replacement of an arbitrary subrange of elements
  • Pr
    LazySequenceProtocol
    A sequence on which normally-eager sequence operations are implemented
  • Pr
    LazyCollectionProtocol
    A collection that lazily evaluates the transformations applied to it.
  • Pr
    BorrowingSequence
    A type that provides sequential, borrowing access to its elements.
  • Pr
    BorrowingIteratorProtocol
    A type that provides borrowed access to the values of a borrowing sequence.
  • Pr
    SetAlgebra
    A type that provides mathematical set operations.
  • Pr
    OptionSet
    A type that presents a mathematical set interface to a bit set.
  • St
    CollectionDifferenceiOS 13.0+
    A collection of insertions and removals that describe the difference
  • St
    DiscontiguousSliceiOS 18.0+
    A collection wrapper that provides access to the elements of a collection,
  • St
    RangeSetiOS 18.0+
    A set of values of any comparable type, represented by ranges.
  • Pr
    RangeExpression
    A type that can be used to slice a collection.
  • St
    SpanIterator
    An iterator that yields the elements of a span of contiguous storage.

Numbers and Arithmetic 14

Protocols that model integer, floating-point, and SIMD numeric types and their arithmetic.

  • Pr
    AdditiveArithmetic
    A type with values that support addition and subtraction.
  • Pr
    Numeric
    A type with values that support multiplication.
  • Pr
    SignedNumeric
    A numeric type with a negation operation.
  • Pr
    BinaryInteger
    An integer type with a binary representation.
  • Pr
    FixedWidthInteger
    An integer type that uses a fixed size for every instance.
  • Pr
    SignedInteger
    An integer type that can represent both positive and negative values.
  • Pr
    UnsignedInteger
    An integer type that can represent only nonnegative values.
  • Pr
    FloatingPoint
    A floating-point numeric type.
  • Pr
    BinaryFloatingPoint
    A radix-2 (binary) floating-point type.
  • En
    FloatingPointRoundingRule
    A rule for rounding a floating-point number.
  • Pr
    SIMD
    A SIMD vector of a fixed number of elements.
  • Pr
    SIMDScalar
    A type that can be used as an element in a SIMD vector.
  • Pr
    SIMDStorage
    A type that can function as storage for a SIMD vector type.
  • Pr
    RandomNumberGenerator
    A type that provides uniformly distributed random data.

Literal Expressibility 11

Protocols that let a type be initialized directly from a Swift literal.

  • Pr
    ExpressibleByIntegerLiteral
    A type that can be initialized with an integer literal.
  • Pr
    ExpressibleByFloatLiteral
    A type that can be initialized with a floating-point literal.
  • Pr
    ExpressibleByBooleanLiteral
    A type that can be initialized with the Boolean literals `true` and
  • Pr
    ExpressibleByNilLiteral
    A type that can be initialized using the nil literal, `nil`.
  • Pr
    ExpressibleByStringLiteral
    A type that can be initialized with a string literal.
  • Pr
    ExpressibleByStringInterpolation
    A type that can be initialized by string interpolation with a string
  • Pr
    ExpressibleByExtendedGraphemeClusterLiteral
    A type that can be initialized with a string literal containing a single
  • Pr
    ExpressibleByUnicodeScalarLiteral
    A type that can be initialized with a string literal containing a single
  • Pr
    ExpressibleByArrayLiteral
    A type that can be initialized using an array literal.
  • Pr
    ExpressibleByDictionaryLiteral
    A type that can be initialized using a dictionary literal.
  • Pr
    StringInterpolationProtocol
    Represents the contents of a string literal with interpolations while it's

Strings and Text 5

Protocols for working with string values, Unicode, and text output streams.

  • Pr
    StringProtocol
    A type that can represent a string as a collection of characters.
  • Pr
    UnicodeCodec
    A Unicode encoding form that translates between Unicode scalar values and
  • Pr
    TextOutputStream
    A type that can be the target of text-streaming operations.
  • Pr
    TextOutputStreamable
    A source of text-streaming operations.
  • Pr
    CVarArg
    A type whose instances can be encoded, and appropriately passed, as

Encoding and Decoding 17

The Codable protocols, containers, and errors for serializing and deserializing values.

  • Pr
    Encodable
    A type that can encode itself to an external representation.
  • Pr
    Decodable
    A type that can decode itself from an external representation.
  • Pr
    Encoder
    A type that can encode values into a native format for external
  • Pr
    Decoder
    A type that can decode values from a native format into in-memory
  • Pr
    CodingKey
    A type that can be used as a key for encoding and decoding.
  • Pr
    CodingKeyRepresentableiOS 15.4+
    A type that can be converted to and from a coding key.
  • St
    CodingUserInfoKey
    A user-defined key for providing context during encoding and decoding.
  • Pr
    KeyedEncodingContainerProtocol
    A type that provides a view into an encoder's storage and is used to hold
  • Pr
    KeyedDecodingContainerProtocol
    A type that provides a view into a decoder's storage and is used to hold
  • St
    KeyedEncodingContainer
    A concrete container that provides a view into an encoder's storage, making
  • St
    KeyedDecodingContainer
    A concrete container that provides a view into a decoder's storage, making
  • Pr
    UnkeyedEncodingContainer
    A type that provides a view into an encoder's storage and is used to hold
  • Pr
    UnkeyedDecodingContainer
    A type that provides a view into a decoder's storage and is used to hold
  • Pr
    SingleValueEncodingContainer
    A container that can support the storage and direct encoding of a single
  • Pr
    SingleValueDecodingContainer
    A container that can support the storage and direct decoding of a single
  • En
    EncodingError
    An error that occurs during the encoding of a value.
  • En
    DecodingError
    An error that occurs during the decoding of a value.

Description and Reflection 8

Protocols and types that produce textual representations and reflect over a value's structure.

  • Pr
    CustomStringConvertible
    A type with a customized textual representation.
  • Pr
    CustomDebugStringConvertible
    A type with a customized textual representation suitable for debugging
  • Pr
    LosslessStringConvertible
    A type that can be represented as a string in a lossless, unambiguous way.
  • Pr
    CustomPlaygroundDisplayConvertible
    A type that supplies a custom description for playground logging.
  • Pr
    CustomReflectable
    A type that explicitly supplies its own mirror.
  • Pr
    CustomLeafReflectable
    A type that explicitly supplies its own mirror, but whose
  • St
    Mirror
    A representation of the substructure and display style of an instance of
  • Pr
    MirrorPath
    A protocol for legitimate arguments to `Mirror`'s `descendant`

Key Paths 6

Reference types that capture a path to a property for reading and writing values.

  • Cl
    AnyKeyPath
    A type-erased key path, from any root type to any resulting value
  • Cl
    PartialKeyPath
    A partially type-erased key path, from a concrete root type to any
  • Cl
    KeyPath
    A key path from a specific root type to a specific resulting value type.
  • Cl
    WritableKeyPath
    A key path that supports reading from and writing to the resulting value.
  • Cl
    ReferenceWritableKeyPath
    A key path that supports reading from and writing to the resulting value
  • Pr
    _AppendKeyPath
    An implementation detail of key path expressions; do not use this protocol

Concurrency and Actors 10

Protocols and types that support actors, executors, task-local values, and continuations.

  • Pr
    ActoriOS 13.0+
    Common protocol to which all actors conform.
  • Pr
    GlobalActoriOS 13.0+
    A type that represents a globally-unique actor that can be used to isolate
  • Pr
    ExecutoriOS 13.0+
    A service that can execute jobs.
  • Pr
    SerialExecutoriOS 13.0+
    A service that executes jobs.
  • Pr
    TaskExecutoriOS 18.0+
    An executor that may be used as preferred executor by a task.
  • Cl
    TaskLocaliOS 13.0+
    Wrapper type that defines a task-local value key.
  • St
    TaskPriorityiOS 13.0+
    The priority of a task.
  • St
    UnsafeCurrentTaskiOS 13.0+
    An unsafe reference to the current task.
  • St
    CheckedContinuationiOS 13.0+
    A mechanism to interface
  • St
    CancellationErroriOS 13.0+
    An error that indicates a task was canceled.

Asynchronous Sequences 18

Protocols and adapter types for producing and transforming values asynchronously over time.

  • Pr
    AsyncSequenceiOS 13.0+
    A type that provides asynchronous, sequential, iterated access to its
  • Pr
    AsyncIteratorProtocoliOS 13.0+
    A type that asynchronously supplies the values of a sequence one at a
  • St
    AsyncStreamiOS 13.0+
    An asynchronous sequence generated from a closure that calls a continuation
  • St
    AsyncThrowingStreamiOS 13.0+
    An asynchronous sequence generated from an error-throwing closure that
  • St
    AsyncMapSequenceiOS 13.0+
    An asynchronous sequence that maps the given closure over the asynchronous
  • St
    AsyncCompactMapSequenceiOS 13.0+
    An asynchronous sequence that maps a given closure over the asynchronous
  • St
    AsyncFilterSequenceiOS 13.0+
    An asynchronous sequence that contains, in order, the elements of
  • St
    AsyncFlatMapSequenceiOS 13.0+
    An asynchronous sequence that concatenates the results of calling a given
  • St
    AsyncDropFirstSequenceiOS 13.0+
    An asynchronous sequence which omits a specified number of elements from the
  • St
    AsyncDropWhileSequenceiOS 13.0+
    An asynchronous sequence which omits elements from the base sequence until a
  • St
    AsyncPrefixSequenceiOS 13.0+
    An asynchronous sequence, up to a specified maximum length,
  • St
    AsyncPrefixWhileSequenceiOS 13.0+
    An asynchronous sequence, containing the initial, consecutive
  • St
    AsyncThrowingMapSequenceiOS 13.0+
    An asynchronous sequence that maps the given error-throwing closure over the
  • St
    AsyncThrowingCompactMapSequenceiOS 13.0+
    An asynchronous sequence that maps an error-throwing closure over the base
  • St
    AsyncThrowingFilterSequenceiOS 13.0+
    An asynchronous sequence that contains, in order, the elements of
  • St
    AsyncThrowingFlatMapSequenceiOS 13.0+
    An asynchronous sequence that concatenates the results of calling a given
  • St
    AsyncThrowingDropWhileSequenceiOS 13.0+
    An asynchronous sequence which omits elements from the base sequence until a
  • St
    AsyncThrowingPrefixWhileSequenceiOS 13.0+
    An asynchronous sequence, containing the initial, consecutive

Time and Clocks 5

Protocols and clocks that measure instants, durations, and intervals for scheduling work.

  • Pr
    ClockiOS 16.0+
    A mechanism in which to measure time, and delay work until a given point
  • Pr
    InstantProtocoliOS 16.0+
    A type that represents a specific point in time for a clock.
  • Pr
    DurationProtocoliOS 16.0+
    A type that defines a duration for a given `InstantProtocol` type.
  • St
    ContinuousClockiOS 16.0+
    A clock that measures time that always increments and does not stop
  • St
    SuspendingClockiOS 16.0+
    A clock that measures time that always increments but stops incrementing

Regular Expressions 7

Types and protocols for building, matching, and configuring regular expressions.

  • St
    RegexiOS 16.0+
    A regular expression.
  • Pr
    RegexComponentiOS 16.0+
    A type that represents a regular expression.
  • Pr
    CustomConsumingRegexComponentiOS 16.0+
    A regex component that defines its own custom matching behavior.
  • St
    AnyRegexOutputiOS 16.0+
    The type-erased, dynamic output of a regular expression match.
  • St
    RegexSemanticLeveliOS 16.0+
    A semantic level to use during regex matching.
  • St
    RegexRepetitionBehavioriOS 16.0+
    Specifies how much to attempt to match when using a quantifier.
  • St
    RegexWordBoundaryKindiOS 16.0+
    A word boundary algorithm to use during regex matching.

Type Capabilities and Conventions 9

Marker and convention protocols that confer raw values, ownership, sendability, and enumeration.

  • Pr
    RawRepresentable
    A type that can be converted to and from an associated raw value.
  • Pr
    CaseIterable
    A type that provides a collection of all of its values.
  • Pr
    Error
    A type representing an error value that can be thrown.
  • Pr
    Sendable
    A thread-safe type whose values can be shared across arbitrary isolation
  • Pr
    SendableMetatype
    A type whose metatype can be shared across arbitrary isolation domains
  • Pr
    UnsafeSendable
    A type whose values can safely be passed across concurrency domains by copying,
  • Pr
    Copyable
    A type whose values can be implicitly or explicitly copied.
  • Pr
    Escapable
    A type whose values can persist beyond their immediate local scope.
  • Pr
    BitwiseCopyable
    A protocol marking types that can be safely copied bit by bit.

Low-Level Storage 1

A class for managing manually allocated buffer storage backing collection types.

  • Cl
    ManagedBuffer
    A class whose instances contain a property of type `Header` and raw

Structures 111

  • St
    AnyBidirectionalCollection
    A type-erased wrapper over any collection with indices that
  • St
    AnyCollection
    A type-erased wrapper over any collection with indices that
  • St
    AnyHashable
    A type-erased hashable value.
  • St
    AnyIndex
    A wrapper over an underlying index that hides the specific underlying type.
  • St
    AnyIterator
    A type-erased iterator of `Element`.
  • St
    AnyRandomAccessCollection
    A type-erased wrapper over any collection with indices that
  • St
    AnySequence
    A type-erased sequence.
  • St
    Array
    An ordered, random-access collection.
  • St
    ArraySlice
    A slice of an `Array`, `ContiguousArray`, or `ArraySlice` instance.
  • St
    AutoreleasingUnsafeMutablePointer
    A mutable pointer addressing an Objective-C reference that doesn't own its
  • St
    Bool
    A value type whose instances are either `true` or `false`.
  • St
    BorrowingIteratorAdapter
  • St
    CVaListPointer
  • St
    Character
    A single extended grapheme cluster that approximates a user-perceived
  • St
    ClosedRange
    An interval from a lower bound up to, and including, an upper bound.
  • St
    CollectionOfOne
    A collection containing a single element.
Show 95 more
  • St
    ContiguousArray
    A contiguously stored array.
  • St
    DefaultIndices
    A collection of indices for an arbitrary collection
  • St
    DefaultStringInterpolation
    Represents a string literal with interpolations while it's being built up.
  • St
    Dictionary
    A collection whose elements are key-value pairs.
  • St
    Double
    A double-precision (64-bit), floating-point value type.
  • St
    DropFirstSequence
    A sequence that lazily consumes and drops `n` elements from an underlying
  • St
    DropWhileSequence
    A sequence that lazily consumes and drops `n` elements from an underlying
  • St
    DurationiOS 16.0+
    A representation of high precision time.
  • St
    EmptyCollection
    A collection whose element type is `Element` but that is always empty.
  • St
    EnumeratedSequence
    An enumeration of the elements of a sequence or collection.
  • St
    FlattenSequence
    A sequence consisting of all the elements contained in each segment
  • St
    Float
    A single-precision (32-bit), floating-point value type.
  • St
    Float16iOS 14.0+
    A half-precision (16-bit), floating-point value type.
  • St
    Hasher
    The universal hash function used by `Set` and `Dictionary`.
  • St
    IndexingIterator
    A type that iterates over a collection using its indices.
  • St
    InlineArray
    A fixed-size array.
  • St
    Int
    A signed integer value type.
  • St
    Int128iOS 18.0+
    A 128-bit signed integer value type.
  • St
    Int16
    A 16-bit signed integer value
  • St
    Int32
    A 32-bit signed integer value
  • St
    Int64
    A 64-bit signed integer value
  • St
    Int8
    An 8-bit signed integer value
  • St
    IteratorSequence
    A sequence built around an iterator of type `Base`.
  • St
    JoinedSequence
    A sequence that presents the elements of a base sequence of sequences
  • St
    KeyValuePairs
    A lightweight collection of key-value pairs.
  • St
    LazyDropWhileSequence
    A sequence whose elements consist of the elements that follow the initial
  • St
    LazyFilterSequence
    A sequence whose elements consist of the elements of some base
  • St
    LazyMapSequence
    A `Sequence` whose elements consist of those in a `Base`
  • St
    LazyPrefixWhileSequence
    A sequence whose elements consist of the initial consecutive elements of
  • St
    LazySequence
    A sequence containing the same elements as a `Base` sequence, but
  • St
    ManagedBufferPointer
    Contains a buffer object, and provides access to an instance of
  • St
    MutableRawSpaniOS 12.2+
  • St
    MutableSpaniOS 12.2+
  • St
    ObjectIdentifier
    A unique identifier for a class instance, actor instance, or metatype.
  • St
    OpaquePointer
    A wrapper around an opaque C pointer.
  • St
    OutputRawSpaniOS 12.2+
  • St
    OutputSpaniOS 12.2+
  • St
    PartialRangeFrom
    A partial interval extending upward from a lower bound.
  • St
    PartialRangeThrough
    A partial interval up to, and including, an upper bound.
  • St
    PartialRangeUpTo
    A partial half-open interval up to, but not including, an upper bound.
  • St
    PrefixSequence
    A sequence that only consumes up to `n` elements from an underlying
  • St
    Range
    A half-open interval from a lower bound up to, but not including, an upper
  • St
    RawSpaniOS 12.2+
    `RawSpan` represents a contiguous region of memory
  • St
    Repeated
    A collection whose elements are all identical.
  • St
    ReversedCollection
    A collection that presents the elements of its base collection
  • St
    SIMD16
    A vector of 16 scalar values.
  • St
    SIMD2
    A vector of two scalar values.
  • St
    SIMD3
    A vector of three scalar values.
  • St
    SIMD32
    A vector of 32 scalar values.
  • St
    SIMD4
    A vector of four scalar values.
  • St
    SIMD64
    A vector of 64 scalar values.
  • St
    SIMD8
    A vector of eight scalar values.
  • St
    SIMDMask
  • St
    Set
    An unordered collection of unique elements.
  • St
    Slice
    A view into a subsequence of elements of another collection.
  • St
    SpaniOS 12.2+
    `Span<Element>` represents a contiguous region of memory
  • St
    StaticBigIntiOS 16.4+
    An immutable arbitrary-precision signed integer.
  • St
    StaticString
    A string type designed to represent text that is known at compile time.
  • St
    StrideThrough
    A sequence of values formed by striding over a closed interval.
  • St
    StrideThroughIterator
    An iterator for a `StrideThrough` instance.
  • St
    StrideTo
    A sequence of values formed by striding over a half-open interval.
  • St
    StrideToIterator
    An iterator for a `StrideTo` instance.
  • St
    String
    A Unicode string value that is a collection of characters.
  • St
    Substring
    A slice of a string.
  • St
    SystemRandomNumberGenerator
    The system's default source of random data.
  • St
    UInt
    An unsigned integer value type.
  • St
    UInt128iOS 18.0+
    A 128-bit unsigned integer value type.
  • St
    UInt16
    A 16-bit unsigned integer value
  • St
    UInt32
    A 32-bit unsigned integer value
  • St
    UInt64
    A 64-bit unsigned integer value
  • St
    UInt8
    An 8-bit unsigned integer value
  • St
    UTF8Span
    A borrowed view into contiguous memory that contains validly-encoded UTF-8
  • St
    UnfoldSequence
    A sequence whose elements are produced via repeated applications of a
  • St
    Unmanaged
    A type for propagating an unmanaged object reference.
  • St
    UnsafeBufferPointer
    A nonowning collection interface to a buffer of
  • St
    UnsafeMutableBufferPointer
    A nonowning collection interface to a buffer of mutable
  • St
    UnsafeMutablePointer
    A pointer for accessing and manipulating data of a
  • St
    UnsafeMutableRawBufferPointer
    A mutable nonowning collection interface to the bytes in a
  • St
    UnsafeMutableRawPointer
    A raw pointer for accessing and manipulating untyped data.
  • St
    UnsafePointer
    A pointer for accessing data of a specific type.
  • St
    UnsafeRawBufferPointer
    A nonowning collection interface to the bytes in a
  • St
    UnsafeRawPointer
    A raw pointer for accessing untyped data.
  • St
    Zip2Sequence
    A sequence of pairs built out of two underlying sequences.
  • St
    DiscardingTaskGroupiOS 17.0+
    A discarding group that contains dynamically created child tasks.
  • St
    ExecutorJobiOS 17.0+
    A unit of schedulable work.
  • St
    Job
    Deprecated equivalent of ``ExecutorJob``.
  • St
    JobPriorityiOS 17.0+
    The priority of this job.
  • St
    TaskiOS 13.0+
    A unit of asynchronous work.
  • St
    TaskGroupiOS 13.0+
    A group that contains dynamically created child tasks.
  • St
    ThrowingDiscardingTaskGroupiOS 17.0+
    A throwing discarding group that contains dynamically created child tasks.
  • St
    ThrowingTaskGroupiOS 13.0+
    A group that contains throwing, dynamically created child tasks.
  • St
    UnownedJobiOS 13.0+
    A unit of schedulable work.
  • St
    UnownedSerialExecutoriOS 13.0+
    An unowned reference to a serial executor (a `SerialExecutor`
  • St
    UnownedTaskExecutoriOS 18.0+
  • St
    UnsafeContinuationiOS 13.0+
    A mechanism to interface

Enumerations 10

  • En
    CommandLine
    Command-line arguments for the current process.
  • En
    FloatingPointClassification
    The IEEE 754 floating-point classes.
  • En
    FloatingPointSign
    The sign of a floating-point value.
  • En
    MemoryLayout
    The memory layout of a type, describing its size, stride, and alignment.
  • En
    Never
    A type that has no values and can't be constructed.
  • En
    Optional
    A type that represents either a wrapped value or the absence of a value.
  • En
    Result
    A value that represents either a success or a failure, including an
  • En
    UnboundedRange_
    A range expression that represents the entire range of a collection.
  • En
    Unicode
    A namespace for Unicode utilities.
  • En
    UnicodeDecodingResult
    The result of one Unicode decoding step.

Actors 1

  • Ac
    MainActoriOS 13.0+
    A singleton actor whose executor is equivalent to the main

Type Aliases 59

  • Ty
    AnyClass
    The protocol to which all class types implicitly conform.
  • Ty
    AnyObject
    The protocol to which all classes implicitly conform.
  • Ty
    BooleanLiteralType
    The default type for an otherwise-unconstrained Boolean literal.
  • Ty
    CBool
    The C '_Bool' and C++ 'bool' type.
  • Ty
    CChar
    The C 'char' type.
  • Ty
    CChar16
    The C++11 'char16_t' type, which has UTF-16 encoding.
  • Ty
    CChar32
    The C++11 'char32_t' type, which has UTF-32 encoding.
  • Ty
    CChar8
    The C++20 'char8_t' type, which has UTF-8 encoding.
  • Ty
    CDouble
    The C 'double' type.
  • Ty
    CFloat
    The C 'float' type.
  • Ty
    CFloat16
    The C '_Float16' type.
  • Ty
    CInt
  • Ty
    CLong
  • Ty
    CLongDouble
  • Ty
    CLongLong
    The C 'long long' type.
  • Ty
    CShort
    The C 'short' type.
Show 43 more
  • Ty
    CSignedChar
    The C 'signed char' type.
  • Ty
    CUnsignedChar
    The C 'unsigned char' type.
  • Ty
    CUnsignedInt
  • Ty
    CUnsignedLong
  • Ty
    CUnsignedLongLong
    The C 'unsigned long long' type.
  • Ty
    CUnsignedShort
    The C 'unsigned short' type.
  • Ty
    CWideChar
  • Ty
    Codable
    A type that can convert itself into and out of an external representation.
  • Ty
    ConcurrentValue
  • Ty
    CountableClosedRange
  • Ty
    CountablePartialRangeFrom
  • Ty
    CountableRange
  • Ty
    DictionaryIndex
  • Ty
    DictionaryIterator
  • Ty
    DictionaryLiteral
  • Ty
    EnumeratedIterator
  • Ty
    ExtendedGraphemeClusterType
    The default type for an otherwise-unconstrained Unicode extended
  • Ty
    FlattenCollection
  • Ty
    Float32
    A 32-bit floating point type.
  • Ty
    Float64
    A 64-bit floating point type.
  • Ty
    FloatLiteralType
    The default type for an otherwise-unconstrained floating-point literal.
  • Ty
    IntegerLiteralType
    The default type for an otherwise-unconstrained integer literal.
  • Ty
    LazyCollection
    A collection containing the same elements as a `Base` collection,
  • Ty
    LazyDropWhileCollection
    A lazy wrapper that includes the elements of an underlying
  • Ty
    LazyFilterCollection
    A lazy `Collection` wrapper that includes the elements of an
  • Ty
    LazyMapCollection
    A `Collection` whose elements consist of those in a `Base`
  • Ty
    LazyPrefixWhileCollection
    A lazy collection wrapper that includes the initial consecutive
  • Ty
    PlaygroundQuickLook
    The sum of types that can be used as a Quick Look representation.
  • Ty
    SetIndex
  • Ty
    SetIterator
  • Ty
    StringLiteralType
    The default type for an otherwise-unconstrained string literal.
  • Ty
    UTF16
  • Ty
    UTF32
  • Ty
    UTF8
  • Ty
    UnboundedRange
    The type of an unbounded range operator.
  • Ty
    UnfoldFirstSequence
    The return type of `sequence(first:next:)`.
  • Ty
    UnicodeScalar
  • Ty
    UnicodeScalarType
    The default type for an otherwise-unconstrained unicode scalar literal.
  • Ty
    UnsafeConcurrentValue
  • Ty
    Void
    The return type of functions that don't explicitly specify a return type,
  • Ty
    AnyActor
    Common marker protocol providing a shared "base" for both (local) `Actor`
  • Ty
    PartialAsyncTask
  • Ty
    UnsafeThrowingContinuation

Extends 6

FlattenCollectionLazyDropWhileCollectionLazyFilterCollectionLazyMapCollectionLazyPrefixWhileCollectionLazyCollection
← Foundation, System & Concurrency