Adds the elements of a sequence or collection to the end of this collection.
Mac Catalyst 13.0+Beta
The elements to append to the collection.
The collection being appended to allocates any additional necessary storage to hold the new elements.
The following example appends the elements of a Range<Int> instance to an array of integers:
Complexity: O(m), where m is the length of newElements.
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.