You can set a system image(SF Symbol) in UIKit with UIImage(systemName: "pencil")
. For macOS apps you can set a system image in storyboard. However, I couldn't find a way to set a system image for macOS programatically. So is this possible, or is system images limited to storyboard only in macOS Apps.
imageView.image = NSImage(named: "pencil") //result is no image