Type Alias

Unicode.Scalar.UTF16View.SubSequence

A sequence that represents a contiguous subrange of the collection’s elements.

Declaration

typealias SubSequence = Slice<Unicode.Scalar.UTF16View>

Discussion

This associated type appears as a requirement in the Sequence protocol, but it is restated here with stricter constraints. In a collection, the subsequence should also conform to Collection.

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