Enumeration

NSTableViewDraggingDestinationFeedbackStyle

These constants specify the drag styles displayed by the table view. They’re used by draggingDestinationFeedbackStyle.

Declaration

typedef enum NSTableViewDraggingDestinationFeedbackStyle : NSInteger {
    ...
} NSTableViewDraggingDestinationFeedbackStyle;

Topics

Constants

NSTableViewDraggingDestinationFeedbackStyleNone

Provides no feedback when the user drags over the table view. This option exists to allow subclasses to implement their dragging destination highlighting, or to make it not show anything all.

NSTableViewDraggingDestinationFeedbackStyleRegular

Draws a solid round-rect background on drop target rows, and an insertion marker between rows. This style should be used in most cases.

NSTableViewDraggingDestinationFeedbackStyleSourceList

Draws an outline on drop target rows, and an insertion marker between rows. This style will automatically be set for source lists when the table’s unhideRowsAtIndexes:withAnimation: is set to NSTableViewDraggingDestinationFeedbackStyleSourceList. This is the standard look for Source Lists, but may be used in other areas as needed.

NSTableViewDraggingDestinationFeedbackStyleGap

Provides a gap insertion when dragging over the table. Note that this style is only officially supported for NSView-based table views, but may partially work in Cell Based TableViews. The decision to use the gap style (compared to another style) can be made in tableView:draggingSession:willBeginAtPoint:forRowIndexes:, or it can dynamically be changed.