Adds the elements of a sequence or collection to the end of this collection.
- iOS 7.0+
- macOS 10.9+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 10.2+
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