---
title: "insertEntry(_:at:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsform/insertentry(_:at:)"
---

# insertEntry(_:at:)

Inserts an entry with the specified title into the receiver.

## Declaration

```swift
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

Return Value The form cell object that was created for the entry.

## Discussion

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

## See Also

### Adding and Removing Entries

- [addEntry(_:)](appkit/nsform/addentry(_:).md)
- [removeEntry(at:)](appkit/nsform/removeentry(at:).md)
