Correct icon height in status bar?

2020-07-05 Thread Gabriel Zachmann via Cocoa-dev
I've got a status bar menu item, that has a bitmap image for an icon. I am creating the icon like this: statusBarItem_ = statusBar.statusItem( withLength: NSStatusItem.squareLength ) let itemImage = NSImage(named: "schinkel_icon") itemImage?.isTemplate = false sta

Re: UndoManager setActionNames

2020-07-05 Thread Jean-Daniel via Cocoa-dev
> Le 5 juil. 2020 à 09:07, Arved von Brasch via Cocoa-dev > a écrit : > > Hi list, > > Where’s the best place to intercept undo/redo actions to edit the action name > (’setActionName()’) for the UndoManager in a CoreData application? In > particular, when a particular entity’s attribute's c

UndoManager setActionNames

2020-07-05 Thread Arved von Brasch via Cocoa-dev
Hi list, Where’s the best place to intercept undo/redo actions to edit the action name (’setActionName()’) for the UndoManager in a CoreData application? In particular, when a particular entity’s attribute's change. Obviously, I want to do this so that when the user edits something, the menu na