Type Alias

Unicode.Scalar.UTF16View.Index

A type that represents a position in the collection.

Declaration

typealias Index = Int

Discussion

Valid indices consist of the position of every element and a “past the end” position that’s not valid for use as a subscript argument.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software