---
title: "addingObjects(from:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsarray/addingobjects(from:)"
---

# addingObjects(from:)

Returns a new array that is a copy of the receiving array with the objects contained in another array added to the end.

## Declaration

```swift
func addingObjects(from otherArray: [Any]) -> [Any]
```

## Parameters

- `otherArray`: An array.

## Return Value

Return Value A new array that is a copy of the receiving array with the objects contained in otherArray added to the end.

## See Also

### Related Documentation

- [addObjects(from:)](foundation/nsmutablearray/addobjects(from:).md)

### Deriving New Arrays

- [adding(_:)](foundation/nsarray/adding(_:).md)
- [filtered(using:)](foundation/nsarray/filtered(using:).md)
- [subarray(with:)](foundation/nsarray/subarray(with:).md)
