NSMenuItem : acceptsFirstMouse(forEvent: NSEvent)

2019-09-24 Thread Mark Wade via Cocoa-dev
Hi All, I’m at a loss here. I’ve created a statusbar item, using Swift 5, whose first menu item is a textwithstepper NSDatePicker which I created by setting the menu item’s view. This all works fine when run from within XCode. Running the app directly still works, however I can’t select the f

kCAFilterTrilinear

2019-09-24 Thread Gabriel Zachmann via Cocoa-dev
I am trying out the scaling filter kCAFilterTrilinear on a CALayer. In the doc it says "Some renderers may ignore this, or impose additional restrictions, such as source images requiring power-of-two dimensions" Does anyone know what filter CALayer falls back to, when it ignores kCAFilterTrilin