---
title: "addObjects(from:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsmutablearray/addobjects(from:)"
---

# addObjects(from:)

Adds the objects contained in another given array to the end of the receiving array’s content.

## Declaration

```swift
func addObjects(from otherArray: [Any])
```

## Parameters

- `otherArray`: An array of objects to add to the end of the receiving array’s content.

## See Also

### Related Documentation

- [remove(_:)](foundation/nsmutablearray/remove(_:).md)
- [setArray(_:)](foundation/nsmutablearray/setarray(_:).md)

### Adding Objects

- [add(_:)](foundation/nsmutablearray/add(_:).md)
- [insert(_:at:)](foundation/nsmutablearray/insert(_:at:)-5dbx5.md)
- [insert(_:at:)](foundation/nsmutablearray/insert(_:at:)-73pln.md)
