Skip to content

Instantly share code, notes, and snippets.

@Micky1979
Micky1979 / StatusBarDetachablePopover.swift
Created March 5, 2018 20:18
Status bar Item detachable popover. Requires "let statusItem : NSStatusBarButton = ..." in AppDelegate
//
// PopoverWindowController.swift
//
// Created by Micky1979 on 26/07/17.
// Copyright © 2017 Micky1979. All rights reserved.
//
import Cocoa
class PopoverWindowController: NSWindowController, NSWindowDelegate {