Is there a way to use SF Symbols in macOS SwiftUI development?
SF Symbol are now available with macOS 11.
SF Symbols are available in iOS 13 and later, macOS 11 and later, watchOS 6 and later, and tvOS 13 and later.
Here is how you use it:
NSImage(systemSymbolName: "hammer", accessibilityDescription: nil)
If you want to support macOS 10.15 and below you have to use the SF Symbols Mac app and export the symbol as SVG and import it back to an asset file in your Xcode project. You can get the app from here.
SF Symbols are unavailable on macOS. From Apple's Human Interface Guidelines:
You can use SF Symbols in apps running in iOS 13 and later, watchOS 6 and later, and tvOS 13 and later.
SF Symbols is not supported on macOS (yet)
But you can download the SF Symbols App and export the symbols you need as stand-alone images.