Category "appkit"

how can I handle the character palette hotkey in an LSUIElement application

I've implemented something like Cocoa Keyboard Shortcuts in Dialog without an Edit Menu for an LSUIElement application. In fact, to try to make sure I was not

Creating a PDF from WKWebView in macOS 11.+

As WKWebView contents can finally be printed out in macOS 11+, I'm trying to replace old WebView dependencies. However, with the HTML correctly loaded in WKWebV

Baseline alignment of buttons in SwiftUI on macOS

I’m trying to vertically align a Text and a regular Button along their baselines in SwiftUI on macOS. I basically want to replicate this layout from the W

Select file or directory in SwiftUI in an AppKit App [duplicate]

How can I display a file dialogue in SwiftUI to choose a directory or file. I think using a NSViewRepresentable to wrap a NSOpenPanel will not