---
title: "textShouldBeginEditing:"
framework: AppKit
role: symbol
role_heading: Instance Method
platforms: [macOS 10.0+]
path: "appkit/nstableview/textshouldbeginediting:"
---

# textShouldBeginEditing:

Queries the delegate to determine if the text should begin editing.

## Declaration

```occ
- (BOOL) textShouldBeginEditing:(NSText *) textObject;
```

## Parameters

- `textObject`: The text object

## Return Value

Return Value true if editing of the text should begin, otherwise false. Returns true if the delegate does not implement control(_:textShouldBeginEditing:).

## Discussion

Discussion See the NSText class specification for more information on this text delegate method.

## See Also

### Deprecated methods

- [dragImageForRows:event:dragImageOffset:](appkit/nstableview/dragimageforrows:event:dragimageoffset:.md)
- [setAutoresizesAllColumnsToFit:](appkit/nstableview/setautoresizesallcolumnstofit:.md)
- [autoresizesAllColumnsToFit](appkit/nstableview/autoresizesallcolumnstofit.md)
- [selectColumn:byExtendingSelection:](appkit/nstableview/selectcolumn:byextendingselection:.md)
- [selectRow:byExtendingSelection:](appkit/nstableview/selectrow:byextendingselection:.md)
- [setDrawsGrid:](appkit/nstableview/setdrawsgrid:.md)
- [drawsGrid](appkit/nstableview/drawsgrid.md)
- [selectedColumnEnumerator](appkit/nstableview/selectedcolumnenumerator.md)
- [selectedRowEnumerator](appkit/nstableview/selectedrowenumerator.md)
- [focusedColumn()](appkit/nstableview/focusedcolumn().md)
- [setFocusedColumn(_:)](appkit/nstableview/setfocusedcolumn(_:).md)
- [shouldFocusCell(_:atColumn:row:)](appkit/nstableview/shouldfocuscell(_:atcolumn:row:).md)
- [performClickOnCell(atColumn:row:)](appkit/nstableview/performclickoncell(atcolumn:row:).md)
- [preparedCell(atColumn:row:)](appkit/nstableview/preparedcell(atcolumn:row:).md)
- [columnsInRect:](appkit/nstableview/columnsinrect:.md)
