Contents

outlineView(_:objectValueFor:byItem:)

Invoked by outlineView to return the data object associated with the specified item.

Declaration

@MainActor optional func outlineView(_ outlineView: NSOutlineView, objectValueFor tableColumn: NSTableColumn?, byItem item: Any?) -> Any?

Parameters

  • outlineView:

    The outline view that sent the message.

  • tableColumn:

    A column in outlineView.

  • item:

    An item in the data source in the specified tableColumn of the view.

Discussion

The item is located in the specified tableColumn of the view.

See Also

Instance Methods