---
title: "setEntryType:"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nscell/setentrytype:"
---

# setEntryType:

Sets how numeric data is formatted in the receiver and places restrictions on acceptable input.

## Declaration

```occ
- (void) setEntryType:(NSInteger) type;
```

## Parameters

- `type`: One of the types listed for this method in doc://com.apple.appkit/documentation/AppKit/data-entry-types.

## See Also

### Deprecated Methods

- [entryType](appkit/nscell/entrytype.md)
- [isEntryAcceptable:](appkit/nscell/isentryacceptable:.md)
- [setFloatingPointFormat:left:right:](appkit/nscell/setfloatingpointformat:left:right:.md)
- [setTitleWithMnemonic:](appkit/nscell/settitlewithmnemonic:.md)
- [mnemonic](appkit/nscell/mnemonic.md)
- [setMnemonicLocation:](appkit/nscell/setmnemoniclocation:.md)
- [mnemonicLocation](appkit/nscell/mnemoniclocation.md)
