Very simple: How to programatically create transparent NSImage
? Unless it is not so simple... Previous OSX versions gave NSImage
transparent background by default when calling
let image = NSImage(size: size)
but now it has black background. How do I create a transparent one? I want to lockFocus()
on atransparent image of given size it and and draw.