What is the alternative, then? If single image drags will not work because of this, is there a means to impersonate another method?
Oh, and greets from the coast of Africa. Cheers, Alex Zavatone Sent from my iPhone > On Apr 20, 2019, at 10:17 AM, Rob Petrovec <petr...@mac.com> wrote: > > Because dragImage is the old (and likely soon to be deprecated), single image > style drag setup and the pasteboardWriter version is the modern multi-image > drag set up. Ever notice how when you drag a file around in the Finder the > drag image will morph as the drag moves between windows with different view > styles etc? Or how the drag images change positions relative to the mouse as > you drag multiple files around. That is the multi-image drag setup. Single > image drags can’t do that. > > —Rob > > >> On Apr 20, 2019, at 12:14 AM, Arved von Brasch <co...@atgo.org> wrote: >> >> Hello list, >> >> Anyone know if it is intentionally the case that NSTableView doesn’t call >> >> dragImageForRows(with dragRows: IndexSet, tableColumns: [NSTableColumn], >> event dragEvent: NSEvent, offset dragImageOffset: NSPointPointer) -> NSImage >> >> if you implement >> >> func tableView(NSTableView, pasteboardWriterForRow: Int) -> >> NSPasteboardWriting? >> >> instead of >> >> func tableView(NSTableView, writeRowsWith: IndexSet, to: NSPasteboard) -> >> Bool >> >> I can’t see a reason for it not to in the documentation, but it doesn’t in >> my code. >> >> Kind regards, >> Arved >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> Please do not post admin requests or moderator comments to the list. >> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >> >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/cocoa-dev/petrock%40mac.com >> >> This email sent to petr...@mac.com > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com > > This email sent to z...@mac.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com