Re: Drag and Drop of NSTokenField stopped working in Catalina

2020-07-01 Thread Michael Kloske via Cocoa-dev
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]; }

Re: Drag and Drop of NSTokenField stopped working in Catalina

2020-06-30 Thread James Walker via Cocoa-dev
On 6/30/20 3:32 AM, Michael Kloske via Cocoa-dev wrote: In my window controller, which implements I have the following code: - (BOOL)tokenField:(NSTokenField *)tokenField writeRepresentedObjects:(NSArray *)objects toPasteboard:(NSPasteboard *)pboard { return [pboard writeObjects:ob

Re: Drag and Drop of NSTokenField stopped working in Catalina

2020-06-30 Thread Michael Kloske via Cocoa-dev
>> 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: >> >> ": There wa

Re: Drag and Drop of NSTokenField stopped working in Catalina

2020-06-30 Thread Richard Charles via Cocoa-dev
> On Jun 30, 2020, at 4:32 AM, Michael Kloske via Cocoa-dev wrote: > > Hello, > > 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 n

Drag and Drop of NSTokenField stopped working in Catalina

2020-06-30 Thread Michael Kloske via Cocoa-dev
Hello, 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: ": There was an exceptio