<!--
{
  "availability" : [
    "macOS: 10.0.0 - 10.10.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSForm/insertEntry(_:at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSForm(im)insertEntry:atIndex:"
  },
  "title" : "insertEntry(_:at:)"
}
-->

# insertEntry(_:at:)

Inserts an entry with the specified title into the receiver.

```
func insertEntry(_ title: String, at index: Int) -> NSFormCell!
```

## Parameters

`title`

The title for the new form entry.

`index`

The zero-based index at which to insert the entry.

## Return Value

The form cell object that was created for the entry.

## Discussion

The new entry has no tag, target, or action, but is enabled and editable.

---

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)