🤷
Size: a a a
PT
1
PT
PT
АП
KV
KV
АП
А
АП
А
АП
AF
class WindowDelegate: NSObject, NSWindowDelegate {
func windowWillClose(_ notification: Notification) {
print("closing")
}
}
let window = NSWindow(...)
window.delegate = WindowDelegate()
IS
class WindowDelegate: NSObject, NSWindowDelegate {
func windowWillClose(_ notification: Notification) {
print("closing")
}
}
let window = NSWindow(...)
window.delegate = WindowDelegate()