NSImage

extension NSImage
  • Returns the app icon (using NSImage.applicationIconName) from the asset in the main bundle’s asset catalog, if it exists.

    Declaration

    Swift

    public static var appIcon: NSImage? { get }