---
title: "addEntry(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsform/addentry(_:)"
---

# addEntry(_:)

Adds a new entry to the end of the receiver and gives it the specified title.

## Declaration

```swift
func addEntry(_ title: String) -> NSFormCell
```

## Parameters

- `title`: The title for the new form 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

### Related Documentation

- [action](appkit/nsactioncell/action.md)
- [target](appkit/nsactioncell/target.md)
- [isEnabled](appkit/nscell/isenabled.md)
- [isEditable](appkit/nscell/iseditable.md)
- [tag](appkit/nsactioncell/tag.md)
- [Form Programming Topics](apple-archive/documentation/Cocoa/Conceptual/Form.md)

### Adding and Removing Entries

- [insertEntry(_:at:)](appkit/nsform/insertentry(_:at:).md)
- [removeEntry(at:)](appkit/nsform/removeentry(at:).md)
