Category "appkit"

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