---
title: "didAdd(_:forRow:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstableview/didadd(_:forrow:)"
---

# didAdd(_:forRow:)

Invoked when a row view is added to the table.

## Declaration

```swift
func didAdd(_ rowView: NSTableRowView, forRow row: Int)
```

## Parameters

- `rowView`: The row view.
- `row`: The row index.

## Discussion

Discussion The subclass can implement this method to be alerted when rowView has been added to the table. At this point, the subclass can choose to add in extra views, or modify any properties of rowView. Subclasses must be sure to call super. note: This method is only applicable to NSView-based table views.

## See Also

### Adding and Deleting Row Views

- [didRemove(_:forRow:)](appkit/nstableview/didremove(_:forrow:).md)
