NSView makeBackingLayer with CALayer subclass displays no output
问题 This is a continuation of my question stop-nsview-drawrect-clearing-before-drawing-lockfocus-no-longer-working-on-mojave. I used the pattern lockFocus-graphics context-flushWindow pattern to draw into another view. That no longer works on macOS 10.14, as the backing store of views has changed (for new binaries). NSView has a method makeBackingLayer that is not there for nothing, I guess. The code snippet below has makeBackingLayer called, and I can have it use my CALayer subclass