Asks the delegate for a view to display the specified row and column.
- macOS 10.7+
The table view that sent the message.
The table column. (If the row is a group row,
The row index.
The view to display the specified column and row. If you return
nil, a view will not be shown at that location.
It’s recommended that the implementation of this method first call the
make passing, respectively, the
table parameter’s identifier and
self as the owner to attempt to reuse a view that is no longer visible or automatically unarchive an associated prototype view for that identifier. The
frame of the view returned by this method is not important, and it will be automatically set by the table.
The view's properties should be properly set up before returning the result.
When using Cocoa bindings, this method is optional if at least one identifier has been associated with the table view at design time. (Note that a view’s identifier must be the same as the identifier of its column. An easy way to achieve this is to use the Automatic identifier setting in Interface Builder.) If this method isn’t implemented, the table will automatically call the
make with the
table parameter’s identifier and the table view’s
delegate as parameters, to attempt to reuse a previous view, or automatically unarchive a prototype associated with the table view. If this method is implemented, you can set up properties that aren’t using bindings.
The autoresizing mask of the returned view will automatically be set to
height to resize properly on row height changes.