---
title: "init(pointerFunctions:)"
framework: foundation
role: symbol
role_heading: Initializer
path: "foundation/nspointerarray/init(pointerfunctions:)"
---

# init(pointerFunctions:)

Initializes the receiver to use the given functions.

## Declaration

```swift
init(pointerFunctions functions: NSPointerFunctions)
```

## Parameters

- `functions`: The pointer functions for the new instance.

## Return Value

Return Value The receiver, initialized to use the given functions.

## See Also

### Creating and Initializing a New Pointer Array

- [init(options:)](foundation/nspointerarray/init(options:).md)
- [strongObjects()](foundation/nspointerarray/strongobjects().md)
- [weakObjects()](foundation/nspointerarray/weakobjects().md)
