Declaration

func showWindow(completion: ((NSApplication.ModalResponse) -> Void)!)
func showWindow() async -> NSApplication.ModalResponse

Declaration

- (void) showWindowWithCompletion:(void (^)(NSModalResponse response)) completion;

Declaration

showWindowWithCompletion_(
    response: NSModalResponse,
    completion
)