func view(NSView) -> Self
Display a custom
NSView
instead of the title or attributed title.func view<Content>(showsHighlight : Bool, () -> Content) -> Self
Display a custom SwiftUI
View
instead of the title or attributed title.func image(NSImage) -> Self
Sets the image associated with this menu item.
func image(NSImage, for: NSControl.StateValue ) -> Self
Sets an on/off/mixed-state-specific image.