Generic Instance Method

append(contentsOf:)

Appends the Unicode scalar values in the given sequence to the view.

Declaration

mutating func append<S>(contentsOf newElements: S) where S : Sequence, S.Element == Unicode.Scalar

Parameters

newElements

A sequence of Unicode scalar values.

Discussion

Complexity: O(n), where n is the length of the resulting view.

Relationships