A method identified as deprecated has been superseded and may become unsupported in the future.
This method has been deprecated. You should implement tableView:writeRowsWithIndexes:toPasteboard:
instead. (Deprecated in Mac OS X v10.4 and later.)
- (BOOL)tableView:(NSTableView *)aTableView writeRows:(NSArray *)rows toPasteboard:(NSPasteboard *)pboard
Invoked by aTableView after it has been determined that a drag should begin, but before the drag has been started. To refuse the drag, return NO
. To start a drag, return YES
and place the drag data onto pboard (data, owner, and so on). The drag image and other drag-related information will be set up and provided by the table view once this call returns with YES
. rows is the list of row numbers that will be participating in the drag.
Implementation of this method is optional.
NSTableView.h
© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-04-10)