<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/specifying-a-custom-row-view-in-a-nib-file",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Specifying a Custom Row View in a Nib File"
}
-->

# Specifying a Custom Row View in a Nib File

View-based table view instances use `NSTableViewRowKey` to identify the nib file containing the template row view. You can specify a custom row view (without any code) by associating this key with the appropriate nib name in Interface Builder.

## Discussion

This constant is only applicable to [`NSView`](/documentation/AppKit/NSView)-based table views.

## Topics

### Constants

[`class let rowViewIdentifier: NSUserInterfaceItemIdentifier`](/documentation/AppKit/NSTableView/rowViewIdentifier)

The key associated with the identifier in the nib file containing the template row view.



---

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)