>> in my application I have several NSTokenField - objects that are used to 
>> drag them into a text field to build up a string by some tokens.
>> However, since Catalina dragging of those NSTokenField - objects does not 
>> work anymore.
>> In Xcode I get the following message:
>> 
>> "<NSTokenAttachmentCell: 0x6000021fdd10>: There was an exception (There are 
>> 2 items on the pasteboard, but 1 drag images. There must be 1 draggingItem 
>> per pasteboardItem.) raised while processing drag. Ignoring…”
> 
> 
> The NSTokenField is used in the Mail application in the address field. Using 
> the Mail app in Catalina, drag a token from the address field to a TextEdit 
> document. Does that work?
> 
> I would try it but my primary development machine is macOS Sierra.
> 

This works pretty well. If writableTypesForPasteboard returns just nil, it 
would also work in my application but then I would miss my internal data.


—Michael Kloske

_______________________________________________

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

Reply via email to