On Mojave multiple items cannot be added to the pasteboard becuase of this error. I have yet to find a solution to drag multiple items with a table view. Whats going on ?
2018-10-09 17:52:57.527405-0500 FooApp[2688:80237] [General] There are 2 items on the pasteboard, but 1 drag images. There must be 1 draggingItem per pasteboardItem.
2018-10-09 17:52:57.531824-0500 Opus One[2688:80237] [General] (
0 CoreFoundation 0x00007fff485c043d __exceptionPreprocess + 256
1 libobjc.A.dylib 0x00007fff744d1720 objc_exception_throw + 48
2 CoreFoundation 0x00007fff485c026f +[NSException raise:format:] + 201
3 AppKit 0x00007fff45de642b -[NSDraggingSession(NSInternal) _initWithPasteboard:image:offset:source:] + 247
4 AppKit 0x00007fff45de5e43 -[NSCoreDragManager dragImage:fromWindow:at:offset:event:pasteboard:source:slideBack:] + 1919
5 AppKit 0x00007fff45de56b5 -[NSWindow(NSDrag) dragImage:at:offset:event:pasteboard:source:slideBack:] + 134
6 AppKit 0x00007fff4629ca75 -[NSTableView _doImageDragUsingRowsWithIndexes:event:pasteboard:source:slideBack:startRow:] + 656
7 AppKit 0x00007fff4629cf09 -[NSTableView __doImageDragUsingRowsWithIndexes:event:pasteboard:source:slideBack:startRow:] + 276
8 AppKit 0x00007fff4629dc9e -[NSTableView _performClassicDragOfIndexes:hitRow:event:] + 466
9 AppKit 0x00007fff45e14dac -[NSTableView _performDragFromMouseDown:] + 474
10 AppKit 0x00007fff45e130b0 -[NSTableView mouseDown:] + 798
11 FooApp 0x00000001000f8829 -[NSTableView mouseDown:] + 233
12 AppKit 0x00007fff45c97797 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 5668
13 AppKit 0x00007fff45bcb7cf -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2319
14 AppKit 0x00007fff45bcac75 -[NSWindow(NSEventRouting) sendEvent:] + 481
15 AppKit 0x00007fff45a67f4c -[NSApplication(NSEvent) sendEvent:] + 336
16 AppKit 0x00007fff45a55795 -[NSApplication run] + 755
17 AppKit 0x00007fff45a44e97 NSApplicationMain + 780
18 FooApp 0x0000000100002452 main + 34
19 libdyld.dylib 0x00007fff7559f085 start + 1
20 ??? 0x0000000000000006 0x0 + 6
)