<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.5.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSPointerArray/init(options:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSPointerArray(im)initWithOptions:"
  },
  "title" : "init(options:)"
}
-->

# init(options:)

Initializes the receiver to use the given options.

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

## Parameters

`options`

The pointer functions options for the new instance.

## Return Value

The receiver, initialized to use the given options.

## See Also

[`+  pointerArrayWithOptions:`](/documentation/Foundation/NSPointerArray/pointerArrayWithOptions:)

Returns a new pointer array initialized to use the given options.

[`+  pointerArrayWithPointerFunctions:`](/documentation/Foundation/NSPointerArray/pointerArrayWithPointerFunctions:)

A new pointer array initialized to use the given functions.

  [Collections Programming Topics](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Collections/Collections.html#//apple_ref/doc/uid/10000034i)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)