Re: Drag and Drop of NSTokenField stopped working in Catalina
Re: Drag and Drop of NSTokenField stopped working in Catalina
- Subject: Re: Drag and Drop of NSTokenField stopped working in Catalina
- From: Michael Kloske via Cocoa-dev <email@hidden>
- Date: Wed, 1 Jul 2020 11:39:09 +0200
On 06/30/20 18:46, James Walker via Cocoa-dev wrote:
My code (working in Catalina) is
- (BOOL)tokenField:(NSTokenField *)tokenField
writeRepresentedObjects:(NSArray *)objects
toPasteboard:(NSPasteboard *)pboard
{
[pboard clearContents];
return [pboard writeObjects:objects];
}
This works for me. Thanks a lot.
Best regards, Michael Kloske
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden