Initial commit

This commit is contained in:
Alex E. Tafoya
2026-09-17 15:15:45 -05:00
commit 87fe7927c4
36 changed files with 5113 additions and 0 deletions
@@ -0,0 +1,20 @@
// PreferencesWindowController.swift
// GreenshotMac
import AppKit
import SwiftUI
@MainActor
final class PreferencesWindowController: NSWindowController {
convenience init() {
let hosting = NSHostingController(rootView: PreferencesView())
let window = NSWindow(contentViewController: hosting)
window.title = "GreenshotMac Preferences"
window.styleMask = [.titled, .closable]
window.setContentSize(NSSize(width: 552, height: 412))
window.center()
window.isReleasedWhenClosed = false
self.init(window: window)
}
}