Skip to content

Instantly share code, notes, and snippets.

View ejbills's full-sized avatar

ejbills

View GitHub Profile
@ejbills
ejbills / main.swift
Last active February 24, 2025 20:47
Get the dock position, height and width in a MacOS Swift Cocoa app
import Cocoa
enum DockPosition {
case bottom
case left
case right
case unknown
}
class DockUtils {