---
title: "appending(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/indexpath/appending(_:)-174v0"
---

# appending(_:)

Returns a new index path containing the elements of this one plus an array of additional elements.

## Declaration

```swift
func appending(_ other: Array<IndexPath.Element>) -> IndexPath
```

## See Also

### Selecting Nodes

- [append(_:)](foundation/indexpath/append(_:)-6dxrh.md)
- [append(_:)](foundation/indexpath/append(_:)-6vsd5.md)
- [append(_:)](foundation/indexpath/append(_:)-7qv6f.md)
- [appending(_:)](foundation/indexpath/appending(_:)-93eco.md)
- [appending(_:)](foundation/indexpath/appending(_:)-53tcl.md)
- [compare(_:)](foundation/indexpath/compare(_:).md)
- [dropLast()](foundation/indexpath/droplast().md)
- [index(after:)](foundation/indexpath/index(after:).md)
- [index(before:)](foundation/indexpath/index(before:).md)
- [makeIterator()](foundation/indexpath/makeiterator().md)
