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

# init(options:)

Initializes the receiver to use the given options.

## Declaration

```swift
init(options: NSPointerFunctions.Options = [])
```

## Parameters

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

## Return Value

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

## See Also

### Related Documentation

- [Collections Programming Topics](apple-archive/documentation/Cocoa/Conceptual/Collections.md)

### Creating and Initializing a New Pointer Array

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