In the Interfacebuilder, NSImagebutton offers a wide range of system images to pick (see screenshot). I fail to change these images at runtime under MacOS. Under iOS there is UIImage with UIImage(systemName: "imageName")
but MacOS seems to offer nothing comparable?
It's quite similar in macOS for example
button.image = NSImage(named: NSImage.touchBarQuickLookTemplateName)