<!--
{
  "availability" : [
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextTableBlock",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTextTableBlock"
  },
  "title" : "NSTextTableBlock"
}
-->

# NSTextTableBlock

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

```
class NSTextTableBlock
```

## Topics

### Creation

[`init(table:startingRow:rowSpan:startingColumn:columnSpan:)`](/documentation/AppKit/NSTextTableBlock/init(table:startingRow:rowSpan:startingColumn:columnSpan:))

Returns an initialized text table block.

### Getting the block’s enclosing table

[`table`](/documentation/AppKit/NSTextTableBlock/table)

Returns the table containing this text table block.

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

[`startingRow`](/documentation/AppKit/NSTextTableBlock/startingRow)

Returns the table row at which this text table block starts.

[`rowSpan`](/documentation/AppKit/NSTextTableBlock/rowSpan)

Returns the number of table rows spanned by this text table block.

[`startingColumn`](/documentation/AppKit/NSTextTableBlock/startingColumn)

Returns the table column at which this text table block starts.

[`columnSpan`](/documentation/AppKit/NSTextTableBlock/columnSpan)

Returns the number of table columns spanned by this text table block.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)