IndexDistance

    A type that represents the number of steps between two String.Index values, where one value is reachable from the other.

    This declaration is deprecated: All index distances are now of type Int

    typealias IndexDistance = Int

    In Swift, reachability refers to the ability to produce one value from the other through zero or more applications of index(after:).

    Other members in extension

    Types

    Typealiases

    Show obsolete interfaces (1)

    Hide obsolete interfaces

    Type members

    Show obsolete interfaces (17)

    Hide obsolete interfaces

    Instance members

    Show obsolete interfaces (3)

    Hide obsolete interfaces