On 6/30/20 3:32 AM, Michael Kloske via Cocoa-dev wrote:
In my window controller, which implements <NSTokenFieldDelegate> I have the
following code:
- (BOOL)tokenField:(NSTokenField *)tokenField
writeRepresentedObjects:(NSArray *)objects
toPasteboard:(NSPasteboard *)pboard
{
return [pboard writeObjects:objects];
}
My code (working in Catalina) is
- (BOOL)tokenField:(NSTokenField *)tokenField
writeRepresentedObjects:(NSArray *)objects
toPasteboard:(NSPasteboard *)pboard
{
[pboard clearContents];
return [pboard writeObjects:objects];
}
_______________________________________________
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