---
title: NSTextTableBlock
framework: appkit
role: symbol
role_heading: Class
path: appkit/nstexttableblock
---

# NSTextTableBlock

A text block that appears as a cell in a text table.

## Declaration

```swift
class NSTextTableBlock
```

## Topics

### Creation

- [init(table:startingRow:rowSpan:startingColumn:columnSpan:)](appkit/nstexttableblock/init(table:startingrow:rowspan:startingcolumn:columnspan:).md)

### Getting the block’s enclosing table

- [table](appkit/nstexttableblock/table.md)

### Getting information about the block’s position in its enclosing table

- [startingRow](appkit/nstexttableblock/startingrow.md)
- [rowSpan](appkit/nstexttableblock/rowspan.md)
- [startingColumn](appkit/nstexttableblock/startingcolumn.md)
- [columnSpan](appkit/nstexttableblock/columnspan.md)

### Initializers

- [init(coder:)](appkit/nstexttableblock/init(coder:).md)

## Relationships

### Inherits From

- [NSTextBlock](appkit/nstextblock.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Formatting and attributes

- [NSParagraphStyle](appkit/nsparagraphstyle.md)
- [NSMutableParagraphStyle](appkit/nsmutableparagraphstyle.md)
- [NSTextTab](appkit/nstexttab.md)
- [NSTextList](appkit/nstextlist.md)
- [NSTextTable](appkit/nstexttable.md)
- [NSTextBlock](appkit/nstextblock.md)
