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

# tile()

Properly sizes the table view and its header view and marks it as needing display.

```
func tile()
```

## Discussion

Also resets cursor rectangles for the header view and line scroll amounts for the `NSScrollView` object.

For performance reasons, calling this method is generally not recommended. Instead, the table will call it automatically when necessary.

## See Also

[`needsDisplay`](/documentation/AppKit/NSView/needsDisplay)

A Boolean value that determines whether the view needs to be redrawn before being displayed.



---

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)